diff --git a/Makefile b/Makefile index c531058..998d09c 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ ALL += scsp/sound_cpu__slot.cue ALL += scsp/sound_cpu__interrupt.cue ALL += scsp/sound_cpu__midi_debug.cue ALL += editor/main_saturn.cue +ALL += cdc/cdc.cue all: $(ALL) @@ -150,6 +151,8 @@ editor/main_saturn.o: common/keyboard.hpp editor/editor.hpp editor/main_saturn.elf: editor/main_saturn.o res/nec.bitmap.bin.o res/nec_bold.bitmap.bin.o sh/lib1funcs.o common/keyboard.o saturn/start.o +cdc/cdc.elf: cdc/cdc.o saturn/start.o memcpy.o cdc/serial.o + # clean clean: clean-sh clean-sh: diff --git a/vdp2/color_calculation_ratio.cpp b/vdp2/color_calculation_ratio.cpp index 1c8ed14..f394509 100644 --- a/vdp2/color_calculation_ratio.cpp +++ b/vdp2/color_calculation_ratio.cpp @@ -280,9 +280,6 @@ void main() // both transparency and end codes are enabled, it seems there are only 14 // usable colors in the 4-bit color mode. vdp1.vram.cmd[2].PMOD = PMOD__ECD | PMOD__COLOR_MODE__COLOR_BANK_16; - // It appears Kronos does not correctly calculate the color address in the - // VDP1 debugger. Kronos will report FFFC when the actual color table address - // in this example is 7FFE0. vdp1.vram.cmd[2].COLR = COLR__COLOR_BANK__TYPE0__PR(0) | 0; vdp1.vram.cmd[2].SRCA = mai_character_address >> 3; @@ -296,9 +293,6 @@ void main() // both transparency and end codes are enabled, it seems there are only 14 // usable colors in the 4-bit color mode. vdp1.vram.cmd[3].PMOD = PMOD__ECD | PMOD__COLOR_MODE__COLOR_BANK_16; - // It appears Kronos does not correctly calculate the color address in the - // VDP1 debugger. Kronos will report FFFC when the actual color table address - // in this example is 7FFE0. vdp1.vram.cmd[3].COLR = COLR__COLOR_BANK__TYPE0__PR(1) | 32; vdp1.vram.cmd[3].SRCA = haohmaru_character_address >> 3;