-
Notifications
You must be signed in to change notification settings - Fork 69
N: SIO Command 'Q' Query JSON
Bill Kendrick edited this page May 28, 2022
·
1 revision
This is a command for Devices $71-$78 - The N: Device (see SIO-Commands-for-Device-IDs-$71-to-$78).
Query the JSON parser to return specific pieces of information specified by the query string. The query string is formally defined in the JSON Query Format. The size of this query string is always 256 bytes, and should be terminated by ATASCII EOL.
DCB | Value |
---|---|
DDEVIC | $71 |
DUNIT | $01 - $04 |
DCOMND | $51 'Q' |
DSTATS | $80 |
DBUF | Buffer pointing to device string containing query string e.g. "N:queryString" |
DTIMLO | $0F |
DBYT | 256 |
DAUX1 | Use the same value passed to N: SIO Command 'O' - Open |
DAUX2 | Use the same value passed to N: SIO Command 'O' - Open |
/**
* sio_json_query() - Query parsed JSON pointed to by opened stream
*/
void sio_json_query(char* queryDeviceSpec)
{
OS.dcb.ddevic=0x71;
OS.dcb.dunit=1;
OS.dcb.dcomnd='Q';
OS.dcb.dstats=0x80;
OS.dcb.dbuf=queryDeviceSpec;
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