home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / diskutil / noahdi.lzh / NOAHDI / SYSTEM.H < prev   
C/C++ Source or Header  |  1993-08-05  |  2KB  |  48 lines

  1. /*
  2.    File: SYSTEM.H        Atari ST system variables
  3.  
  4.    Oct 1988. V1.00 T.H. Schipper
  5. */
  6. /*
  7. Copyright (c) 1988 - 1991 by Ted Schipper.
  8.  
  9. Permission to use, copy, modify, and distribute this software and its
  10. documentation for any purpose and without fee is hereby granted,
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in
  13. supporting documentation.
  14.  
  15. This software is provided AS IS with no warranties of any kind.  The author
  16. shall have no liability with respect to the infringement of copyrights,
  17. trade secrets or any patents by this file or any part thereof.  In no
  18. event will the author be liable for any lost revenue or profits or
  19. other special, indirect and consequential damages.
  20. */
  21.  
  22. #define RESET      (*(long *) 0x0004) /* pointer to reset handler */
  23. #define EVT_CRITIC (*(long *) 0x0404) /* pointer to error handler */
  24. #define PHYSTOP    (*(long *) 0x042E) /* top of memory */
  25. #define FLOCK      (*(short *) 0x043E) /* Floppy lock variable */
  26. #define BOOTDEV    (*(short *) 0x0446) /* logical boot device */
  27. #define HDV_BPB    (*(long *) 0x0472) /* pointer to get_bpb */
  28. #define HDV_RW     (*(long *) 0x0476) /* pointer to rwabs */
  29. #define HDV_MEDI   (*(long *) 0x047E) /* pointer to hdv_medi */
  30. #define COMLOAD    (*(short *)0x0482) /* Command.prg load flag */
  31. #define HZ_200     (*(unsigned long *) 0x04BA) /* 200 Hz system clock */
  32. #define DRVBITS    (*(long *) 0x04C2) /* block device bitvector */
  33. #define DSKBUFP    (*(long *) 0x04C6) /* pointer to common disk buffer */
  34. #define SYSBASE    (*(long *) 0x04F2) /* pointer to start OS */
  35. #define EXEC_OS    (*(long *) 0x04FE) /* pointer to entry point OS */
  36. #define PUN_PTR    (*(long *) 0x0516) /* pointer to physical units */
  37.  
  38.  
  39. /* Pool Manager Directory Control Block entry */
  40.  
  41. struct DCB {
  42.             short  size;          /* Control block size in paragraphs */
  43.             struct DCB *next;     /* forward link */
  44.             char   fill[60];      /* total length of 66 bytes */
  45.            };
  46.  
  47.  
  48.