[hatari-devel] Hatari patches for bitplane conversion

npomarede at corp.free.fr npomarede at corp.free.fr
Sun Jul 26 00:19:53 CEST 2009


On Sat, 25 Jul 2009, Eero Tamminen wrote:

>> Regarding the names shifter.[ch], in real STs and TTs, the SHIFTER is
>> the decoder from bitplanes to analog RGB data, while the MMU and GLUE
>> are handling the register stuff. So i dont think its that far off...
>
> Fair enough, but Hatari Shifter handling is in video.c.
>
> Also, as the files handle only certain (target) bit-depth, that should be
> in the file name too.  Maybe convert/32bit.c?
>

The shifter is decoding bitplane to RGB, but what the conversion functions 
are doing is to adapt these RGB value to a given bit depth / screen 
resolution, but all the "hard" work required to determine overscan for 
example was really made in video.c. In some way, video.c is generating RGB 
values, it's just that the info is splitted between the bitplanes and the 
hbl palette / spec512 palette. Nitpicking again :)




More information about the hatari-devel mailing list