-
Notifications
You must be signed in to change notification settings - Fork 74
SIO Command $F4 Read Host Slots
europlus edited this page Sep 20, 2024
·
4 revisions
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
Read the eight currently persisted hosts in FujiNet. All eight hosts are returned at once, as a 256 byte buffer, with each host name currently being 32 bytes each.
DCB | Value |
---|---|
DDEVIC | $70 |
DUNIT | $01 |
DCOMND | $F4 |
DSTATS | $40 |
DBUF | Pointer to a 256 byte buffer to hold all eight hosts, 32 characters per host. |
DTIMLO | $0F |
DBYT | 256 |
DAUX1 | Not Used |
DAUX2 | Not Used |
union
{
unsigned char host[8][32];
unsigned char rawData[256];
} hostSlots;
// Query for host slots
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xF4; // Get host slots
OS.dcb.dstats=0x40;
OS.dcb.dbuf=&hostSlots.rawData;
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=256;
OS.dcb.daux=0;
siov();
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