Routine Name: ZCPRQ
Function�
Thi� routin� return� � pointe� t� th� firs� byt� o� th� �
firs� ZCPR� module� interna� buffers�� Thes� buffer� contai� ke� �
informatio� necessar�� fo� th� prope� operatio� o� thi� se� o� �
ZCPR2 routines. The structure of this buffer area is:
Byte 0: Multiple Command Flag; 0 says no multiple
command line buffer is available (No
command line is assumed)
Bytes 1-2: Address of Multiple Command Line
Buffer if it is available
Bytes 3-4: Address of ZCPR2 External Path
(Points to an empty path if not
initialized)
Byte 5: Current User/Disk Indicator ($ if not
initialized)
Bytes 6-7: DMA Address (80H assumed)
Routine Name: ZMCPTR
Function�
ZMCPTҠ return� � pointe� t� th� nex� characte� i� th� �
multipl� comman� lin� i� multipl� command� ar� enabled�� �� fla� �
is returned which says if multiple commands are enabled or not.
Inputs: None
Outputs: HL pts to next char in line
A=0 and Zero Flag Set (Z) if multiple commands
are not available; NZ otherwise
Registers Affected: HL, PSW
SYSLIB Routines Called: None
Specia� Erro� Conditions� None
Inputs: DE pts to the FCB of the file to find
B is a flag; if B <> 0, search the current disk and
user area first; if B=0, do not search the
current disk and user area first
ZPFIND, Con't
Outputs: Zero Flag Clear (NZ) and A=0FFH if file found
B = Disk (B=0 if Disk A), C=User if file found
Zero Flag Set (Z) and A=0 if file not found
Registers Affected: BC, PSW
SYSLIB Routines Called: BDOS
Specia� Erro� Conditions� None
:File Status Routine
Routine Name: ZFSTAT
Function�
ZFSTAԠ determine� th� attribute� o� th� fil� i� th� �
curren� dis� an� use� are� whos� FC� i� pte� t� b� DE�� I� tell� �
the programmer if the file is SYSTEM or not and READ/ONLY or not.
Inputs: DE pts to FCB of file
Outputs: B=0 means file is NOT System, B<>0 means file is
C=0 means file is NOT R/O, C<>0 means file is
Zer� Fla� Se� (Z� an� A=� i� fil� foun� an� BC
valid, and Zero Flag Clear (NZ) if file not
found
Registers Affected: BC, PSW
SYSLIB Routines Called: BDOS
Specia� Erro� Conditions� None
Note: ZFSTAT does NOT do a search.