mirror of
https://github.com/a2-4am/4cade.git
synced 2024-07-13 02:28:58 +00:00
34 lines
795 B
Plaintext
Executable File
34 lines
795 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2020 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/SUMMER.GAMES.II",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
;+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $A13
|
|
jsr $800 ; decompress
|
|
|
|
lda #$60
|
|
sta $D048 ; set hook
|
|
lda #$FF ; restore A to original
|
|
jsr $D003 ; let 'em set up vectors which we'll nuke
|
|
ldx #$FF
|
|
txs ; we skipped the stack nuke so let's do that now
|
|
|
|
+LC_REBOOT
|
|
lda #0
|
|
sta $D9FC
|
|
lda #1
|
|
sta $D9FD ; copied back into LC reset vector each event
|
|
|
|
;+DISABLE_ACCEL ; LC is overwritten by this point
|
|
jmp $6000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|