1
0
mirror of https://github.com/UzixLS/pacemuzx.git synced 2025-07-18 23:01:36 +03:00

Added key press to delay emulation start

As a temporary work-around for SpectraNet not working, you can now hold a key on the keyboard to delay the emulation starting.  With your other free hand you can change the jumper to disable traps!
This commit is contained in:
Simon Owen
2011-11-10 00:12:27 +00:00
parent 13df136b54
commit 4f0e4b17ea

View File

@ -234,6 +234,12 @@ clear_io: ld (hl),a ; zero fill it
ld a,(dip_5080)
ld (&5080),a
wait_no_key: xor a
in a,(keyboard)
cpl
and %00011111 ; check for any key
jr nz,wait_no_key ; loop until all released, as temporary SpectraNet work-around
ld sp,&4c00 ; stack in spare RAM
jp 0 ; start the ROM! (and page in DivIDE, if present)