DataMuseum.dk

Presents historical artifacts from the history of:

CP/M

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

See our Wiki for more about CP/M

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦e98f8a4dd⟧ TextFile

    Length: 896 (0x380)
    Types: TextFile
    Names: »ECHOVERS.ASM«

Derivation

└─⟦21f5a1bd4⟧ Bits:30003500 CP/M Plus (tm) Version 3.0 BIOS Revision F
    └─ ⟦this⟧ »ECHOVERS.ASM« 
└─⟦67f37b9ce⟧ Bits:30003503 JET80/W20FT systemdisk
    └─ ⟦this⟧ »ECHOVERS.ASM« 
└─⟦7303e23ba⟧ Bits:30003507 JET80 System diskette
    └─ ⟦this⟧ »ECHOVERS.ASM« 
└─⟦a844860b7⟧ Bits:30002858 CP/M Plus (tm) Version 3.0 for JET80
    └─ ⟦this⟧ »ECHOVERS.ASM« 
└─⟦c10cc8855⟧ Bits:30002859 CP/M Plus med Hit & Dit filoverførsel for JET80
    └─ ⟦this⟧ »ECHOVERS.ASM« 

TextFile

	; ECHOVERS RSX

pstring	equ	9			; string print function
cr	equ	0dh
lf	equ	0ah
;
;		RSX PREFIX STRUCTURE
;
	db	0,0,0,0,0,0		; room for serial number
	jmp	ftest			; begin of program
next	db	0c3H			; jump
        dw	0			; next module in line
prev:	dw	0			; previous module
remov:	db	0ffh			; remove flag set
nonbnk:	db	0
	db	'ECHOVERS'
space:	ds	3

ftest:					; is this function 12?
	mov 	a,c 
	cpi 	12 
	jz 	begin			; yes - intercept
        jmp 	next			; some other function 

begin:
	lxi 	h,0	
	dad 	sp 			;save stack
	shld 	ret$stack
	lxi 	sp,loc$stack

	mvi 	c,pstring 
	lxi 	d,test$msg		; print message
	call 	next			; call BDOS

	lhld 	ret$stack 		; restore user stack
	sphl
	lxi 	h,0031h			; return version number = 0031h
	ret

test$msg:
	db	cr,lf,'**** ECHOVERS **** $'
ret$stack:	
	dw	0
	ds	32			; 16 level stack
loc$stack:
	end
«eof»