Skip to content

SIO Command $F9 Mount Host

Oscar Fowler edited this page Jul 25, 2020 · 4 revisions

Mount Host ($F9)

Description

Mounts a host. Details of what happens are implementation-dependent. For example, in the case of a TNFS host, FujiNet simply establishes a connection to that host

A slot number is given in DAUX1.

If host name is already mounted in an available slot, then the existing session ID is used, internally, and a TNFS mount request is not sent.

Parameters

DCB Value
DDEVIC $70
DUNIT $01
DCOMND $F9
DSTATS $00
DBUF Not used.
DTIMLO $0F
DBYT 0
DAUX1 The Host Slot #
DAUX2 0

Examples

CC65

unsigned char hostname[256];

// Mount host
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xF9;
OS.dcb.dstats=0x00;
OS.dcb.dbuf=NULL;
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=0;
OS.dcb.daux=SLOT;
siov();

See Also

  • Unmount Host

Clone this wiki locally