mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-05 03:06:35 +00:00
fix Microwave on IIc+
This commit is contained in:
parent
8fe02f92fc
commit
ae4cbb07c7
@ -5,6 +5,25 @@
|
|||||||
!to "build/PRELAUNCH/MICROWAVE",plain
|
!to "build/PRELAUNCH/MICROWAVE",plain
|
||||||
*=$106
|
*=$106
|
||||||
|
|
||||||
|
jmp ++
|
||||||
|
|
||||||
|
callback
|
||||||
|
bit $C080
|
||||||
|
lda MachineStatus
|
||||||
|
|
||||||
|
!source "src/constants.a" ; no code in these
|
||||||
|
and #CHEATS_ENABLED
|
||||||
|
beq +
|
||||||
|
lda #$ad
|
||||||
|
sta $8EB ; patch - don't increase lives
|
||||||
|
sta $C41 ; patch - don't decrease lives
|
||||||
|
+
|
||||||
|
jsr DisableAccelerator
|
||||||
|
bit $C082
|
||||||
|
lda #0
|
||||||
|
jmp $8974
|
||||||
|
|
||||||
|
++
|
||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL
|
||||||
@ -14,18 +33,6 @@
|
|||||||
sta $40A4
|
sta $40A4
|
||||||
jmp $4000 ; decompress
|
jmp $4000 ; decompress
|
||||||
|
|
||||||
callback
|
|
||||||
+GET_MACHINE_STATUS
|
|
||||||
and #CHEATS_ENABLED
|
|
||||||
beq +
|
|
||||||
lda #$ad
|
|
||||||
sta $8EB ; patch - don't increase lives
|
|
||||||
sta $C41 ; patch - don't decrease lives
|
|
||||||
+
|
|
||||||
+DISABLE_ACCEL
|
|
||||||
lda #0
|
|
||||||
jmp $8974
|
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user