-
Notifications
You must be signed in to change notification settings - Fork 74
SIO Command $DE Write App Key
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
After performing an Open App Key command with mode
set to write
, this command writes up to 64 bytes to the key file.
Although the MAX_APPKEY_LEN (64) bytes are always transferred during this operation, the actual number of bytes stored in the key file are specified in DAUX1 and DAUX2 (16-bit unsigned value).
Currently, there's no allowance for writing more than MAX_APPKEY_LEN bytes in a key. The key file is closed immediately after the write 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.
DCB | Value |
---|---|
DDEVIC | $70 |
DUNIT | $01 |
DCOMND | $DE |
DSTATS | $80 |
DBUF | Pointer to buffer with MAX_APPKEY_LEN bytes |
DTIMLO | 15 |
DBYT | MAX_APPKEY_LEN (64) |
DAUX | lo/hi value of actual number of bytes to store in key file from buffer |
See appkey-sample in the fujinet-apps repository.
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