2019-09-17 02:15:37 +00:00
|
|
|
;license:MIT
|
2021-08-02 18:06:19 +00:00
|
|
|
;(c) 2021 by qkumba
|
2019-09-17 02:15:37 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/CUBIT",plain
|
2019-09-17 02:15:37 +00:00
|
|
|
*=$106
|
|
|
|
|
2024-05-25 23:18:49 +00:00
|
|
|
!source "src/macros.a"
|
2019-09-17 02:15:37 +00:00
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+ENABLE_ACCEL
|
2019-09-17 02:15:37 +00:00
|
|
|
lda #$60
|
2021-08-02 18:06:19 +00:00
|
|
|
sta $0813
|
2019-09-17 02:15:37 +00:00
|
|
|
jsr $0800 ; decompress
|
2019-10-05 01:34:49 +00:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
2019-09-17 02:15:37 +00:00
|
|
|
lda #$AD
|
2021-08-02 18:06:19 +00:00
|
|
|
sta $428C ; patch - don't decrease lives
|
|
|
|
sta $7B73 ; patch - don't increase lives
|
2019-10-05 01:34:49 +00:00
|
|
|
+
|
2021-08-02 18:06:19 +00:00
|
|
|
ldx #0
|
|
|
|
stx $4064
|
|
|
|
inx
|
|
|
|
stx $4069 ; reset vector patch
|
2019-12-17 14:46:30 +00:00
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+DISABLE_ACCEL
|
2019-09-17 02:15:37 +00:00
|
|
|
jmp $4000
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|