Snake Byte: reset to reboot

This commit is contained in:
4am 2019-12-23 23:13:20 -05:00
parent 77cb37355c
commit 5a7f61fc89

View 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 ", *
}