|
Atari coding BBS
Re: Vidi RGB merging |
Posted by: ggn
|
May,28.2007-09:45
|
Well I don't have any software like that in mind, but why don't you make one?
AFAIK spectrum pictures are in fact normal st low pictures that have 3 palette changes in any scanline. So what you need to do is scan each pixel for col 1 and change it to col 15.
So for each pixel you need to btst #x,(a0) btst #x,2(a0) btst #x,4(a0) btst #x,6(a0), where 'x' is the pixel in the 16-pixel strip you're scanning. So if 2(a0), 4(a0), 6(a0) bits are clear and (a0) set then you need to set them all.
After that the only thing that needs to be done is change the spectrum display code bits where you have move.w (a0)+,$ffff8242.w to move.w (a0)+,$ffff825e.w
You can do this processing at run-time, so you don't have to convert the pic each time it changes.
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|