login | register
Fri 18 of May, 2012 (01:09 UTC)

V6Z80P Documentation

Similar PagesHistorys5 slideshowPrint

kjt_get_colours

Created by: phil, Last modification: Mon 02 of Jan, 2012 (21:08 UTC)

Action: Returns the location of the FLOS colour list.

Input registers: none

Output registers: HL = location of colour list: 18 words (RGB values). Note: FLOS stores its colour list under the hardware registers so system memory needs to paged into that region if writing directly to the address returned from this call. (Simply reading the list poses no such problem). In all cases, kjt_set_colours needs to be called to actually change the palette (unless writing directly to the Hardware Palette Registers)

$00 - Paper
$02 - Border
$04 - Cursor
$06 - 15 pen colours starting with pen 1


Search


Last modif pages