home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_07 / LATTIC_3.ZIP / HEADERS / BASEPAGE.H < prev    next >
C/C++ Source or Header  |  1990-02-13  |  873b  |  33 lines

  1. /*
  2.  * basepage.h - GEMDOS base page structure
  3.  *
  4.  * Started 12/2/90 Alex G. Kiernan
  5.  *
  6.  * Copyright (c) 1989 HiSoft
  7.  */
  8.  
  9. #ifndef _BASEPAGE_H
  10. #define _BASEPAGE_H
  11.  
  12. typedef struct _base
  13. {
  14.     void        *p_lowtpa;    /* pointer to bottom of TPA */
  15.     void        *p_hitpa;    /* pointer to top of TPA + 1 */
  16.     void        *p_tbase;    /* base of text segment */
  17.     long        p_tlen;        /* length of text segment */
  18.     void        *p_dbase;    /* base of data segment */
  19.     long        p_dlen;        /* length of data segment */
  20.     void        *p_bbase;    /* base of BSS segment */
  21.     long        p_blen;        /* length of BSS segment */
  22.     void         *p_dta;        /* pointer to current DTA */
  23.     struct _base    *p_parent;    /* pointer to parent's basepage */
  24.     void        *p_reserved;
  25.     char        *p_env;        /* pointer to environment strings */
  26.     long        p_undef[20];
  27.     char        p_cmdlin[128];    /* command line image */
  28. } BASEPAGE;
  29.  
  30. extern BASEPAGE *_pbase;
  31.  
  32. #endif
  33.