[Coco] OS9 Background Palette

L. Curtis Boyle curtisboyle at sasktel.net
Wed Aug 21 12:38:59 EDT 2019

Border color is independent of other colors, so you just set the border to any of the 64 colors available ('$1b 34 c' is the escape sequence to set the border).
For foreground and background colors - you set up the 2/4/16 palette registers (depending on tex/graphics mode) to whatever colors you want from the 64 available, and then you can set the foreground and background colors to any of those 2/4/16. '$1b $31 p cā€™ (where p is the palette register 0 to $F, and c is the color 0 to $3F) is used to set the palettes, and then which palette # you are using for foreground and background, you use ā€˜$1b 32 pā€™ for foreground, and '$1b $33 pā€™ for background (p being the palette register 0 to $F).

L. Curtis Boyle
curtisboyle at sasktel.net

> On Aug 21, 2019, at 10:23 AM, coco at jechar.ca wrote:
> Which palette register sets the background color ?
> And Witch palette register sets the Forground & Border ?
> Charlie
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco

More information about the Coco mailing list