mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-01 23:41:39 +00:00
24 lines
481 B
Plaintext
24 lines
481 B
Plaintext
|
;license:MIT
|
||
|
;(c) 2020 by qkumba
|
||
|
;
|
||
|
; reboot system
|
||
|
;
|
||
|
; Public functions
|
||
|
; - OnRageQuit
|
||
|
;
|
||
|
|
||
|
;------------------------------------------------------------------------------
|
||
|
; OnRageQuit
|
||
|
; reboot system
|
||
|
;
|
||
|
; in: none
|
||
|
; out: nothing
|
||
|
;------------------------------------------------------------------------------
|
||
|
OnRageQuit
|
||
|
inc $101 ; bank in ROM
|
||
|
lda #$A6
|
||
|
sta $104
|
||
|
lda #$FA
|
||
|
sta $105 ; JMP $FAA6
|
||
|
jmp $100
|