Makefile: cdc example

This commit is contained in:
Zack Buhman 2024-09-19 21:03:50 -05:00
parent a26d685ab3
commit f18944e523
2 changed files with 3 additions and 6 deletions

View File

@ -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:

View File

@ -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;