|
|
1.1 ! root 1: #include "machine.h" ! 2: /* ! 3: * sdb/adb - common definitions for old srb style code ! 4: */ ! 5: ! 6: #define MAXCOM 64 ! 7: #define MAXARG 32 ! 8: #define LINSIZ 256 ! 9: TYPE unsigned ADDR; ! 10: TYPE short INT; ! 11: TYPE int VOID; ! 12: TYPE int L_INT; ! 13: TYPE float REAL; ! 14: TYPE double L_REAL; ! 15: TYPE unsigned POS; ! 16: TYPE char BOOL; ! 17: TYPE char CHAR; ! 18: TYPE char *STRING; ! 19: TYPE char MSG[]; ! 20: TYPE struct map MAP; ! 21: TYPE MAP *MAPPTR; ! 22: TYPE struct bkpt BKPT; ! 23: TYPE BKPT *BKPTR; ! 24: TYPE int (*SIG)(); ! 25: ! 26: ! 27: /* file address maps */ ! 28: struct map { ! 29: POS b1; ! 30: POS e1; ! 31: POS f1; ! 32: POS b2; ! 33: POS e2; ! 34: POS f2; ! 35: INT ufd; ! 36: }; ! 37: ! 38: struct bkpt { ! 39: ADDR loc; ! 40: ADDR ins; ! 41: INT count; ! 42: INT initcnt; ! 43: INT flag; ! 44: CHAR comm[MAXCOM]; ! 45: BKPT *nxtbkpt; ! 46: }; ! 47: ! 48: TYPE struct reglist REGLIST; ! 49: TYPE REGLIST *REGPTR; ! 50: struct reglist { ! 51: STRING rname; ! 52: INT roffs; ! 53: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.