diff options
Diffstat (limited to 'v4.0/src/INC/VECTOR.INC')
| -rw-r--r-- | v4.0/src/INC/VECTOR.INC | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/v4.0/src/INC/VECTOR.INC b/v4.0/src/INC/VECTOR.INC new file mode 100644 index 0000000..f653784 --- /dev/null +++ b/v4.0/src/INC/VECTOR.INC | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | ; SCCSID = @(#)vector.asm 1.1 85/04/10 | ||
| 2 | BREAK <interrupt definitions> | ||
| 3 | |||
| 4 | Asmvar AltVect | ||
| 5 | |||
| 6 | INTTAB EQU 20H | ||
| 7 | INTBASE EQU 4 * inttab | ||
| 8 | ENTRYPOINT EQU INTBASE+40H | ||
| 9 | |||
| 10 | IF ALTVECT | ||
| 11 | ALTTAB EQU 0F0H | ||
| 12 | ALTBASE EQU 4 * ALTTAB | ||
| 13 | ENDIF | ||
| 14 | |||
| 15 | ; | ||
| 16 | ; interrupt assignments | ||
| 17 | ; | ||
| 18 | IF NOT ALTVECT | ||
| 19 | int_abort EQU INTTAB ; abort process | ||
| 20 | int_command EQU int_abort+1 ; call MSDOS | ||
| 21 | int_terminate EQU int_abort+2 ; int to terminate address | ||
| 22 | int_ctrl_c EQU int_abort+3 ; ^c trapper | ||
| 23 | int_fatal_abort EQU int_abort+4 ; hard disk error | ||
| 24 | int_disk_read EQU int_abort+5 ; logical sector disk read | ||
| 25 | int_disk_write EQU int_abort+6 ; logical sector disk write | ||
| 26 | int_keep_process EQU int_abort+7 ; terminate program and stay | ||
| 27 | ; resident | ||
| 28 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 29 | ; C A V E A T P R O G R A M M E R ; | ||
| 30 | ; ; | ||
| 31 | int_spooler EQU int_abort+8 ; spooler call | ||
| 32 | int_fastcon EQU int_abort+9 ; fast CON interrupt | ||
| 33 | int_IBM EQU int_abort+10; critical section maintenance | ||
| 34 | ; ; | ||
| 35 | ; C A V E A T P R O G R A M M E R ; | ||
| 36 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 37 | ELSE | ||
| 38 | int_abort EQU INTTAB ; abort process | ||
| 39 | int_command EQU int_abort+1 ; call MSDOS | ||
| 40 | int_terminate EQU ALTTAB ; int to terminate address | ||
| 41 | int_ctrl_c EQU int_terminate+1 ; ^c trapper | ||
| 42 | int_fatal_abort EQU int_terminate+2 ; hard disk error | ||
| 43 | int_disk_read EQU int_abort+5 ; logical sector disk read | ||
| 44 | int_disk_write EQU int_abort+6 ; logical sector disk write | ||
| 45 | int_keep_process EQU int_abort+7 ; terminate program and stay resident | ||
| 46 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 47 | ; C A V E A T P R O G R A M M E R ; | ||
| 48 | ; ; | ||
| 49 | int_spooler EQU int_terminate+3 ; spooler call | ||
| 50 | int_fastcon EQU int_abort+9 ; fast CON interrupt | ||
| 51 | ; ; | ||
| 52 | ; C A V E A T P R O G R A M M E R ; | ||
| 53 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 54 | ENDIF | ||
| 55 | |||
| 56 | addr_int_abort EQU 4 * int_abort | ||
| 57 | addr_int_command EQU 4 * int_command | ||
| 58 | addr_int_terminate EQU 4 * int_terminate | ||
| 59 | addr_int_ctrl_c EQU 4 * int_ctrl_c | ||
| 60 | addr_int_fatal_abort EQU 4 * int_fatal_abort | ||
| 61 | addr_int_disk_read EQU 4 * int_disk_read | ||
| 62 | addr_int_disk_write EQU 4 * int_disk_write | ||
| 63 | addr_int_keep_process EQU 4 * int_keep_process | ||
| 64 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||
| 65 | ; C A V E A T P R O G R A M M E R ; | ||
| 66 | ; ; | ||
| 67 | addr_int_spooler EQU 4 * int_spooler | ||
| 68 | addr_int_fastcon EQU 4 * int_fastcon | ||
| 69 | addr_int_IBM EQU 4 * int_IBM | ||
| 70 | ; ; | ||
| 71 | ; C A V E A T P R O G R A M M E R ; | ||
| 72 | ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----; | ||