
;
; file: msextrn.asm
;
;  This file list the external variable used in the bio.
;

	EXTRN	ORIG13:DWORD,ORIG19:DWORD
	EXTRN	COM2DEV:WORD,COM1DEV:WORD
	EXTRN	COM4DEV:WORD,COM3DEV:WORD				  ;3.30
	EXTRN	LPT3DEV:WORD,LPT2DEV:WORD,LPT1DEV:WORD
	EXTRN	HARDDRV:BYTE,HARDNUM:BYTE,DRVMAX:BYTE,HDSKTAB:WORD
	EXTRN	DSKDRVS:WORD,HNUM:BYTE,EOT:BYTE,FHAVE96:BYTE
	EXTRN	REAL13:DWORD,DAYCNT:WORD,CONHeader:WORD
	EXTRN	TWOHARD:BYTE,INT_2F_NEXT:DWORD
	EXTRN	BDSH:WORD,BDSX:WORD,START_BDS:DWORD
	EXTRN	FHAVEK09:BYTE, NEW_ROM:BYTE
	EXTRN	Single:BYTE
	EXTRN	BDSMs:BYTE		;for Mini Disk  4/7/86	  ;3.30
	EXTRN	HaveCMOSClock:byte	;set by MSINIT. Used by MSCLOCK.AS;3.30 M
	EXTRN	BinToBCD:word		;set by MSINIT. Used by MSCLOCK.AS;3.30 M
	EXTRN	DaycntToDay:word	;set by MSINIT. Used by MSCLOCK.AS;3.30 M

	if test
	  IFNDEF NUMBUF 						  ;3.30
	    EXTRN   NUMBUF:BYTE,DIGITS:BYTE,FTESTBITS:WORD
	  ENDIF 							  ;3.30
	endif

	EXTRN	START$:NEAR,ERROUT:NEAR,BLOCK13:FAR,INT19:FAR
	EXTRN	INTRET:NEAR,HDRIVE:NEAR,DRIVEX:NEAR,INT13:FAR,CBREAK:NEAR,OUTCHR:NEAR
	EXTRN	DISKRD:NEAR,MEDIA_PATCH:NEAR,GETBP1_PATCH:NEAR
	EXTRN	SET_PATCH:NEAR,DISKIO_PATCH:NEAR,DSKERR:NEAR,INIT_PATCH:NEAR
	EXTRN	TABLE_PATCH:NEAR,EXIT:NEAR,CHANGED_PATCH:NEAR
	EXTRN	ERRIN:NEAR,GETBP:NEAR,SWPDSK:NEAR			  ;3.30
	EXTRN	OUTCHR:NEAR,WRMSG:NEAR,time_to_ticks:near
	EXTRN	INT2F_DISK:NEAR,INSTALL_BDS:NEAR,SETDRIVE:NEAR

	if test
	  IFNDEF NUMBUF 						  ;3.30
	    EXTRN   MSGNUM:NEAR,MSGOUT:NEAR,dumpbytes:near,hex_to_ascii:near ;3.30
	    EXTRN   outchar:near					  ;3.30
	  ENDIF 							  ;3.30
	endif

SYSINITSEG SEGMENT PUBLIC 'SYSTEM_INIT'
	ASSUME	CS:SYSINITSEG

	EXTRN	CURRENT_DOS_LOCATION:WORD
	EXTRN	FINAL_DOS_LOCATION:WORD
	EXTRN	DEVICE_LIST:DWORD
	EXTRN	MEMORY_SIZE:WORD
	EXTRN	DEFAULT_DRIVE:BYTE
	EXTRN	BUFFERS:WORD
	EXTRN	SYSINIT:FAR
SYSINITSEG	ENDS

	ASSUME	CS:CODE 						  ;3.30

;
; End of disk modules for configuration
;
	EXTRN	End96tpi:byte
	EXTRN	EndTwoHard:byte
	EXTRN	EndOneHard:byte
	EXTRN	EndSwap:byte
	EXTRN	EndFloppy:byte
;
; IBM fixed up AT ROM
;
	EXTRN	IBM_DISK_IO:FAR

