[cx16] Update ROM banks to new mapping
This commit is contained in:
@@ -62,6 +62,7 @@ L2: lda zpsave,x
|
|||||||
stx VIA1::PRA2 ; Restore former RAM bank
|
stx VIA1::PRA2 ; Restore former RAM bank
|
||||||
lda VIA1::PRB
|
lda VIA1::PRB
|
||||||
and #<~$07
|
and #<~$07
|
||||||
|
ora #$04
|
||||||
sta VIA1::PRB ; Change back to BASIC ROM
|
sta VIA1::PRB ; Change back to BASIC ROM
|
||||||
|
|
||||||
; Back to BASIC.
|
; Back to BASIC.
|
||||||
@@ -77,7 +78,7 @@ init:
|
|||||||
; Change from BASIC's ROM to Kernal's ROM.
|
; Change from BASIC's ROM to Kernal's ROM.
|
||||||
|
|
||||||
lda VIA1::PRB
|
lda VIA1::PRB
|
||||||
ora #$07
|
and #<~$07
|
||||||
sta VIA1::PRB
|
sta VIA1::PRB
|
||||||
|
|
||||||
; Change to the first RAM bank.
|
; Change to the first RAM bank.
|
||||||
|
|||||||
Reference in New Issue
Block a user