-
Notifications
You must be signed in to change notification settings - Fork 71
SIO Command $E1 Set Host Prefix
Thomas Cherryhomes edited this page Aug 15, 2022
·
1 revision
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
Causes the FujiNet to set the host prefix to what's specified by the buffer.
DCB | Value |
---|---|
DDEVIC | $70 |
DUNIT | $01 |
DCOMND | $E1 |
DSTATS | $80 |
DBUF | Pointer to 256 byte buffer |
DTIMLO | $FE |
DBYT | 256 |
DAUX1 | Host Slot |
DAUX2 | Not used |
/**
* Ask fujinet for host prefix for given slot
*/
void fuji_set_host_prefix(unsigned char slot, char prefix)
{
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xE0;
OS.dcb.dstats=0x80;
OS.dcb.dbuf=prefix;
OS.dcb.dtimlo=0xFE; // Max timeout
OS.dcb.dbyt=256;
OS.dcb.daux1=slot; // Host slot 1
siov();
}
fuji_set_host_prefix(0,"Games/"); // Set prefix for host slot 1 to /Games
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine