1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-28 13:58:05 +11:00
collapseos/emul/hw/ti
Virgil Dupras cc8068f8ab emul: don't hardcode X11 keycodes in key handling routines
I thought it wasn't possible with XCB to transform keycodes into
symbols for the current keyboard mapping, but I hadn't looked
hard enough.
2020-10-23 21:33:56 -04: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 Fix makefile build-from-clean-repo glitches 2020-06-30 10:24:12 -04:00
README.md emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
t6a04.c ti84: first glyph on screen! 2020-05-08 09:07:44 -04:00
t6a04.h emul/hw: add TI-84+ emulator 2020-01-01 22:48:01 -05:00
ti84.c emul: don't hardcode X11 keycodes in key handling routines 2020-10-23 21:33:56 -04: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.