mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-22 09:30:04 +00:00
Snake Byte: reset to reboot
This commit is contained in:
parent
77cb37355c
commit
5a7f61fc89
22
src/prelaunch/snake.byte.a
Normal file
22
src/prelaunch/snake.byte.a
Normal file
@ -0,0 +1,22 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/SNAKE.BYTE",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
lda #$60
|
||||
sta $0858
|
||||
jsr $0800 ; decompress
|
||||
+LC_REBOOT
|
||||
lda #0
|
||||
sta $7a11
|
||||
lda #1
|
||||
sta $7a19
|
||||
jmp $7680
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user