I wonder if there's a mistake at the bottom of page 340 (replicated from the original):
OSGBPB 1 is "write bytes to file", using the pointer location specified in the OSGBPB block and ignoring the current pointer (ie. the value of PTR#)
OSGBPB 2 is "append bytes to file", using the current pointer location (PTR#) and ignoring any location specified in the OSGBPB block
So the AUG reads to me like they've got 1 & 2 the wrong way round. Or at least, it's sufficiently unclear as to the meaning to need re-wording maybe to explicitly say the call uses or ignores the pointer location in the command block.
OSGBPB 1 is "write bytes to file", using the pointer location specified in the OSGBPB block and ignoring the current pointer (ie. the value of PTR#)
OSGBPB 2 is "append bytes to file", using the current pointer location (PTR#) and ignoring any location specified in the OSGBPB block
So the AUG reads to me like they've got 1 & 2 the wrong way round. Or at least, it's sufficiently unclear as to the meaning to need re-wording maybe to explicitly say the call uses or ignores the pointer location in the command block.
Statistics: Posted by BeebMaster — Mon Apr 29, 2024 11:50 pm