I would just like to point out that with TI being cool and updating OSes, OnBlock for the CE no longer works if you use any sort of getkey routine. Sorry about that
For those that care; here are the OS comparisons:
Original:
Code: _0637DB:
0637DB: 3A0000D0 ld a, (ramStart)
0637DF: B7 or a, a
0637E0: 287E jr z, code_063860
0637E2: FECC cp a, $CC
0637E4: 207A jr nz, code_063860
0637E6: CD904302 call code_024390
0637EA: CDF40500 call _CheckEmulationBit
Updated OS:
Code: code_0656B2:
0656B2:3A0000D0 ld a, (ramStart)
0656B6:B7 or a, a
0656B7:CAB95706 jp z, code_0657B9
0656BB:FECC cp a, $CC
0656BD:C2B95706 jp nz, code_0657B9
0656C1:C5 push bc
0656C2:01045000 ld bc, port_5004
0656C6:ED78 in a, (bc)
0656C8:CB47 bit 0, a
0656CA:200F jr nz, code_0656DB
0656CC:CBC7 set 0, a
0656CE:ED79 out (bc), a
0656D0:78 ld a, b
0656D1:FE50 cp a, $50
0656D3:2801 jr z, code_0656D6
code_0656D5:
0656D5:CF rst code_000008
code_0656D6:
0656D6:79 ld a, c
0656D7:FE04 cp a, $4
0656D9:20FA jr nz, code_0656D5
code_0656DB:
0656DB:C1 pop bc
0656DC:CDF64302 call code_0243F6
0656E0:CDF40500 call _CheckEmulationBit