background red

This commit is contained in:
Cuptain 2024-08-30 10:13:30 +10:00
parent a55963b974
commit 6ab95bff58

View File

@ -8,8 +8,10 @@ int main()
//Set the colour of the line. We are using pallete 0 for the bitmap, so we have 0->15. 15 is used for white text, so we set an unused pallet colour, 14 to blue - RGB 0000FF.
u16 colour_blue = RGB24_TO_VDPCOLOR(0x0000ff);
u16 colour_red = RGB24_TO_VDPCOLOR(0xff0000);
PAL_setColor(14, colour_blue);
//VDP_setBackgroundColor(14);
PAL_setColor(13, colour_red);
VDP_setBackgroundColor(13);
//A line needs a source coordinate x,y and a destination coordinate x,y along with a pallete colour.
Line l;