Skip to content

N: SIO Command $25 Point in File

Thomas Cherryhomes edited this page Dec 2, 2020 · 3 revisions

N: SIO Command POINT

**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;

See Also

Put other related command links here.

Clone this wiki locally