Нет описания

Cathy Nguyen 1fab4dd0f0 Added a basic menu 3 лет назад
compiled b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
icons 4d1c54d1af Initial commit as standalone repo 3 лет назад
tamalib b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
README.md c51cd95b01 Update README.md 3 лет назад
application.fam b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
hal.c b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
hal_types.h b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
tama.gif e732f088a6 Updated Readme 3 лет назад
tama.h b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
tamaIcon.png b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
tama_p1.c 1fab4dd0f0 Added a basic menu 3 лет назад

README.md

work in progress (check to-do list at the bootom of this readme.md)

Tama P1 Emulator for Flipper Zero

This is a tama P1 Emulator app for Flipper Zero, based on TamaLIB.

Alt Text

How to play

Create a tama_p1 folder in your microSD card, and put the ROM as rom.bin. Use a search engine to find the Tamagotchi ROM. There is a file named tama.b. Rename this to rom.bin.

Controls in portrait mode are the same as landscape mode, but turned 90 degrees.

  • Left button is A.
  • Down or OK is B.
  • Right button is C.
  • Up button takes you to the emulator menu.
  • Hold the Back button to save and exit.

Building

Move this folder into flippers applications_user/TAMA-P1.

Launching the app, directly from console to flipper:

./fbt launch_app APPSRC=applications_user/TAMA-P1

Run the following to compile icons:

scripts/assets.py icons applications/tama_p1/icons applications/tama_p1/compiled

Note: you may also need to add -Wno-unused-parameter to CCFLAGS in site_cons/cc.scons to suppress unused parameter errors in TamaLIB.

Debugging

Using the serial script from FlipperScripts it is easy to add direct logging after running the application:

`python .\serial_logger.py`

`./fbt launch_app APPSRC=applications\plugins\tama_p1;  python .\serial_logger.py`

To-Do

  • Menu options:
    • Switch between portrait and landscape
    • A+C shortcut (mute/change in-game time)
    • Double speed / fast-forward
    • display/hide runtime (reason: changing the in-game clock and aging up the Tamagotchi does not affect when it evolves.)