From e660a4934791d046a2034257619148a72841a2ab Mon Sep 17 00:00:00 2001
From: LRFLEW <LRFLEW@aol.com>
Date: Mon, 7 Oct 2019 13:36:54 -0500
Subject: [PATCH 061/170] [cx16] Update ROM banks to new mapping
---
libsrc/cx16/crt0.s | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libsrc/cx16/crt0.s b/libsrc/cx16/crt0.s
index a3a613bd..873fd706 100644
--- a/libsrc/cx16/crt0.s
+++ b/libsrc/cx16/crt0.s
@@ -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.
--
2.26.0