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/DEV/RAMDRIVE/MESSAGES.ASM | |
| 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/DEV/RAMDRIVE/MESSAGES.ASM')
| -rw-r--r-- | v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM b/v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM new file mode 100644 index 0000000..66c528b --- /dev/null +++ b/v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | TITLE MESSAGE MODULE FOR RAMDRIVE.ASM | ||
| 2 | ; | ||
| 3 | ; WRITTEN BY S. P. 3/3/87 | ||
| 4 | ; | ||
| 5 | PAGE 58,132 | ||
| 6 | |||
| 7 | BREAK MACRO subtitle | ||
| 8 | SUBTTL subtitle | ||
| 9 | PAGE | ||
| 10 | ENDM | ||
| 11 | |||
| 12 | BREAK <messages and common data> | ||
| 13 | |||
| 14 | RAMCODE SEGMENT | ||
| 15 | ASSUME CS:RAMCODE,DS:RAMCODE,ES:NOTHING,SS:NOTHING | ||
| 16 | |||
| 17 | ;** Message texts and common data | ||
| 18 | ; | ||
| 19 | ; Init data. This data is disposed of after initialization. | ||
| 20 | ; it is mostly texts of all of the messages | ||
| 21 | ; | ||
| 22 | ; COMMON to TYPE 1,2,3 and 4 drivers | ||
| 23 | ; | ||
| 24 | ; THIS IS THE START OF DATA SUBJECT TO TRANSLATION | ||
| 25 | |||
| 26 | PUBLIC NO_ABOVE,BAD_ABOVE,BAD_AT,NO_MEM,ERRMSG1,ERRMSG2 | ||
| 27 | PUBLIC ERRMSG2,INIT_IO_ERR,BADVERMES | ||
| 28 | PUBLIC HEADERMES,PATCH2X,DOS_DRV | ||
| 29 | PUBLIC STATMES1,STATMES2,STATMES3,STATMES4,STATMES4,STATMES5 | ||
| 30 | |||
| 31 | NO_ABOVE db "RAMDrive: Expanded Memory Manager not present",13,10,"$" | ||
| 32 | BAD_ABOVE db "RAMDrive: Expanded Memory Status shows error",13,10,"$" | ||
| 33 | BAD_AT db "RAMDrive: Computer must be PC-AT, or PC-AT compatible",13,10,"$" | ||
| 34 | NO_MEM db "RAMDrive: No extended memory available",13,10,"$" | ||
| 35 | ERRMSG1 db "RAMDrive: Invalid parameter",13,10,"$" | ||
| 36 | ERRMSG2 db "RAMDrive: Insufficient memory",13,10,"$" | ||
| 37 | INIT_IO_ERR db "RAMDrive: I/O error accessing drive memory",13,10,"$" | ||
| 38 | BADVERMES db 13,10,"RAMDrive: Incorrect DOS version",13,10,"$" | ||
| 39 | |||
| 40 | ; | ||
| 41 | ; This is the Ramdrive header message. THE MESSAGE IS DYNAMICALLY | ||
| 42 | ; PATCHED AT RUNTIME. The DOS drive letter of the RAMDRIVE | ||
| 43 | ; is patched in at DOS_DRV for DOS versions >= 3.00. For | ||
| 44 | ; DOS versions < 3.00 the three bytes 13,10,"$" are placed | ||
| 45 | ; at the label PATCH2X eliminating the drive specifier since | ||
| 46 | ; this information cannot be determined on 2.X DOS. | ||
| 47 | ; NO PART OF THIS MESSAGE WHICH MUST BE PRINTED ON ALL VERSIONS | ||
| 48 | ; OF DOS CAN BE PLACED AFTER THE LABEL PATCH2X. This may cause | ||
| 49 | ; translation problems for some languages, if this is so | ||
| 50 | ; the only solution is to eliminate the drive letter part of | ||
| 51 | ; the message totally for ALL DOS versions: | ||
| 52 | ; | ||
| 53 | ; HEADERMES db 13,10,"Microsoft RAMDrive version 1.17 " | ||
| 54 | ; PATCH2X db 13,10,"$" | ||
| 55 | ; DOS_DRV db "A" | ||
| 56 | ; | ||
| 57 | ; | ||
| 58 | HEADERMES db 13,10,"Microsoft RAMDrive version 2.12 " | ||
| 59 | PATCH2X db "virtual disk " | ||
| 60 | DOS_DRV db "A" | ||
| 61 | db ":",13,10,"$" | ||
| 62 | |||
| 63 | ; | ||
| 64 | ; This is the status message used to display RAMDRIVE configuration | ||
| 65 | ; it is: | ||
| 66 | ; | ||
| 67 | ; STATMES1<size in K>STATMES2<Sector size in bytes>STATMES3 | ||
| 68 | ; <sectors per alloc unit>STATMES4<Number of root dir entries> | ||
| 69 | ; STATMES5 | ||
| 70 | ; | ||
| 71 | ; It is up to translator to move the message text around the numbers | ||
| 72 | ; so that the message is printed correctly when translated | ||
| 73 | ; | ||
| 74 | STATMES1 db " Disk size: $" | ||
| 75 | STATMES2 db "k",13,10," Sector size: $" | ||
| 76 | STATMES3 db " bytes",13,10," Allocation unit: $" | ||
| 77 | STATMES4 db " sectors",13,10," Directory entries: $" | ||
| 78 | STATMES5 db 13,10,"$" | ||
| 79 | |||
| 80 | |||
| 81 | RAMCODE ENDS | ||
| 82 | END | ||