64 pallete entries please

This commit is contained in:
Neo Anderson committed 2020-02-15 15:51:42 -08:00
1 parent 1de832a84c
commit 0ce71aa7a7
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ const (
FONT_HEIGHT = 12 // Height of one "font" (or block).
NUM_X_FONTS = 50 // Number of horizontal fonts contained in VRAM.
NUM_Y_FONTS = 18 // Number of vertical fonts contained in VRAM.
PALETTE_ENTRIES = 16 // Number of CLUT palette entries.
PALETTE_ENTRIES = 64 // Number of CLUT palette entries.
TV_GRAPHICS = 0x09 // 50x18 (48x16) 16 color TV graphics mode.
MEMORY_PRESET = 0x01 // Set all VRAM to palette index.
BORDER_PRESET = 0x02 // Set border to palette index.
+2 -2
View File
@@ -9,12 +9,12 @@ import (
func main() {
//load data
cdg_file_data, err := ioutil.ReadFile("../cdg/SC-SBI-REMIX - Billy Idol - Rebel Yell.cdg")
cdg_file_data, err := ioutil.ReadFile("../cdg/JVC - Nursery - Do-Re-Mi.cdg")
if err != nil {
log.Fatal("Couldn't read .cdg file")
}
png := karaoke.ScreenshotAtTime(cdg_file_data, 3)
png := karaoke.ScreenshotAtTime(cdg_file_data, 11)
file, err := os.OpenFile(
"screenshot.png",