1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 03:30:55 +11:00
collapseos/emul/hw/ti
Virgil Dupras b60252e330 emul/hw/(ti|sms): detect window being closed
Previously, it would never get out of the event loop.
2020-01-10 16:59:48 -05:00
..
.gitignore emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
kbd.c emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
kbd.h emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
Makefile emul/hw/(ti|sms): fix compilation with gcc 2020-01-09 08:36:29 -05:00
README.md emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
t6a04.c emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
t6a04.h emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
ti84.c emul/hw/(ti|sms): detect window being closed 2020-01-10 16:59:48 -05:00

TI-84+ emulator

This emulates a TI-84+ with its screen and keyboard. This is suitable for running the ti84 recipe.

Build

You need xcb and pkg-config to build this. If you have them, run make. You'll get a ti84 executable.

Usage

Launch the emulator with ./ti84 /path/to/rom (you can use the binary from the ti84 recipe. Use the small one, not the one having been filled to 1MB).

This will show a window with the LCD screen's content on it. Most applications, upon boot, halt after initialization and stay halted until the ON key is pressed. The ON key is mapped to the tilde (~) key.

Press ESC to quit.

As for the rest of the mappings, they map at the key level. For example, the 'Y' key maps to '1' (which yields 'y' when in alpha mode). Therefore, '1' and 'Y' map to the same calculator key. Backspace maps to DEL.

Left Shift maps to 2nd. Left Ctrl maps to Alpha.