palette handling improvements

This commit is contained in:
FeralChild64 committed 2020-12-26 22:15:11 +01:00
1 parent ee286e0f35
commit 15ef8704e3
4 files changed
+10 -2

No files matched your search

@@ -27,7 +27,8 @@
!addr VK1__M65_CLRWIN = $4000 + 2 * 13
!addr VK1__m65_screen_upd_txtrow_off = $4000 + 2 * 14
!addr VK1__m65_shadow_BZP = $4000 + 2 * 15
!addr VK1__m65_colorset = $4000 + 2 * 16
!addr VK1__m65_colorset_reset = $4000 + 2 * 16
!addr VK1__m65_colorset = $4000 + 2 * 17
} else {
@@ -63,5 +64,6 @@
!word M65_CLRWIN
!word m65_screen_upd_txtrow_off
!word m65_shadow_BZP
!word m65_colorset_reset
!word m65_colorset
}
+4
View File
@@ -16,6 +16,10 @@ m65_colorset:
m65_colorset_reset:
; Make sure VIC-IV is unlocked
jsr viciv_unhide
; Enable RAM palette
lda VIC_CTRLA
-1
View File
@@ -67,7 +67,6 @@ m65_mode65:
jsr vicii_init
jsr viciv_init
jsr m65_colorset_reset
; Initialize various memory structures
+3
View File
@@ -6,7 +6,10 @@
m65_reset_part:
jsr map_KERNAL_1
jsr (VK1__m65_colorset_reset)
jsr map_NORMAL ; we want normal memory mapping
jsr viciv_shutdown ; by default we do not want the VIC-IV
jsr M65_MODEGET