N: SIO Command $25 Point in File - FujiNetWIFI/fujinet-firmware GitHub Wiki
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
DCB | Value |
---|---|
DDEVIC | $71 |
DUNIT | $01 - $04 |
DCOMND | $25 |
DSTATS | $80 |
DBUF | 24-bit long file position (upper 8 bits not used) |
DTIMLO | $0F |
DBYT | 4 |
DAUX1 | not used |
DAUX2 | not 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;