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
/
ZSYSARK
/
Z3HLP02.ARK
/
S.LBR
/
STATPAT.HZP
/
STATPAT.HLP
Wrap
Text File
|
1990-03-23
|
1KB
|
31 lines
;
STATPAT.Z80
Size (recs) CRC Version Author/Latest Issue Disk
3k (23) 346A 2.0 Howard Goldstein 8/87 Z3COM8
1- Assembly
STATPAT.Z80 patches STAT.COM to work under ZCPR 3.3.
Some of the options of DRI's STAT.COM do not work under ZCPR 3.3. In
particular, the options that end with a colon, such as DSK: DEV:, etc., fail
because of the way Z33 sets up the default FCB's when it can't resolve a
directory spec. (That's what it thinks these commands are!) The code in this
patch checks the bad directory flag in the first default FCB. If it is set
and the file name field is blank, this code makes the file name nonblank and
clears the drive byte. When STAT sees the FCB set up in this way, it assumes
that one of its special commands is present. It then processes the command
by reading it from the command tail.
:1
Installation:
To install this patch, 1) assemble to a HEX file
2) overlay STAT.COM using MLOAD or a debugger:
MLOAD STAT.COM=STAT.COM,STATPAT.HEX