summaryrefslogtreecommitdiff
path: root/v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM')
-rw-r--r--v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM82
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;
5PAGE 58,132
6
7BREAK MACRO subtitle
8 SUBTTL subtitle
9 PAGE
10ENDM
11
12BREAK <messages and common data>
13
14RAMCODE SEGMENT
15ASSUME 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
31NO_ABOVE db "RAMDrive: Expanded Memory Manager not present",13,10,"$"
32BAD_ABOVE db "RAMDrive: Expanded Memory Status shows error",13,10,"$"
33BAD_AT db "RAMDrive: Computer must be PC-AT, or PC-AT compatible",13,10,"$"
34NO_MEM db "RAMDrive: No extended memory available",13,10,"$"
35ERRMSG1 db "RAMDrive: Invalid parameter",13,10,"$"
36ERRMSG2 db "RAMDrive: Insufficient memory",13,10,"$"
37INIT_IO_ERR db "RAMDrive: I/O error accessing drive memory",13,10,"$"
38BADVERMES 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;
58HEADERMES db 13,10,"Microsoft RAMDrive version 2.12 "
59PATCH2X db "virtual disk "
60DOS_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;
74STATMES1 db " Disk size: $"
75STATMES2 db "k",13,10," Sector size: $"
76STATMES3 db " bytes",13,10," Allocation unit: $"
77STATMES4 db " sectors",13,10," Directory entries: $"
78STATMES5 db 13,10,"$"
79
80
81RAMCODE ENDS
82 END