started work on color palette support

This commit is contained in:
FeralChild64 committed 2020-12-24 16:48:44 +01:00
1 parent 872f72f4a5
commit 312abd150a
10 files changed
+284 -6

No files matched your search

+8
View File
@@ -237,6 +237,14 @@
}
; Check that screen settings are correct
!ifndef CONFIG_MB_M65 {
!ifdef CONFIG_VIC_PALETTE { !error "CONFIG_VIC_PALETTE is only possible for MEGA65 motherboard" }
}
!ifdef CONFIG_MB_MEGA65 {
!ifndef CONFIG_VIC_PALETTE { !error "CONFIG_VIC_PALETTE not specified" }
}
; Check that internal DOS configuration is correct
+8
View File
@@ -27,6 +27,14 @@
!addr VIC_CHARPTR = $D068 ; 3 bytes - pointer to start of character generator
!addr VIC_PALSEL = $D070 ; - palette selection register
; Palette memory areas
!addr PALETTE_R = $D100
!addr PALETTE_G = $D200
!addr PALETTE_B = $D300
; Keyboard
!addr C65_EXTKEYS_PR = $D607