Table of Contents
Not all DOS are Equal
CIO does not care about the size of a device specification; only that there is a buffer large enough to hold the device-spec, and that its length is properly passed to the CIOV call.
The various file management systems (FMS) present in different disk operating systems (DOS) are another matter, entirely. These differing FMSes impose their own unique limitations, and this discrepancy will become very important as a mapping scheme is implemented for file-level operations in the N: device.
Legal Filename Length comparison
| DOS | Length |
|---|---|
| DOS 1.0 | 8.3 1 |
| DOS 2.0 | 8.3 1 |
| DOS 3.0 | 8.3 2 |
| DOS 4.0 | 125 |
| MyDOS | 256 |
| SpartaDOS | 256 3 |
| OS/A+ | 23 |
| DOS XL | 23 |
| XDOS | 45 |
Notes
- The DUP throws a FILENAME TOO LONG error if this limit is breached.
- A combination of explicit input length limiting and over-eager pre-pending of D1: before N: for any KCP operations make this DOS unsuitable for N: usage in the utility package. An external utility will be needed.
- For Disk-based SpartaDOS, an implementation of XIO 40 will need to be added so that binary files can be loaded. This is because the binary loader is implemented in the FMS itself, and not the command processor.
Adding to this page
To test a particular DOS:
- Load DOS in Altirra
- Go into the file management portion of DOS
- Hit F8 to enable debugger.
- In the debugger window, type
.tracecio onDebugger should answer with affirmative message. - Hit F8 to resume the emulation.
- Try any file operation, such as a BINARY LOAD, or a COPY, where you are offered to enter a filename.
- Look in the debugger window for a GET RECORD operation from E:, this is an opportunity to get input, and write down the length. This will tell you how long the line can be.
- Try various filenames, e.g.
N:ABCDEFGH.IJKorN:ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 - The OS will return with an error 130. This is fine. Record the Filenames that come back in the debugger window in the corresponding OPEN call, and see how they match.
- If the filenames become corrupted after a certain length, try to find the point at which behavior changes, by trying filenames of different lengths.
- Once you have a definitive number, come back here and alter the table.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 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 - AppKey-Registry-Page
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- The Network Protocol Handbook
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Intellivision Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine
Copyright 2026 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD