Phew, I thought I'd been doing something wrong! Well, perhaps I was, in using MODE 8 to start with!Dilwyn Jones wrote:RECOL #0,0,1,2,3,4,5,6,0 turns white to blue instead of black RECOL #0,0,1,2,3,4,5,6,2 turns white to magenta instead of red RECOL #0,0,1,2,3,4,5,6,4 turns white to cyan instead of green RECOL #0,0,1,2,3,4,5,6,6 turns white to white instead of yellowand so on. Anybody got any ideas what's going on?Congratulations, you've found a bug that has been in SMSQ/E since probably the introduction of GD2 ;-), i.e. quite a while. The test that checks if the machine is in mode 4 or mode 8 doesn't work, it's basically pure chance what it chooses. Using the mode 4 recolour code in mode 8 then results in the effects you've experienced.
Actually, I was updating an old program of mine for knitting patterns, which loads mode 8 pictures and converts them into knitting patterns by counting the number of pixels of each colour and mapping those onto wool colours. The RECOL statement was used to show what the picture would look like in other wool colours.
Is this RECOL bug something which might get updated in time, or is MODE 8 redundant as far as you are concerned?
--Dilwyn Jones
_______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
