; DaffExtD.d
; Last modified July 26, 1983  5:00 PM by Diebert

; These are the external references for the Daffodil RAM memory assignments

	EXTRN	DataSegment:	 WORD

; These are used to hold the registers of the debugee upon entry to 
; the monitor.

	EXTRN	RegSaveArea:	WORD

	EXTRN	RegAX:	WORD
	EXTRN	RegBX:	WORD
	EXTRN	RegCX:	WORD
	EXTRN	RegDX:	WORD
	EXTRN	RegSP:	WORD
	EXTRN	RegBP:	WORD
	EXTRN	RegCI:	WORD
	EXTRN	RegDI:	WORD
	EXTRN	RegCS:	WORD
	EXTRN	RegDS:	WORD
	EXTRN	RegSS:	WORD
	EXTRN	RegES:	WORD
	EXTRN	RegFR:	WORD
	EXTRN	RegXS:	WORD
	EXTRN	RegYS:	WORD
	EXTRN	RegIP:	WORD

; These words are used by DDM to save target state between invocations
; of the debugger.
; TargetSeg	is used to remember the Segment to be used
; TargetOffset	is used to remember the offset into SegWord segment
; TargetMode	is used to remember the address space we are using.
;		(I/O, Reg or Memory)

	EXTRN	TargetSeg:	WORD
	EXTRN	TargetOffset:	WORD
	EXTRN	TargetMode:	BYTE

; The following is used as a breakpoint table consisting of an entry for the
; segment, offset and the OP byte that was replaced.

	EXTRN	BkptSeg:	WORD
	EXTRN	BkptOffset:	WORD
	EXTRN	BkptOPcode:	BYTE
	EXTRN	BkptEntries:	BYTE

; Area used by the com software for an input buffer.

	EXTRN	StrLen:	BYTE
	EXTRN	InStr:		BYTE

; These are usefull temp regs.
	EXTRN	Temp:	BYTE
	EXTRN	TempWord:	WORD