DataMuseum.dk

Presents historical artifacts from the history of:

Bogika Butler

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Bogika Butler

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦702c4c55b⟧ TextFile

    Length: 1024 (0x400)
    Types: TextFile
    Names: »ZLDNULCP.ASM«

Derivation

└─⟦63c65de3f⟧ Bits:30009789/_.ft.Ibm2.50007335.imd Mogens Pelles Zilog 80,000 / EOS projekt
    └─⟦this⟧ »ZLDNULCP.ASM« 

TextFile

;   Default User Routines for ZLD and ZLDX, v1.1

;
; The first 256 bytes of ZLD and ZLDX is available for these
;  routines.
;

	MACLIB	ZEXCP

	ORG	TPA+3
	JMP	STSEGT
	JMP	SETPRG
	JMP	SETDAT
	JMP	LOAD

STSEGT:
	; Enter your hardware dependent code here to
	;  set the memory segment number to the 7-bit
	;  value in register "C" for subsequent calls to LOAD.
	RET

SETPRG:
	; Enter code here to cause all further calls to LOAD to
	; be directed to the Program memory space.

	RET

SETDAT:
	; This routine is used to direct memory loads to the Data
	;  area of memory.

	RET

LOAD:
	; This routine is responsible for "loading" one byte of
	;  information (given in reg "C") to the memory offset
	;  given in reg "DE".
	; This version loads into the host computer memory space.

	MOV	A,C
	STAX	D
	RET

	IF	($-TPA) > 256
	ERROR	'User routines too big!'
	ENDIF

	END
«eof»