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