Wiki Home >> N:-SIO-Command-$25---Point-in-File

N:-SIO-Command-$25---Point-in-File


N: SIO Command POINT

This is a command for Devices $71-$78 - The N: Device (see SIO-Commands-for-Device-IDs-$71-to-$78).

Command not implemented yet, see this ticket for more details:

Description

Set position within file.

Parameters

DCBValue
DDEVIC$71
DUNIT$01 - $04
DCOMND$25
DSTATS$80
DBUF24-bit long file position (upper 8 bits not used)
DTIMLO$0F
DBYT4
DAUX1not used
DAUX2not used

Examples

CC65


int pos;

OS.dcb.ddevic=0x71;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0x25;
OS.dcb.dstats=0x80;
OS.dcb.dbuf=&pos;
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=4;
OS.dcb.daux1=0;
OS.dcb.daux2=0;

See Also


Wiki content is mirrored from the FujiNet Github Wiki