[hatari-devel] TT emulation

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi All,

 

Attached you can find the TT emulation patch for Hatari 1.6.2. It contains following part:

-          Extend the ST palette registers ($ffff8240) from 9bit to 12bit for ST modes ($ffff8260);

-          Duochrome mode instead monochrome for ST High;

-          Implementation of TT SampleHold i TT Hypermono video mode;

 

In additional, I attached test application for SampleHold and TT Hypermono mode.

 

 

Please let me know if that path is ok for you.

 

 

In meantime I found out that my code in file video.c (in function Video_UpdateTTPalette) can be a bit optimized:

 

ttcolor = ((stcolor&0x777) << 1) | ((stcolor&0x888) >> 3);

 

instead of:

 

ttcolor = ((stcolor&0x700) << 1) | ((stcolor&0x70) << 1) | ((stcolor&0x7) << 1)

| ((stcolor&0x800) >> 3) | ((stcolor&0x80) >> 3) | ((stcolor&0x8) >> 3);

 

 

Many thanks

 

Best regards,

Cyprian Konador

Staff Engineer

Office: +48 22 565 7239

Mobile: +48 609 790 325

Email: cyprian.konador@xxxxxx

 

Attachment: TTSpecialVideoMode.diff
Description: TTSpecialVideoMode.diff

Attachment: TT_HYPER.zip
Description: TT_HYPER.zip



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/