home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ZSYS
/
SIMTEL20
/
ZSIG
/
Z3EMX.LBR
/
ZCPR3.DIF
< prev
Wrap
Text File
|
2000-06-30
|
896b
|
33 lines
5a 27917
* MODIFIED: Uses MAXDRV and MAXUSER memory locations at *
* 03DH and 03FH respectively, in place of the *
* MAXDISK and MAXUSR equates in Z3HDR.LIB. *
* In order to use this modification, your BIOS *
* MUST initialize these addresses. *
* John C. Smith 11/24/84 *
* *
MAXDRV EQU 03DH ; *
MAXUSER EQU 03FH ; *
* *
.
931,932c 30774
MOV B,A ; PUT IN B
LDA MAXDRV ; GET MAX DRIVE
ADI 1 ; OFFSET BY ONE TO AGREE
CMP B ; WITHIN RANGE?
MOV A,B ; RESTORE DRIVE NUMBER TO A
; CPI MAXDISK+1 ;WITHIN RANGE?
JRC DUSE1 ;INVALID DISK NUMBER
.
965,966c 22449
MOV B,A ; PUT IT IN B
LDA MAXUSER ; GET MAX NUMBER OF USERS
SUI 1 ; CORRECT OFFSET
CMP B ; IS IT WITHIN RANGE?
MOV A,B ; RESTORE USER NUMBER IN A
; CPI MAXUSR+1 ;WITHIN LIMIT?
JRC DUSE1
.
$a 57051
.
G■┬fGx├<G⌡:é╖╩ G┼╒σ*╝7N═τJ*╝7δ═