-
Notifications
You must be signed in to change notification settings - Fork 74
SIO Command $F5 Close Directory
Bill Kendrick edited this page May 27, 2022
·
4 revisions
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
Close the directory opened by Open Directory. Used both to end directory listings, as well as in preparation for Open Directory for further pagination.
DAUX1 specifies the host slot whose directory we want to close.
As there can only be one directory open at a time per host, we do not need to specify any parameters, and therefore there is no data frame. DSTATS is 0x00.
DCB | Value |
---|---|
DDEVIC | $70 |
DUNIT | $01 |
DCOMND | $F5 |
DSTATS | 0x00 |
DBUF | No buffer, can be NULL |
DTIMLO | 0x0F |
DBYT | 0 |
DAUX1 | requested host slot |
DAUX2 | 0 |
// Close dir read
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xF5;
OS.dcb.dstats=0x00;
OS.dcb.dbuf=NULL;
OS.dcb.dtimlo=0x0F;
OS.dcb.dbyt=0;
OS.dcb.daux=0;
siov();
- Open Directory
- Read Directory
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