File OVRLAY.

Directory of image this file is from
This file as a plain text file

/OVERLAY SUBROUTINE
/MOVE OVERLAY FILENAME TO 'OVERNAME'
OVERSUB,	0;0
	OPEN	;DEVICE SYS
OVERNAME,	FILENAME  OVRLAY.SV ;OVERLAY
	LOAD2-1	;OVERLAY
	READAB		/GET CONTROL BLOCK
	LOAD2-1	;XAREA+4	/CORE ADDR, PAGES, FIELD.
	STORE2	;OVERTEMP
	LOAD1	;OVERTEMP+1
	ADDIM	;64	/0100, +1 PAGE
	SHIFTR 7	/NO.OF BLOCKS
	STORE1	;OVERBL
	LOAD1	;OVERTEMP+1
	ANDIM	;56	/0070
	ADDIM	;MOVE-9	/FIELD ZERO
	STORE1	;INMOVE
OVERLOOP,	INCREM-1;OVERLAY+1  /BLOCK
	LOAD2-1	;OVERLAY
	READAB
	LOADX2	;OVERTEMP
INMOVE,	MOVE-1	;XAREA	;0;256
	LOADIM	;256
	ADDTO1	;OVERTEMP	/CORE ADDRESS
	GOIFZO	;OVERSUB;OVERBL
	DECGOZ	;OVERSUB;OVERBL	/MORE BLOCKS?
	GOTO	;OVERLOOP
OVERTEMP,	0;0
OVERBL,	0



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search