Table of Contents
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
Read App Key ($DD)
Description
After performing an Open App Key command with mode set to read, this command returns the contents of the app key, which may be up to MAX_APPKEY_LEN (64) bytes.
The actual return buffer is 66 bytes long to allow for two bytes that indicate the actual size of the key value:
Return buffer (66 bytes)
- 2 bytes : length of actual key value in buffer
- 64 bytes: buffer to contain max key value size (MAX_APPKEY_LEN)
The key file is closed immediately after the read operation is completed, so there's no need to call Close App Key (that function is saved for possible future use). Any other operations on the app key will require another Open App Key command.
Parameters
| DCB | Value |
|---|---|
| DDEVIC | $70 |
| DUNIT | $01 |
| DCOMND | $DD |
| DSTATS | $40 |
| DBUF | Pointer to 66-byte buffer |
| DTIMLO | 15 |
| DBYT | 66 |
| DAUX | Unusued |
Examples
See appkey-sample in the fujinet-apps repository.
See Also
- 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
Copyright 2026 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD