4cade/src/prelaunch/burgertime.a

41 lines
775 B
Plaintext
Raw Normal View History

2019-09-14 05:30:01 +00:00
;license:MIT
2019-12-25 22:15:36 +00:00
;(c) 2019 by qkumba/Frank M.
2019-09-14 05:30:01 +00:00
!cpu 6502
!to "build/PRELAUNCH.INDEXED/BU",plain
2019-09-15 02:57:52 +00:00
*=$106
!source "src/prelaunch/common.a"
2019-09-14 05:30:01 +00:00
2019-10-13 22:19:48 +00:00
+ENABLE_ACCEL
lda #$60
2019-10-13 22:19:48 +00:00
sta $3ec9
2019-12-11 05:02:34 +00:00
sta $3f09
jsr $3e97
2019-10-13 22:19:48 +00:00
+DISABLE_ACCEL
lda #$b1
sta $646b
jsr $6400
+ENABLE_ACCEL
jsr $811
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$24
sta $a433
sta $96ea
sta $94d1
sta $9768
+
2019-12-17 20:42:02 +00:00
lda #0
sta $A30A
2019-12-17 14:46:30 +00:00
lda #1
sta $A30F ; reset vector patch
2019-10-13 22:19:48 +00:00
+DISABLE_ACCEL
jmp $a300
2019-12-13 05:51:54 +00:00
!if * > $1C0 {
!error "code is too large, ends at ", *
}