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

⟦34e91c8b4⟧ TextFile

    Length: 1920 (0x780)
    Types: TextFile
    Names: »ZEXCP.LIB«

Derivation

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

TextFile

;
; Fixed address and constant definitions for ZEX
;
; Include this file in 8080 or Z8002 modules
; containing the patches for ZEX.
;
BDOS	EQU	5

TPA	EQU	256	; Start of Transient Area
ENTRYP	EQU	4092	; (%0FFC) Entry point stored here
ZTPA	EQU	4096	; (%1000) Start of Z-8000 Transient Area

; Fixed locations

;
; user entry points
;
SETSEG	EQU	TPA+4	; Pointer to SETSEG routine
SETUPZ	EQU	TPA+6	; Pointer to SETUPZ routine
RUNZ	EQU	TPA+8	; Pointer to RUNZ routine
HOSTZ	EQU	TPA+10	; Pointer to Z-8000 HOSTZ routine
USERSC	EQU	TPA+12	; Pointer to Z-8000 auxiliary system call routine.
USERAR	EQU	TPA+14	; Start of available patch area
;
; Z-8000 Communication Area
;
ZCOM	EQU	TPA+64	; (%140)
ZCODE	EQU	TPA+65	; (141 hex) ZCODE - function for ZEX
ZDATA	EQU	ZCODE+1	; 16-bit data to pass between processors
REGPSW	EQU	ZCODE+3	; Host PSW contents
REGA	EQU	ZCODE+3
REGF	EQU	ZCODE+4
REGBC	EQU	ZCODE+5
REGB	EQU	ZCODE+5
REGC	EQU	ZCODE+6
REGDE	EQU	ZCODE+7
REGD	EQU	ZCODE+7
REGE	EQU	ZCODE+8
REGHL	EQU	ZCODE+9
REGH	EQU	ZCODE+9
REGL	EQU	ZCODE+10
;
ZEX	EQU	TPA+80	; (%150) ZEX Entry
ZMON	EQU	TPA+1024 ; (%500) Start of Z-8000 Monitor
PSA	EQU	TPA+2560 ; (%B00) Start of Program Status Area
;
;
; ZCODE messages
;
ZLOAD	EQU	2	; Load an object file
HEXIT	EQU	3	; Z-8000 exit through warm boot
HOSTOS	EQU	4	; Call CP/M BDOS
;

; CP/M Functions

CIN	EQU	1
COT	EQU	2
MSG	EQU	9	; Console message
BIN	EQU	10	; Input console buffer
CST	EQU	11	; Console Status
SEL	EQU	14	; Select Disk
OPN	EQU	15	; Open file
CLS	EQU	16	; Close file
SRH	EQU	17	; Search for file
SRN	EQU	18	; Search for next file
DEL	EQU	19	; Delete file
RDS	EQU	20	; Read sequential
WTS	EQU	21	; Write sequential
MAK	EQU	22	; Make file
REN	EQU	23	; Rename a file
CUR	EQU	25	; Return current disk
DMA	EQU	26	; Set DMA address

«eof»