2020-03-05 23:59:00 +00:00
|
|
|
;license:MIT
|
2020-03-06 02:27:24 +00:00
|
|
|
;(c) 2020 by qkumba/Frank M.
|
2020-03-05 23:59:00 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
|
|
|
!to "build/PRELAUNCH/CONGO.BONGO",plain
|
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
+ENABLE_ACCEL
|
|
|
|
lda #$60
|
|
|
|
sta $188B
|
|
|
|
jsr $1800 ; decompress
|
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #$a5
|
|
|
|
sta $cf7 ; patch - don't increase lives
|
|
|
|
sta $1099 ; patch - don't decrease lives
|
|
|
|
+
|
2020-03-06 02:27:24 +00:00
|
|
|
lda #$30 ; reset vector fixes
|
|
|
|
sta $C02
|
|
|
|
lda #$03
|
|
|
|
sta $C0A
|
|
|
|
+NEW_RESET_VECTOR $330
|
|
|
|
|
2020-03-05 23:59:00 +00:00
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $c00
|
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|