2019-09-30 18:11:26 +00:00
|
|
|
;license:MIT
|
2019-12-25 22:15:36 +00:00
|
|
|
;(c) 2019 by 4am/Frank M.
|
2019-09-30 18:11:26 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/GORGON",plain
|
2019-09-30 18:11:26 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2019-10-06 15:24:25 +00:00
|
|
|
+ENABLE_ACCEL
|
2019-09-30 18:11:26 +00:00
|
|
|
lda #$60
|
|
|
|
sta $8237
|
|
|
|
jsr $3FFD ; decompress
|
2019-12-20 22:58:21 +00:00
|
|
|
+DISABLE_ACCEL
|
2019-09-30 18:11:26 +00:00
|
|
|
lda #$60
|
|
|
|
sta $B845
|
2019-12-20 22:58:21 +00:00
|
|
|
jsr $B837 ; spaceship load scene
|
2019-10-05 01:34:49 +00:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
2019-10-06 14:39:59 +00:00
|
|
|
; lives in $70
|
2019-09-30 18:11:26 +00:00
|
|
|
lda #$A5
|
|
|
|
sta $A5B0 ; patch - don't decrease lives
|
2019-10-05 01:34:49 +00:00
|
|
|
+
|
2019-12-17 20:49:46 +00:00
|
|
|
lda #0
|
|
|
|
sta $A8B4
|
2019-12-17 14:46:30 +00:00
|
|
|
lda #1
|
|
|
|
sta $A8BC ; reset vector patch
|
|
|
|
|
2019-09-30 18:11:26 +00:00
|
|
|
jmp $A720
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|