OSWORD &52
OSWORD &52 (82 ) - Initialise file buffer DVR
On entry: XY+0..1=a heap handle XY+2 =access flags (&80=writable, &40=readable) XY+3 =file handle, or zero for a memory file On exit: XY is the buffer handle C is set and X contains a failure code if the call failed. Failure codes are: 1 = Memory claim failed 2 = OSGBPB call failed 3 = access failed 4 = EOF detected 5 = Memory release failed (heap corrupt)
See Also
Jgharston 13:42, 26 May 2009 (UTC)