; /****************************************************************************
; **
; **  Name:  SREC.DEF
; **
; **  Description:
; **      Module definition file for Srecord Loader.
; **
; **  Status:  CODED
; **
; **  $Log:   S:/tbird/mt2_68k/loader/srec/srec.dev  $
; ** 
; **    Rev 1.0   30 Sep 1997 16:03:32   gene
; ** Initial revision.
; ** 
; **    Rev 1.12   13 Jul 1993 09:46:28   ernie
; ** Added imports for LdrQueue... functions used for writing memory
; ** 
; **    Rev 1.11   28 Jun 1993 10:55:00   ron
; ** changing MessageBox to ErrMessageBox and adding a Help Button/Help Entry
; ** 
; **    Rev 1.10   12 Feb 1993 18:13:50   nghia
; ** Added sdserver.SdnRead/WritePartial/FullMember imports.
; ** 
; **    Rev 1.9   04 Nov 1992 17:43:32   courtney
; ** Remove entry point for cli invocation (not used).
; ** 
; **    Rev 1.8   04 Nov 1992 17:41:02   courtney
; ** Add import ErrDisplayErrorString.
; ** 
; **    Rev 1.7   22 Oct 1992 16:13:46   courtney
; ** Added imports from error text server.
; ** 
; **    Rev 1.6   25 Sep 1992 21:07:18   courtney
; ** Added symbol imports.
; ** 
; **    Rev 1.5   25 Sep 1992 05:44:36   courtney
; ** Update spelling of entry point; add imports.
; ** 
; **    Rev 1.4   21 Aug 1992 10:27:30   courtney
; ** Update imports.
; ** 
; **    Rev 1.3   14 Jan 1992 19:18:28   courtney
; ** Revised Symbol Server imports from symbas to symbl to reflect DLL name.
; ** 
; **    Rev 1.2   14 Jan 1992 18:23:22   courtney
; ** Added PRELOAD to CODE/DATA definition statements to remove
; ** warnings when resource-compiling.
; ** 
; **    Rev 1.1   14 Jan 1992 18:17:54   courtney
; ** Added explicit imports to Shared Data Server routines.
; ** 
; **    Rev 1.0   31 Dec 1991 09:37:32   courtney
; ** Initial revision.
; ** 
; **  $Header:   S:/tbird/mt2_68k/loader/srec/srec.dev   1.0   30 Sep 1997 16:03:32   gene  $
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; *****************************************************************************/
LIBRARY	     SREC
DESCRIPTION  'Srecord Loader'
EXETYPE      WINDOWS
STUB	     'WINSTUB.EXE'

CODE  PRELOAD MOVEABLE DISCARDABLE
DATA  PRELOAD MOVEABLE SINGLE

HEAPSIZE     8192

EXPORTS	
	LibMain     		@1					; initialization
	WEP	    			@2	RESIDENTNAME	; termination
	SldLoadWin		    @3
	InitCServer			@4

IMPORTS
    symbl.SymAddBaseCreate
    symbl.SymAddLabel
    symbl.SymAddLabelPublic
    symbl.SymRemoveSymbols
    symbl.SymAddLoadEnd
    symbl.SymAddTypeOverwriteSize
    symbl.SymAddLoadStart

    sdserver.SdRegisterSemaphore
    sdserver.SdGetMemberIndex
    sdserver.SdRegister
    sdserver.SdnRegister
    sdserver.SdUnRegister
    sdserver.SdUnRegisterSemaphore
    sdserver.SdWriteMember
    sdserver.SdReadMember
    sdserver.SdWritePartialMember
    sdserver.SdWriteCmdReadResponse
    sdserver.SdnReadMember
    sdserver.SdnReadPartialMember
    sdserver.SdnWriteMember
    sdserver.SdnWritePartialMember

    malloc.TMalloc
    malloc.TFree

    errtext.ErrInitDLL
    errtext.ErrDisplayError
    errtext.ErrDisplayErrorEx
    errtext.ErrDisplayString
    errtext.ErrMessageBox

    mem.MemGetAccessSize
    mem.MemGetVerifyWrites

    enlib.EnlEventNotify

    ld695.LdrQueueInit
    ld695.LdrQueueWait
    ld695.LdrQueueFlush
    ld695.LdrQueueSetAddressRecord
    ld695.LdrQueueDataRecord
    ld695.LdrQueueCheckLoadAbort
    ld695.LdrQueueGetLoadAbort
