dc_mode0_ct

dc_mode0_ct:: .db 0x00, 0x40, 0x04, 0x44, 0x10, 0x50, 0x14, 0x54, 0x01, 0x41, 0x05, 0x45, 0x11, 0x51, 0x15, 0x55

Mode 0 Color conversion table (PEN to Screen pixel format)

This table converts PEN values (palette indexes from 0 to 15) into screen pixel format values in mode 0.  In mode 0, each byte has 2 pixels (P0, P1).  This table converts to Pixel 1 (P1) format.  Getting values for pixel 0 format only requires shifting the bits 1 to the left.

Close