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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user