•  Back 
  •  The PMMU functions-handler 
  •  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.2  GetHdv_inuse                                               TOS

 Name:        »GetHdv_inuse« - Obtain the activity of the hard disk 
              driver.

 Number:      4

 Declaration: UWORD *GetHdv_inuse ( VOID );

 Description: The call GetHdv_inuse enables one to check whether the 
              hard disk driver is currently in the process of swapping 
              a page from or to RAM.

              Note: A check of this WORD must be made before the 
              virtual RAM is accessed from an interrupt routine. This 
              is because the hard disk driver may not be interrupted 
              by an access to a non-existing memory page if it is 
              currently offloading another page. If the status WORD is 
              non-zero, the access has to be delayed.

 Return value: The function returns a pointer to the hdv_inuse WORD.

 Group:       PMMU functions-handler

 See also:    ClearPageMode   GetPageSize   pmem_size   PMMUversion 
              SetPageMode   vmem_size