XIO Commands

code | ATARIDos | MyDOS | BeweDOS | TurboDOS | XDos | BiboDos
--- | --- | --- | --- | --- | --- | ---
3 | OPEN | OPEN
5 | GET RECORD | all
7 | GET CHARACTERS | all
8 | PUT RECORD | all
11 | PUT CHARACTERS | all
12 | CLOSE | all
13 | STATUS REQUEST | all
32 | RENAME | all
33 | DELETE | all
34 | CREATE DIRECTORY | MyDOS
34 | LOCK DISK | SpartaDOS 2.3/3.2
35 | LOCK FILE | all
36 | UNLOCK FILE | all
37 | POINT | all
38 | NOTE | all
39 | GET FILE LENGTH | SpartaDOS
40 | LOAD BINARY FILE | ATARI DOS 2.x
41 | SAVE BINARY FILE | Atari DOS 2.x,SpartaDOS2.3/3.2
41 | CHANGE DIRECTORY | MyDOS
42 | CREATE DIRECTORY | SpartaDOS
43 | DELETE DIRECTORY | SpartaDOS
44 | CHANGE DIRECTORY | SpartaDOS
45 | SET BOOT FILE | SpartaDOS
46 | UNLOCK DISK | SpartaDOS 2.3/3.2
49 | SET FILE ATTRIBUTES | SpartaDOSX
253 | FORMAT SINGLE DENSITY | ATARI DOS 2.x
254 | FORMAT DISK (default format) | ATARI DOS 2.x

    XIO  ATARI-DOS 2.5  MyDOS  BeweDOS  TurboDOS  XDOS

    32   Rename file
    33   Delete file      Del file/dir
    34   ---              Make Dir                  Clear disk  Get dens.
    35   Lock file
    36   Unlock file
    37   Point position
    38   Note position
    39   ---              Load file    Get length               Exec. cmd
    40   ---              Load file    Load file                Load file
    41   ---              Change Dir
    42   ---              Make Dir     Make Dir
    43   ---                           Delete Dir
    44   ---                           Change Dir
    47   ---                           Get Diskinfo
    251  ---                                                    Format QD
    252  ---                                        Format QD   Format DD
    253  Format SD        ---          ---          Format DD   Format SD
    254  Format MD(SD)    Format       ---          Format MD   Format MD
    255  ---                                        Format SD   Clear disk

XIO 254 under DOS 2.5 tries to format MD and if the drive doesn't support MD, it formats in SD, other DOS-Versions try only to format MD. XIO 254 under MyDos works as following: If AUX1, Bit 7 is set, the disk is only cleared (empty directory written to disk). If AUX1 Bit 6-0 and AUX 2 are zero, the formatted disk will have the current density setting of the drive, if not, AUX1&AUX2 define the number of available sectors. BeweDOS has no format commands in the FMS. The note and point commands deliver a relative file position rather than an absolute sector/byte position as the other DOS versions do. You can use XIO 33 to delete (empty) MYDOS-directories.MyDOS allows to ignore INIT- and RUN-addresses (in XIO39/40) by setting an appropriate AUX1-value (4=do Run & Init, 5=Run only, 6=Init only, 7=ignore Run and Init). In XDOS this is possible via XIO 39, e.g. XIO 39,#1,0,0,"D1:LOA file" XDOS allows the execution of every DUP command (DIR, LOA, SAV, COP,...) via XIO 39 and the density of a disk can be checked via XIO 34.

Source:
Carsten Strotmann
Stefan Dorndorf
Mathy van Nisselroy Back (c) 1998-2004 Jindroush Last modified: Fri Nov 15 20:58:10 2002