home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / mntinc16 / basepage.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-29  |  1.2 KB  |  38 lines

  1. /*
  2.  *    BASEPAGE.H    Definition of the basepage structure
  3.  */
  4.  
  5. #ifndef _BASEP_H
  6. #define    _BASEP_H
  7.  
  8. typedef struct basep {
  9.     char    *p_lowtpa;    /* pointer to self (bottom of TPA) */
  10.     char    *p_hitpa;    /* pointer to top of TPA + 1 */
  11.     char    *p_tbase;    /* base of text segment */
  12.     long    p_tlen;        /* length of text segment */
  13.     char    *p_dbase;    /* base of data segment */
  14.     long    p_dlen;        /* length of data segment */
  15.     char    *p_bbase;    /* base of BSS segment */
  16.     long    p_blen;        /* length of BSS segment */
  17.     char    *p_dta;        /* (UNOFFICIAL, DON'T USE) */
  18.     struct basep *p_parent;    /* pointer to parent's basepage */
  19.     char    *p_reserved;    /* reserved for future use */
  20.     char    *p_env;        /* pointer to environment string */
  21. #if 0
  22. /* none of these are documented by Atari. If you try to use them under MiNT,
  23.  * MiNT will laugh at you. So will I.
  24.  */
  25.     char    devx[6];    /* real handles of the standard devices */
  26.     char    res2;        /* reserved */
  27.     char    defdrv;        /* default drv */
  28. #else
  29.     char    p_junk[8];
  30. #endif
  31.     long    p_undef[18];    /* scratch area... don't touch */
  32.     char    p_cmdlin[128];    /* command line image */
  33. } BASEPAGE;
  34.  
  35. extern    BASEPAGE    *_base;
  36.  
  37. #endif /* _BASEP_H */
  38.