Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
CE emulator: MemChk leaves DE alone
Mason3633710d8bfe8fa
diff --git a/tools/ce_emu/os.c b/tools/ce_emu/os.cindex ecf9a9f7..75ab66c5 100644--- a/tools/ce_emu/os.c+++ b/tools/ce_emu/os.c@@ -776,7 +776,7 @@ bool os_trap(uint32_t pc) {wr8(OP1, 0), wr8(OP1 + 1, 0x72);for (int i = 2; i < 9; i++) wr8(OP1 + i, 0);return true;- case 0x204FC: R.HL = ram_free(), R.DE = rd24(FPS); return true; /* MemChk */+ case 0x204FC: R.HL = ram_free(); return true; /* MemChk (DE as it was: the loader of big programs keeps its size there) */case 0x2051C: /* EnoughMem: carry if HL bytes aren't free */R.DE = R.HL;flag(F_C, !chk_mem(R.HL & 0xFFFFFF));