•  Back 
  •  Type definitions 
  •  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.9.8  HDFUNCS                                                    TOS

typedef struct
{
    int32_t dma_begin ( void);
    int32_t dma_end   ( void );
    int32_t dma_wait  ( d0 = int32_t ticks_200hz );
    int32_t ncr_begin ( void );
    int32_t ncr_end   ( void );
    int32_t ncr_wait  ( d0 = int32_t ticks_200hz );
} HDFUNCS;

Note: Directly before the structure (2 bytes before) lies an int16_t, 
which specifies the table length in int32_ts (in this case 6). All 6 
pointers lie in the system variables area and may be altered in case 
of need. The internal functions for the floppy drive also jump via the 
6 pointers.
Important: The pointer hddrv_functions in the MagX cookie may not be 
altered.

See also: Background-DMA in MagiC