Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File12.1.11.12 modeAtari TOS Before this function can be called the following conditions have to be fulfilled: . The Mac-mode must be active . The CPU must be in the supervisor-mode. Under virtual memory, Mac programs and also the Mac interrupt routines run in user-mode. If one wants to switch occasionally to the Atari-mode from there, one has to change to the supervisor-mode beforehand. See 'EnterSupervisorMode'. . The current stack must lie in Atari address space, else the CPU freezes immediately due to a double bus error if the program is running on a 68k computer - because then other areas, including the stack area, are no longer addressable. Please see also minStackSize for this. . atariModePossible must indicate that MMU switching is permitted. Otherwise, with MacsBug installed, the following message appears: 'Fatal Error: Atari-mode currently not available (MMU tables invalid)'. See also: The MagiC Mac cookie Cookie and XBRA list