Elektrine lite

← Feed

@arx@tech.lgbt

2026-10-13 18:35 UTC

Trying to get this VDG logic as minimal and as fluent in my head as possible before I sit back down at the computer to try to get it properly nailed, excluding sprites. One of its party tricks is to make 4 medium-width pixels per word (b7 to b0) from palette indexes (b7, b3-0); (b6, b3-0); (b5, b3-0); (b4-0). This means each contiguous group of 4 horizontal pixels, whilst 1bpp, choses 1 of 16 possible pairs of colours as its basis. With careful graphic design and choice of palette, one can ape a 32-colour 320x200 bitmapped image in just 16KB. Another trick is to combine 2bpp with the upper 3 bits of the character code, allowing you to divide the character set up into 8 groups of 32, each with its own 4-colour palette. Yet another trick is ‘attribute hold’ where character codes 128-255 reload the attribute register and clear the shift register, whilst 0-127 preserve the former and reload the latter. Handy for multicolour 80 column text. A 40-column variant avoids gaps.

Replies (0)

No replies.