diff options
| author | 2024-04-25 21:24:10 +0100 | |
|---|---|---|
| committer | 2024-04-25 22:32:27 +0000 | |
| commit | 2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch) | |
| tree | 80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/SELECT/MAC_EQU.INC | |
| parent | Merge pull request #430 from jpbaltazar/typoptbr (diff) | |
| download | ms-dos-main.tar.gz ms-dos-main.tar.xz ms-dos-main.zip | |
Diffstat (limited to 'v4.0/src/SELECT/MAC_EQU.INC')
| -rw-r--r-- | v4.0/src/SELECT/MAC_EQU.INC | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/v4.0/src/SELECT/MAC_EQU.INC b/v4.0/src/SELECT/MAC_EQU.INC new file mode 100644 index 0000000..7800602 --- /dev/null +++ b/v4.0/src/SELECT/MAC_EQU.INC | |||
| @@ -0,0 +1,87 @@ | |||
| 1 | INCLUDE VERSIONA.INC ;AN047;SEH check DOS version in VERSIONA.INC instead of in MAC_EQU.INC | ||
| 2 | |||
| 3 | TRUE = 1 ;AN000; | ||
| 4 | FALSE = 0 ;AN000; | ||
| 5 | |||
| 6 | ; Equates from PRN_DEF.ASM | ||
| 7 | |||
| 8 | ERR_NOT_ENOUGH_MEM EQU 1 ;AN000; There was not enough memory to build the names table | ||
| 9 | ERR_OPENING_FILE EQU 2 ;AN000; Error opening a file | ||
| 10 | ERR_READING_FILE EQU 3 ;AN000; Error reading from a file | ||
| 11 | ERR_FINDING_VALUE EQU 4 ;AN000; Error finding the number of prn defs at the beginning of the file | ||
| 12 | ERR_LINE_TOO_LONG EQU 5 ;AN000; There was a line too long for the buffer | ||
| 13 | ERR_FINDING_NAME EQU 6 ;AN000; There was an error locating a printer name after a P or S | ||
| 14 | ERR_ACCESSING_FILE EQU 7 ;AN000; There was an error updating the file pointer | ||
| 15 | ERR_TOO_MANY_DEFS EQU 8 ;AN000; There are too many defintion in the file | ||
| 16 | ERR_NUMBER_MATCH EQU 9 ;AN000; The number of actual definition do not match the number expected | ||
| 17 | ERR_ALLOCATING_MEM EQU 10 ;AN000; There was an error allocating memory | ||
| 18 | ERR_CDP_CPP EQU 11 ;AN000; A prn defn had either a CDP or CPP but not both | ||
| 19 | ERR_PRN_DEFN EQU 12 ;AN000; There was an error in a printer definition | ||
| 20 | |||
| 21 | ; Equates from MACROS.INC ; | ||
| 22 | ; Equates from MACROS2.INC ; | ||
| 23 | ;MAJOR_DOS_VER EQU 4 ;AC047;SEH check now done in VERSIONA.INC ;AC045;SEH | ||
| 24 | ;MINOR_DOS_VER EQU 00 ;AC047;SEH ;AC045;SEH version update to DOS 4.00 | ||
| 25 | ; | ||
| 26 | ; Equates from MACROS3.INC ; | ||
| 27 | PRESENT_WITH_PART EQU 2 ;AN000; | ||
| 28 | PRESENT_WITHOUT_PART EQU 1 ;AN000; | ||
| 29 | NOT_PRESENT EQU 0 ;AN000; | ||
| 30 | NO_EDOS_SPACE EQU 0 ;AN000; | ||
| 31 | FREE_EDOS_SPACE EQU 1 ;AN000; | ||
| 32 | NO_EDOS_BUT_SPACE EQU 2 ;AN000; | ||
| 33 | ; | ||
| 34 | M_DOS_EXISTS EQU 1H ;AN000; | ||
| 35 | M_EDOS_EXISTS EQU 2H ;AN000; | ||
| 36 | M_LOGICAL_EXISTS EQU 4H ;AN000; | ||
| 37 | M_EDOS_SPACE EQU 8H ;AN000; | ||
| 38 | M_FREE_SPACE EQU 10H ;AN000; | ||
| 39 | M_DOS_EDOS_PART EQU 3H ;AN000; | ||
| 40 | ; | ||
| 41 | DISKETTES_EXIST EQU 1 ;AN000; | ||
| 42 | MAX_NUM_DISKETTE EQU 2 ;AN000; | ||
| 43 | ; | ||
| 44 | TABLE_ONE EQU 1 ;AN000; | ||
| 45 | TABLE_TWO EQU 2 ;AN000; | ||
| 46 | ; | ||
| 47 | DATA_VALID EQU 0 ;AN000; | ||
| 48 | DATA_INVALID EQU 1 ;AN000; | ||
| 49 | ; | ||
| 50 | USE_DEFAULT EQU 0 ;AN000; | ||
| 51 | DO_NOT_USE_DEFAULT EQU 1 ;AN000; | ||
| 52 | ; | ||
| 53 | DEF_DEST_A EQU 3 ;AN111;JW | ||
| 54 | DEF_DEST_B EQU 2 ;AN000; | ||
| 55 | DEF_DEST_C EQU 1 ;AN000; | ||
| 56 | ; | ||
| 57 | E_1440_TRACKS EQU 80 ;AN000; | ||
| 58 | E_1440_SECTORS EQU 18 ;AN000; | ||
| 59 | ; | ||
| 60 | ; Equates from MACROS4.INC ; | ||
| 61 | ; Equates from MACROS5.INC ; | ||
| 62 | B_DRIVE EQU 1 ;AN000; | ||
| 63 | C_DRIVE EQU 2 ;AN000; | ||
| 64 | A_DRIVE EQU 3 ;AN111;JW | ||
| 65 | LEN_ALT_KYBD_ID EQU 3 ;AN000; | ||
| 66 | ; Equates from MACROS6.INC ; | ||
| 67 | ; | ||
| 68 | ; | ||
| 69 | ; Equates from ROUTINES.ASM ; | ||
| 70 | STDOUT EQU 1 ;AN000; | ||
| 71 | STDERR EQU 2 ;AN000; | ||
| 72 | EXEC_DIR EQU 1 ;AN000; | ||
| 73 | EXEC_NO_DIR EQU 0 ;AN000; | ||
| 74 | ; | ||
| 75 | ; Equates from SELECT.SKL ; | ||
| 76 | MSG_INV_DOS EQU 1 ;AN000; | ||
| 77 | MSG_INV_BOOT_MEDIA EQU 4 ;AN000; | ||
| 78 | MSG_INV_DISK_MEDIA EQU 5 ;AN000; | ||
| 79 | MSG_INV_PARMS EQU 6 ;AN000; | ||
| 80 | MSG_INV_INSTALL EQU 7 ;AN000; | ||
| 81 | MSG_LOADING EQU 8 ;AN000; | ||
| 82 | MSG_RELOADING EQU 9 ;AN000; | ||
| 83 | ; | ||
| 84 | ; Equates for SEL_FLG (DB) in PRN_DEF.ASM | ||
| 85 | ; SEL_FLG DB 0 | ||
| 86 | INSTALLRW EQU 80H ;AN000;The INSTALL diskette is read/write | ||
| 87 | |||