-
Notifications
You must be signed in to change notification settings - Fork 78
SIO Command $F8 Mount Device Image
Oscar Fowler edited this page Sep 6, 2020
·
7 revisions
Mount Disk image in slot specified by DAUX1. Buffer is 256 bytes containing NUL terminated full path to filename.
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 | $F8 |
| DSTATS | $80 |
| DBUF | Pointer to 256 byte buffer containing full path to image file |
| DTIMLO | $0F |
| DBYT | 256 |
| DAUX1 | Slot $00-$07 for disks, $1A for tape |
| DAUX2 | Option bits (0=READ, 1=READ/WRITE) |
unsigned char image[256]="/path/to/disk.atr";
// Mount Disk image
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xF8;
OS.dcb.dstats=0x80;
OS.dcb.dbuf=ℑ
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=256;
OS.dcb.daux=0; // Mount to D1:
siov();
- Unmount Device Image
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