Login
Back to forumSee the full topicGo to last reply

Posted By

gerliczer
on 2012-08-09
12:11:22
 Encoding of luminance and colour data, and cache memory

Bits 0..2 of the luminance byte belong to colour 2 in Csabo's Gfx Edit, bits 4..6 belong to colour 1. Bits 0..3 of the colour byte belong to colour 1, bits 4..7 belong to colour 2 in the editor.

If BASIC remaps the colour matrices at $1800 (which must have caused that you couldn't see the effect of colours) then you may use the area used for the character screen. But you must be careful if you are using the split screen mode, because if the picture is too large (longer than 20*40 bytes) it may become visible in the bottom of the screen as garbage characters or wrong colours depending on whether you cache the pictures from $0800 or $0C00.

Some ideas to your program:
- delete line 25
- replace line 30 with this: 30 for k = 0 to 10: for i = 0 to 55
- replace line 50 with this: next i,k
- delete line 60 and 70




Back to top


Copyright © Plus/4 World Team, 2001-2024