Date : Tue, 31 Jul 1984 11:06:55-CDT
From : John Otken <CC.Otken@UTEXAS-20.ARPA>
Subject: Re: Problem with Creating a file & ASM "S" error
What you probably needed to do was to clear the CR field of the
FCB after the MAKE BDOS function call. This is documented under
the OPEN FILE function. Becareful with statements such as "according
to the documentation". My CP/M book sez the following for the
MAKE FILE function: "The FDOS creates the file and initializes both the
directory and the main memory value to an empty file. [...] The make
file function has the side effect of activating the FCB and thus a
subsequent open is not necessary." Well, I dont know about you but
*initializes ... the main memory value* doesn't mean anything to me.
And *activating the FCB* probably means what it meant for the OPEN
function which is that you still need to clear the CR field.
One thing is for sure, DDT is NOT responsible for messing with the
FCB unless, of course, you told him to do it.
While on the subject of DR docs... Another way to get the "S" error
from ASM is to use an instruction mnemonic as a label.
ALL INFORMATION PRESENTED HERE IS PROPRIETARY TO JOHN OTKEN [sic]