•  Back 
  •  Cookie and XBRA list 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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-File3.7.2.2  Cookie, MagX                                              TOS

MagiC operating system

The cookie is installed by the alternative operating system MagiC, and 
points to the following structure:

typedef struct
{
   int32_t   config_status;
   DOSVARS  *dosvars;
   AESVARS  *aesvars;
   void     *res1;
   void     *hddrv_functions;
   int32_t   status_bits;
} MAGX_COOKIE;

Note: The elements res1 and hddrv_functions are available only since 
MagiC 3, status_bits only since the version of 24.05.1995.

Warning: The version number of MagiC, which contains the presence of 
this extended cookie, can, stupidly, not be queried via AESVARS, as 
this pointer to the variables of the AES is still NULL at boot-time. 
Luckily one can access the pointer also via the TOS system-header 
(because this pointer is always valid); this can be performed via 
DOMagixAESVars.