Peter Persson
Posts 12 03 Aug 2022 07:49
| This has changed somewhat. VsetScreen(n,n,103,mode) is no longer available. Just set bit #14 in the modecode, and use the SAGA register value as follows: VsetScreen(n,n,3,SAGA_ENABLE | (saga_resolution << 8) | saga_format); If SAGA_ENABLE isn't set, the modecode is treated as a Falcon/TOS4 modecode. Some screen resolutions doesn't match perfectly at this point, but VgetSize(modecode) will return "Falcon"-sizes even though the physical screen may have a different vertical height etc. This means it works for VsetMode() too.
|