cj7hawk
Veteran Member
Hi All,
I was just looking at some of the BDOS behavior on create-file and noted that it sets S2 to 80 when I open a file.
This vanishes the moment I do a serial write ( or a random write ) - It only happens while the file is empty.
It also affects the operation of close if I don't sequential or random write...
Can anyone explain the reason S2 is set to 80, and what it's purpose in CP/M 2.2 is with respect to creating an empty file?
Thanks
David
I was just looking at some of the BDOS behavior on create-file and noted that it sets S2 to 80 when I open a file.
This vanishes the moment I do a serial write ( or a random write ) - It only happens while the file is empty.
It also affects the operation of close if I don't sequential or random write...
Can anyone explain the reason S2 is set to 80, and what it's purpose in CP/M 2.2 is with respect to creating an empty file?
Thanks
David