PAGE 74,97
	TITLE	Daffodil Data Segment
; DaffData.asm
; Last modified July 26, 1983  4:59 PM by Diebert

; This is the main module for the Daffodil RAM memory assignments

DataSegment	SEGMENT	PUBLIC 'DataSegment'


; This area is used to hold the registers of the debugee upon entry to 
; the monitor.

	PUBLIC	RegSaveArea
	PUBLIC	RegAX
	PUBLIC	RegBX
	PUBLIC	RegCX
	PUBLIC	RegDX
	PUBLIC	RegSP
	PUBLIC	RegBP
	PUBLIC	RegSI
	PUBLIC	RegDI
	PUBLIC	RegCS
	PUBLIC	RegDS
	PUBLIC	RegSS
	PUBLIC	RegES
	PUBLIC	RegFR
	PUBLIC	RegXS
	PUBLIC	RegYS
	PUBLIC	RegIP

RegSaveArea	LABEL	WORD
RegAX	DW	?
RegBX	DW	?
RegCX	DW	?
RegDX	DW	?
RegSP	DW	?
RegBP	DW	?
RegSI	DW	?
RegDI	DW	?
RegCS	DW	?
RegDS	DW	?
RegSS	DW	?
RegES	DW	?
RegFR	DW	?
RegXS	DW	?
RegYS	DW	?
RegIP	DW	?


; 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)

		PUBLIC	TargetSeg
		PUBLIC	TargetOffset
		PUBLIC	TargetMode
TargetSeg	DW	?
TargetOffset	DW	?
TargetMode	DB	?

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

		PUBLIC	BkptSeg
		PUBLIC	BkptOffset
		PUBLIC	BkptOPcode
		PUBLIC	BkptEntries
		EVEN
BkptSeg	DW	8 DUP (?)
BkptOffset	DW	8 DUP (?)
BkptOPcode	DB	8 DUP (?)

BkptEntries	DB	?


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

		PUBLIC	StrLen
		PUBLIC	InStr
		EVEN
StrLen		DB	?
InStr		DB	128 DUP (?)

; These are usefull temp regs.
		PUBLIC	Temp
		PUBLIC	TempWord
Temp		DB	?
		EVEN
TempWord	DW	?
DataSegment	ENDS
END