1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-05 20:31:53 +00:00

[cx16] Update ROM banks to new mapping

This commit is contained in:
LRFLEW 2019-10-07 13:36:54 -05:00 committed by greg-king5
parent f3f15cfd25
commit e660a49347

View File

@ -62,6 +62,7 @@ L2: lda zpsave,x
stx VIA1::PRA2 ; Restore former RAM bank
lda VIA1::PRB
and #<~$07
ora #$04
sta VIA1::PRB ; Change back to BASIC ROM
; Back to BASIC.
@ -77,7 +78,7 @@ init:
; Change from BASIC's ROM to Kernal's ROM.
lda VIA1::PRB
ora #$07
and #<~$07
sta VIA1::PRB
; Change to the first RAM bank.