-
Notifications
You must be signed in to change notification settings - Fork 74
N: SIO Command 'C' Close
Thomas Cherryhomes edited this page Nov 26, 2020
·
7 revisions
Close the N: device pointed to by DUNIT. This immediately closes the protocol instance on the ESP, which does any housekeeping required, such as closing connections and deallocating buffers.
NOTE: This does not automatically flush any pending write buffers. You must do that yourself, at this level.
DCB | Value |
---|---|
DDEVIC | $71 |
DUNIT | $01 - $04 |
DCOMND | $43 'C' |
DSTATS | $00 |
DBUF | NULL |
DTIMLO | $0F |
DBYT | 0 |
DAUX1 | 0 |
DAUX2 | 0 |
/**
* io_done() - Called to close I/O
*/
void io_done(void)
{
OS.dcb.ddevic=0x71;
OS.dcb.dunit=1;
OS.dcb.dcomnd='C';
OS.dcb.dstats=0x00;
OS.dcb.dbuf=0;
OS.dcb.dbyt=0;
OS.dcb.daux=0;
siov();
}
Put other related command links here.
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