4cade/src/prelaunch/mario.bros.a

29 lines
529 B
Plaintext
Raw Normal View History

2019-09-14 05:30:01 +00:00
;license:MIT
;(c) 2019-2020 by qkumba/Frank M.
2019-09-14 05:30:01 +00:00
!cpu 6502
!to "build/PRELAUNCH/MB",plain
2019-09-15 02:57:52 +00:00
*=$106
!source "src/prelaunch/common.a"
2019-09-14 05:30:01 +00:00
+ENABLE_ACCEL
lda #$60
sta $8240
jsr $4900 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$a9
sta $4299
+
2019-12-18 05:39:06 +00:00
lda #1
sta $402F ; reset vector patch
+DISABLE_ACCEL
jmp $4000
2019-12-13 05:51:54 +00:00
!if * > $1C0 {
!error "code is too large, ends at ", *
}