palette handling improvements
This commit is contained in:
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
|
||||
}
|
||||
@@ -16,6 +16,10 @@ m65_colorset:
|
||||
|
||||
m65_colorset_reset:
|
||||
|
||||
; Make sure VIC-IV is unlocked
|
||||
|
||||
jsr viciv_unhide
|
||||
|
||||
; Enable RAM palette
|
||||
|
||||
lda VIC_CTRLA
|
||||
|
||||
@@ -67,7 +67,6 @@ m65_mode65:
|
||||
|
||||
jsr vicii_init
|
||||
jsr viciv_init
|
||||
jsr m65_colorset_reset
|
||||
|
||||
; Initialize various memory structures
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user