SYS68K/CPU-30 R4 Technical Reference Manual
Appendix to VMEPROM
Page 159
9.4 Task Control Block Definitions
#define MAXARG 10
/* max argument count of the cmd line
*/
#define MAXBP 10
/* max 10 breakpoints
*/
#define MAXNAME 5
/* max 5 names in name buffer
*/
#define TMAX 64
/* Max number of tasks
*/
#define ARGLEN 20
/* maximum argument length
*/
/* special system flags for VMEPROM
*/
#define SOMEREG 0x0001
/* display only PC,A7,A6,A5
*/
#define T_DISP 0x0002
/* no register display during trace(TC>1)
*/
#define T_SUB 0x0004
/* trace over subroutine set
*/
#define T_ASUB 0x0008
/* trace over subroutine active
*/
#define T_RANG 0x0010
/* trace over range set
*/
#define REG_INI 0x0020
/* no register initialization if set
*/
#define RE_DIR 0x0040
/* output redirection into file and
*/
/* console at the same time
*/
/* the registers are stored in the following order:
*/
#define VBR 0
#define SFC 1
#define DFC 2
#define CACR 4
#define PC 5
#define SR 6
#define USTACK 7
#define SSTACK 8
#define MSTACK 9
#define D0 10
/* 10-17 = D0-D7
*/
#define A0 18
/* 18-24 = A0-A6
*/
#define N_REGS 25
#define BYTE unsigned char
#define WORD unsigned int
#define LWORD unsigned long
struct TCB{
/*000*/ char _ubuf[256];
/* 256 byte user buffer
*/
/*100*/ char _clb[80];
/* 80 byte monitor command line buffer
*/
/*150*/ char _mwb[32];
/* 32 byte monitor parameter buffer
*/
/*170*/ char _mpb[60];
/* monitor parameter buffer
*/
/*1AC*/ char _cob[8];
/* character out buffer
*/
/*1B4*/ char _swb[508];
/* system work buffer/task pdos stack
*/
/*3B0*/ char *_tsp;
/* task stack pointer
*/
/*3B4*/ char *_kil;
/* kill self pointer
*/
/*3B8*/ long _sfp;
/* RESERVED FOR INTERNAL PDOS USE
*/
/*3BC*/ char _svf;
/* save flag -- 68881 support (x881)
*/
/*3BD*/ char _iff;
/* RESERVED FOR INTERNAL PDOS USE
*/
/*3BE*/ long _trp[16];
/* user TRAP vectors
*/
/*3FE*/ long _zdv;
/* zero divide trap
*/
/*402*/ long _chk;
/* CHCK instruction trap
*/
/*406*/ long _trv;
/* TRAPV Instruction trap
*/
Содержание SYS68K/CPU-30 R4
Страница 41: ...Installation SYS68K CPU 30 R4 Technical Reference Manual Page 28...
Страница 127: ...Hardware Description SYS68K CPU 30 R4 Technical Reference Manual Page 114...
Страница 130: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 117 4 2 1 RTC 72421...
Страница 131: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 118 4 2 2 DUSCC 68562...
Страница 132: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 119 4 2 3 PI T TS68230...
Страница 133: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 120 4 2 4 SCSI 87033 34...
Страница 134: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 121 4 2 5 FDC37C65C...
Страница 135: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 122 4 2 6 LANCE Am79C90...
Страница 136: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 123 4 2 7 SIA Am7992B...
Страница 137: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 124 4 2 8 Motorola MC68030 and MC68882...
Страница 145: ...VMEPROM SYS68K CPU 30 R4 Technical Reference Manual Page 132...
Страница 189: ...Appendix to VMEPROM SYS68K CPU 30 R4 Technical Reference Manual Page 176...