]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / DEV / RAMDRIVE / MESSAGES.ASM
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