Re: [AD] File to test different screen modes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


*BUMP*

Nobody thinks this might be a useful thing to add?

On 30/12/2008, you wrote:

> I don't know if anyone is interested in this, but I have attached a
> small example file that I found very useful while developing my Allegro
> port.  I found that getting a graphics driver that would work just
> right with lots of different screen resolutions, screen depths and
> windowed -vs- full screen modes, and that would also successfully be
> able to allow code to *read* from the screen, was quite difficult.
>
> This is because I was using slightly different methods of accessing the
> screen memory depending on the depth and resolution, in order to allow
> direct screen access in modes where it was allowed, while using an off
> screen bitmap in modes where it wasn't.
>
> Getting all of these modes to work *and* to be able to successfully
> read back from the memory was quite tricky.  This test is a good
> regression test to make sure you have everything working right (and
> that it stays working if you change anything).
>
> I don't know if anyone is interested, but it's attached if you are.
>  I've tried to follow the Allegro coding style.
>
Regards
-- 
/-------------------------------------------------------------------\
[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2    ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne      ]
[Assembly Language: The most fun you can have with your clothes on! ]
\-------------------------------------------------------------------/





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