DOS 3.30 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

95 lines
1.7 KiB

; SCCSID = @(#)sysmes.asm 1.4 85/10/03
TITLE Message file for MS-DOS SYS Program
FALSE EQU 0
TRUE EQU NOT FALSE
;IBMJAPVER EQU FALSE
;IBMVER EQU TRUE
;MSVER EQU FALSE
;IBMCOPYRIGHT EQU FALSE
include version.inc
addr macro sym,name
public name
ifidn <name>,<>
dw offset dg:sym
else
name dw offset dg:sym
endif
endm
CODE SEGMENT BYTE PUBLIC
CODE ENDS
CONST SEGMENT BYTE PUBLIC
CONST ENDS
DATA SEGMENT BYTE PUBLIC
DATA ENDS
DG GROUP CODE,DATA,CONST
CONST SEGMENT PUBLIC BYTE
PUBLIC BadVer, sysdrv, TargDrv, GetTarg_ptr
PUBLIC NotNetM_ptr
include messages.inc
IF IBMJAPVER
Public Baddisk_ptr
ENDIF
;
; In order to allow SYS to work on disks that have been formatted on another
; MSDOS system, we use the following variables which can be set up accordingly
; before assembling and linking the variuos files for SYS.
;
; Name of system files to be written to the disk
; File names must be terminated with a NULL.
;
Public SourceBIOSFile,SourceDOSFile
IF IBMCOPYRIGHT
SourceBIOSFile db "IBMBIO.COM",0
SourceDOSFile db "IBMDOS.COM",0
ELSE
SourceBIOSFile db "IO.SYS",0
SourceDOSFile db "MSDOS.SYS",0
ENDIF
;
; Tables of files to search for on destination disk
; NOTES: Each entry MUST be exactly 12 bytes long, with extra fields filled with
; NULLs.
; The files should be in corresponding order in the two tables.
; The end-of-table is indicated by an entry of -1.
;
Public BIOSNamesTable,DOSNamesTable
IF IBMCOPYRIGHT
BIOSNamesTable db "IBMBIO.COM",0,0
db -1
DOSNamesTable db "IBMDOS.COM",0,0
db -1
ELSE
BIOSNamesTable db "IO.SYS",0,0,0,0,0,0
db -1
DOSNamesTable db "MSDOS.SYS",0,0,0
db -1
ENDIF
CONST ENDS
END