•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Cookie Jar ]

The cookie jar is used to transmit information about the system or
between programs and accessories.  It is pointed to by

_p_cookies = $5A0  ;L  address

Each cookie consists of two longwords:
The first longword is a unique identifier, usually 4 ASCII characters.
The second longword can be anything, such as a version number or a
pointer to a data structure.

The last cookie in the jar must have a NULL in the first longword and
the number of remaining spaces (number bytes / 8) in the jar in the
second longword.

Cookies starting with '_' are reserved for Atari.  See Cookies.

One can install a cookie jar on older Ataris at boot time.