4cade/src/prelaunch/gamma.goblins.a

32 lines
709 B
Plaintext
Raw Normal View History

2019-09-30 17:09:57 +00:00
;license:MIT
;(c) 2019-2022 by 4am/Frank M.
2019-09-30 17:09:57 +00:00
!cpu 6502
!to "build/PRELAUNCH.INDEXED/GAMMA.GOBLINS",plain
2019-09-30 17:09:57 +00:00
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
2019-09-30 17:09:57 +00:00
lda #$60
sta $2034
jsr $2000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
2019-10-06 14:39:59 +00:00
; lives in $06FE
2019-09-30 17:09:57 +00:00
lda #$AD
sta $4EF3 ; patch - don't decrease lives
lda #$00
sta $7F62 ; patch - don't increase lives
+
+RESET_AND_IRQ_VECTOR $100
+DISABLE_ACCEL
lda #$00
2019-09-30 17:09:57 +00:00
tay
jmp $2035
2019-12-13 05:51:54 +00:00
!if * > $1C0 {
!error "code is too large, ends at ", *
}