From 2d04cacc5322951f187bb17e017c12920ac8ebe2 Mon Sep 17 00:00:00 2001 From: Mark Zbikowski Date: Thu, 25 Apr 2024 21:24:10 +0100 Subject: MZ is back! --- v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM | 82 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM (limited to 'v4.0/src/DEV/RAMDRIVE/MESSAGES.ASM') 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 @@ + TITLE MESSAGE MODULE FOR RAMDRIVE.ASM +; +; WRITTEN BY S. P. 3/3/87 +; +PAGE 58,132 + +BREAK MACRO subtitle + SUBTTL subtitle + PAGE +ENDM + +BREAK + +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: +; +; STATMES1STATMES2STATMES3 +; STATMES4 +; 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 -- cgit v1.2.3