•  Back 
  •  Appendix 
  •  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-File14.6  The PMMU functions-handler                                   TOS

The Paged Memory Management Unit functions-handler can be reached via 
the PMMU-Cookie, and is created by programs such as Outside or VRAM 
that can swap blocks of memory to and from a hard drive when 
insufficient RAM is available for a given task. These memory blocks 
will then lie in so-called 'virtual RAM' divided into 'pages' on the 
drive.

The handler can only be called in supervisor-mode, and works via a 
function number that is stored in data register d0. Possible return 
values will be found in this register as well. Other processor 
registers are not altered.

The following functions are available at present:

   . ClearPageMode
   . GetHdv_inuse
   . GetPageSize
   . pmem_size
   . PMMUversion
   . SetPageMode
   . vmem_size

Important note: These functions only have meaning for a few programs 
in the region of system software, an have no place in user programs.

See also: Super   Supexec