Skip to content

N: SIO Command $2A Make Directory

Thomas Cherryhomes edited this page Jun 9, 2020 · 2 revisions

N: SIO Command Make Directory ($2A)

Description

Makes a new directory at the path specified by N: Devicespec, if the command is not supported, an error will be returned.

Parameters

DCB Value
DDEVIC $71
DUNIT $01 - $04
DCOMND $2A
DSTATS $80
DBUF 256 byte long EOL terminated N: Devicespec
DTIMLO $0F
DBYT 256
DAUX1 not used
DAUX2 not used

Examples

CC65


const char filespec[256]="N:FTP://SOMESERVER/NEWFOLDER\x9b"; // EOL terminated.

OS.dcb.ddevic=0x71;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0x2A;
OS.dcb.dstats=0x80;
OS.dcb.dbuf=&filespec;
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=256;
OS.dcb.daux1=0;
OS.dcb.daux2=0;

See Also

Put other related command links here.

Clone this wiki locally