Author: Elliot (193.113.240.46)
Date: 05-21-2000 22:19
From my memory you should be able to find the palatte at the end of the icture (should be 32 bytes), this need to be loaded into the colour registers. I do not know 1st basic but somthing like this.
For x = 0 to 15 (16 words)
doke deek(picaddr+32000+x),$ffff8240+x
Next x
Now the picaddr is the addres of the picture, the 32000 is a pointer past the picture data, and the X is each colour (16). The $ffff8240 is the start of the colour registers in memory and the X should point to each in turn.
$ffff8240 is from memory and the last time I put something there ($ffff8240) or any high memory address with about 7 years so check that if the machine is crashing.
The doke is a Double Poke and Deek double Peek.
Poke puts a number into and address
Peek gets a nuber from an address
The syntex may be different on 1st, if Doke and Deek to not exist then use Poke and Peek and 32 bytes of info (i.e. x = 0 to 31).
Elliot...
|