diff --git a/src/hw.mockingboard.a b/src/hw.mockingboard.a index b56477015..2c512abba 100644 --- a/src/hw.mockingboard.a +++ b/src/hw.mockingboard.a @@ -27,7 +27,7 @@ ; A/Y clobbered ;------------------------------------------------------------------------------ -MAGIC_Z80_LOCATION=$FFC +MAGIC_Z80_LOCATION=$FFD GetMockingboardStuff +ST16 @callback+1 @@ -36,10 +36,11 @@ GetMockingboardStuff ; https://github.com/a2-4am/4cade/issues/483 ; the Mockingboard init can accidentally enable the Softcard Z80 ; and can crash the machine - ; solved by loading a small Z80 routine at $0FFC (FFFCh in the Z80 space): - ; $32 $00 $E4 $C3 FC FF which is + ; solved by loading a small Z80 routine at $0FFD (FFFDh in the Z80 space): + ; $32 $00 $E4 $C3 FD FF which is + ; NOP ; LD (E400h),A ; card is at $E400 due to memory translation - ; JP FFFCh + ; JP FFFDh ; returns the system to 6502 mode and leaves it in the same state as the Z80 after RESET: ; ready to execute the instruction at 0000h (from the Z80 perspective) ldx #5