	list	-l
;
; EMAXR.ASM	Top level
;
; Editor using the XEP80
;
; Version does ROM/RAM funnies to get more useful RAM size
;
;
RAMTOP	= $B600	; Upper limit of text memory - start of XEP80 driver
KILBUF	= $C000	; Bottom of kill buffer (4K in size)
KILLIM	= $C800	; Top of kill buffer
;
;Strings and buffer descrs are at $BC40-BFFF

	include D1:DEFS.ASM
	include D1:EMACRO.ASM

	list	l, i, m
	ORG  $400
	include D1:PAGE6.ASM

	ORG  $4000
START:
	include	D1:EMSET.ASM
	list -l

	ORG  $7000
	LOC  $C800
	include D1:TABLES.ASM	;chr trans and jump tables
EMINIT:
	include D1:EMINIT.ASM	;Sets user input to $6000

	include D1:ELIB.ASM
	include D1:FILER.ASM

eminex:	
		
	ORG  $8000		;Gap for hardware regs
	LOC  $D800

	include D1:BUFFER.ASM
MAIN:
	include D1:EDITOR.ASM
	include D1:EFUNC.ASM
	include D1:DRAWFAST.ASM
	include D1:ECTL1.ASM
	include D1:ECTL2.ASM

EMAXND:			;If this changes past E900, fix EMSET
	END START

;eof
