smpc: update macro usage of input_ examples

This commit is contained in:
Zack Buhman 2024-01-30 20:12:56 +08:00
parent a1707c72a8
commit fb041b392c
2 changed files with 4 additions and 4 deletions

View File

@ -330,7 +330,7 @@ void main()
// 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__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[2].COLR = COLR__LOOKUP_TABLE__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[2].SRCA = SRCA(character_address[0]);
vdp1.vram.cmd[2].SIZE = SIZE__X(sprite_stride) | SIZE__Y(sprite_height);
vdp1.vram.cmd[2].XA = foo[0].x;
@ -345,7 +345,7 @@ void main()
// 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__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[3].COLR = COLR__LOOKUP_TABLE__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[3].SRCA = SRCA(character_address[1]);
vdp1.vram.cmd[3].SIZE = SIZE__X(sprite_stride) | SIZE__Y(sprite_height);
vdp1.vram.cmd[3].XA = foo[1].x;

View File

@ -415,7 +415,7 @@ void main()
// 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__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[2].COLR = COLR__LOOKUP_TABLE__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[2].SRCA = SRCA(character_address[0]);
vdp1.vram.cmd[2].SIZE = SIZE__X(sprite_stride) | SIZE__Y(sprite_height);
vdp1.vram.cmd[2].XA = foo[0].x;
@ -430,7 +430,7 @@ void main()
// 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__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[3].COLR = COLR__LOOKUP_TABLE__ADDRESS(color_address); // non-palettized (rgb15) color data
vdp1.vram.cmd[3].SRCA = SRCA(character_address[1]);
vdp1.vram.cmd[3].SIZE = SIZE__X(sprite_stride) | SIZE__Y(sprite_height);
vdp1.vram.cmd[3].XA = foo[1].x;