44CON 2013 Workshop - Even More Tamagotchis Were Harmed in the Making of this Presentation - Natalie Silvanovich

  • 483 views
Uploaded on

You might remember Tamagotchi virtual pets from the 1990’s. These toys are still around and just as demanding as ever! This talk covers my latest efforts at hacking Tamagotchis. First, I will detail …

You might remember Tamagotchi virtual pets from the 1990’s. These toys are still around and just as demanding as ever! This talk covers my latest efforts at hacking Tamagotchis. First, I will detail methods for executing code on and dumping code from a Tamagotchi, and then delve into the deep secrets of Tamagotchi life that only code can tell. Finally, I will describe the internals of the Tamagotchi’s GeneralPlus microcontroller and demonstrate some projects that can be built using a modified Tamagotchi.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
483
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. While you wait… • Download and install Python 2.7 • Download the Tamagotchi tools • https://github.com/natashenka/Egg-Shell • Put batteries into your Tamagotchi • There’s a few screwdrivers floating around • Hatch your Tamagotchi A B C • Press ‘B’ to get started • Connect the Egg Shell board to your laptop via USB, and figure out what serial port it’s on
  • 2. Hacking Tamagotchis for Fun and… … Well, That’s Pretty Much It Natalie Silvanovich @natashenka
  • 3. Your Tamagotchi • Press ‘B’ button and enter details to start hatching • Once hatched, press ‘A’ to navigate, ‘B’ to select and ‘C’ to cancel • The top right icon is the figure icon (only appears when figure attached) • Most tools use figures • Press A + C to turn off sound • Feed it quickly before it dies!!! A B C
  • 4. Egg Shell Board • Supports figure programming over SPI and • Unpopulated IR • Detected as a serial port over USB Placeholder for board photo
  • 5. Programming a Figure • Use serw.py to program figure serw.py serialport infile • Loads figure image file onto figure • Image files must be 0x80000 bytes long • Board must be reset using button between each load WARNING: program only the figure that came in separate packaging. Do NOT program the one that came with the Tamagotchi!! Tamagotchis (and boards) WILL DIE!!!!!!!!!!!
  • 6. Testing the Board • Load Egg-Shell/test/itworks • Attach figure
  • 7. Creating Your Own Picture • Find a 48 x 31 picture • Or use one from /samples • Save it as a 16-bit bitmap using four tones • Note that images are three-tone. Dark grey, grey and white show up as expected. Black is transparent. • Run portrait.py <your image> <outfile> • Load image • Attach figure
  • 8. Creating a Tamagotchi Music Video • Create a script for your ‘video’ • See /itemmake/samplescript • Add images and sound • Run itemmake.py <script> <outfile> • Load image • Buy item • There’s entropy involved! • Use item
  • 9. Writing Assembly • Write 6502 assembly • See /6502/samples • 0x100 – 0x200 is usable RAM • The stack is great too • Check README for convenience functions • Run tASMgotchi.py <infile> <outfile> • Load image onto figure • Play “Sound Block” in the figure games
  • 10. Have fun!!
  • 11. Questions? natashenka@kwartzlab.ca @natashenka Don’t forget to show me all the cool stuff you made!