Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
Questions and Answers for using ATARI TOS / FREE MINT

V4SA Emutos Vsetscreen Documentation

Olivier Landemarre

Posts 147
24 Oct 2021 22:32


Hello

You can find documentation regarding Vsetscreen for SAGA here:

EXTERNAL LINK 
Olivier


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.


Olivier Landemarre

Posts 147
04 Aug 2022 11:44


Peter Persson wrote:

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.

Hello Peter

I see the documentation have been lost on my web site, at my return I will update documentation and fvdi driver need for your last changes in emutos and source code ( perhaps better for this last point add it on sourceforges I will see)
I will be back august 22
Olivier


posts 3