fix Warp Destroyer hang on IIGS

This commit is contained in:
Peter Ferrie 2021-02-12 13:32:55 -08:00
parent 5b6a09c3b7
commit 9ff3ebce40

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019 by qkumba ;(c) 2019, 2021 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH/WARP.DESTROYER",plain !to "build/PRELAUNCH/WARP.DESTROYER",plain
@ -15,10 +15,14 @@
stx $6692 stx $6692
dex dex
stx $669C stx $669C
lda #$B0
sta $76D1
lda #$13
sta $76D2 ; disable unknown hardware support
; otherwise hangs on IIGS
+DISABLE_ACCEL +DISABLE_ACCEL
lda #0 lda #0
jmp $896 jmp $896
!if * > $1C0 { !if * > $1C0 {
!error "code is too large, ends at ", * !error "code is too large, ends at ", *
} }