Author: Adam Klobukowski (w3cache2.icm.edu.pl)
Date: 01-10-2003 09:25
Setscreen() is called like this
VOID Setscreen( Long log, long phys, short mode )
log - the logical screen when you draw
phys - the physical screen that is visible
mode - screen resolution
Remember that Atari ST and Mega ST required that its physical screen memory be on a 256 byte boundary.
Method (for Atari ST):
Alloc two 32kb buffers (for example p1, p2 point to them)
Call Setscreen:
loop:
Setscreen (p1, p2, -1)
Draw what you need
Swap(p1, p2)
loopend:
Should be ok.
|