SIO Command $DA Get Device Slot Filename
Bill Kendrick edited this page May 27, 2022
·
2 revisions
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
Gets the filename for a given device slot.
DAUX1 specifies the device slot to perform the operation on.
DAUX1 value 0x1A
selects the cassette tape slot.
DCB | Value |
---|---|
DDEVIC | $70 |
DUNIT | $01 |
DCOMND | $DA |
DSTATS | $40 |
DBUF | 256 byte buffer to hold full path |
DTIMLO | $0F |
DBYT | 256 |
DAUX1 | Slot $00-$07 for disks, $1A for tape |
/**
* Set filename for device slot
*/
void fuji_sio_get_filename_for_device_slot(unsigned char slot, const char* filename)
{
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xDA;
OS.dcb.dstats=0x40;
OS.dcb.dbuf=filename;
OS.dcb.dtimlo=0x0F;
OS.dcb.dbyt=256;
OS.dcb.daux1=slot;
siov();
}
Copyright 2023 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
- 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