summaryrefslogtreecommitdiff
path: root/v2.0/source/SYSMES.ASM
diff options
context:
space:
mode:
Diffstat (limited to 'v2.0/source/SYSMES.ASM')
-rw-r--r--v2.0/source/SYSMES.ASM51
1 files changed, 51 insertions, 0 deletions
diff --git a/v2.0/source/SYSMES.ASM b/v2.0/source/SYSMES.ASM
new file mode 100644
index 0000000..c7dea6d
--- /dev/null
+++ b/v2.0/source/SYSMES.ASM
@@ -0,0 +1,51 @@
1 TITLE Message file for MS-DOS SYS Program
2
3FALSE EQU 0
4TRUE EQU NOT FALSE
5
6 INCLUDE DOSSYM.ASM
7
8Message MACRO label,text
9 PUBLIC label,label&Len
10label DB text
11label&Len DW $-label
12ENDM
13
14
15IBMJAPVER EQU FALSE
16
17CONST SEGMENT PUBLIC BYTE
18
19; only this message must be terminated with a $
20 PUBLIC BadVer
21BADVER DB "Incorrect DOS version",13,10,"$"
22
23 IF IBMJAPVER
24 Message BadDisk,<"Destination disk cannot be booted">
25 ENDIF
26
27 Message BadDrv,<"Invalid drive specification">
28 Message BadParm,<"Invalid parameter">
29 Message NoDest,<"No room for system on destination disk">
30 Message BadSiz,<"Incompatible system size">
31 Message Done,<"System transferred">
32
33 PUBLIC GetSys,SysDrv,GetSysLen
34GETSYS DB "Insert system disk in drive "
35SYSDRV DB "A",13,10
36 DB "and strike any key when ready",13,10
37GetSysLen DW GetSysLen-GetSys
38
39CONST ENDS
40
41DATA SEGMENT BYTE PUBLIC
42DATA ENDS
43
44CODE SEGMENT
45DG GROUP CODE,CONST,DATA
46 ASSUME CS:DG,DS:DG,ES:DG,SS:DG
47
48CODE ENDS
49 END
50
51 \ No newline at end of file