<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 15 Feb 1983 0959-:00PST
From   : Tom Carnahan <TCARNAHAN@usc-isie.arpa>
Subject: HELP...CP/M functions 27 &31

Can any of you CP/M oldtimers help me???


   I am currently writing a program that crossloads files between
two CP/M-based microcomputers.

I want the "receiving" computer to be able to query itself and
determine how many blocks are left on its own currently loggeed-in
disk(same sort of function as STAT except that the program makes
the call).

I have the Digital Research CP/M 2.0 Interface Guide and found the following:


Function 27:  GET ADDR(ALLLOC)
 Entry parms:
                REG C:   1BH
Returned value:
             REG HL:  ALLOC ADDRESS


Function 31:  GET ADDR (DISK PARMS)

  Entry parms:
              REG C:   1FH
Returned value:
            REG HL: DPB ADDRESS
______________________________________

I don't understand "what" is at those addresses (pointed to by the HL regs)
when I call these functions.

Any idea where the terms-
    ALLOC ADDRESS
    DPB ADDRESS
are explained? Or what they mean?


ANY AND ALL HELP WOULD BE GREATLY APPRECIATED.

                                   Sincerely,
                                    Tom
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>