mirror of
https://github.com/irmen/prog8.git
synced 2024-07-30 01:29:08 +00:00
cx16 reset_system() bank selection change
This commit is contained in:
parent
40cc216557
commit
5c13918f11
@ -480,9 +480,8 @@ sys {
|
||||
; Soft-reset the system back to Basic prompt.
|
||||
%asm {{
|
||||
sei
|
||||
lda #14
|
||||
sta $01
|
||||
stz cx16.d1prb ; bank the kernal in
|
||||
stz $01 ; bank the kernal in (new rom bank register)
|
||||
stz cx16.d1prb ; bank the kernal in (old rom bank register)
|
||||
jmp (cx16.RESET_VEC)
|
||||
}}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user