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

⟦56a4c07c0⟧ TextFile

    Length: 640 (0x280)
    Types: TextFile
    Names: »CALLVERS.ASM«

Derivation

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

TextFile

	; CALLVERS program

bdos	equ	5			; entry point for BDOS
prtstr	equ	9			; print string function
vers	equ	12			; get version function
cr	equ	0dh			; carriage return
lf	equ	0ah			; line feed

	org	100h
	mvi 	d,5			; Perform 5 times
loop:	push	d			; save counter
	mvi 	c,prtstr 
	lxi 	d,call$msg		; print call message
	call 	bdos
	mvi 	c,vers 
	call 	bdos			; try to get version #
					; CALLVERS will intercept
	mov 	a,l 
	sta	curvers
	pop 	d
	dcr 	d			; decrement counter
	jnz 	loop
	mvi 	c,0
	jmp 	bdos
call$msg:
	db	cr,lf,'**** CALLVERS **** $'
curvers	db	0
	end
«eof»