SpartaDOS X Reference Manual Table of Contents



Table of Contents Atari 8-bit Home page

1  Introduction

2  An Introduction to SpartaDOS

What is DOS? 2-1
SpartaDOS 2-1
The Command Processor 2-2
Getting Started 2-2
Formatting a Disk 2-3
Disk Directory 2-3
Creating Test Files 2-3
Setting the Time and Date 2-5
Parameters 2-6
Copying Files 2-7
Erasing Files 2-7
Wildcards 2-7
Directories 2-8
The Current Directory 2-10
Running Programs 2-11
BASIC, CAR, and X 2-11
Practice 2-12
Building Batch Files 2-12
DOS 2 Equivalents 2-13

3  SpartaDOS X Overview

Filenames 3-1
Extensions 3-2
Wildcard Characters 3-2
Directories 3-3
Device Identifiers 3-5
Default Drive and Directory 3-7
Volume Names 3-7
Disk Format Compatibility 3-8
Using External Cartridges with SpartaDOS X 3-8

4  The Command Processor — Commands

ARC (Archive Files) Command 4-3
ATR (Attributes) Command 4-7
BASIC Command 4-9
BOOT Command 4-12
CAR Command 4-14
CHDIR (Change Directory) Command 4-16
CHKDSK Command 4-18
CHTD (Change Time/Date Stamp) Command 4-19
CHVOL (Change Volume Name) Command 4-19
COLD Command 4-20
COMMAND (The Command Processor) 4-21
COPY Command 4-23
DATE Command 4-26
DIR (Directory) Command & DIRS (Short Directory) Command 4-27
DUMP (Display File in HEX Format) Command 4-29
ERASE Command 4-30
FIND (Find Files) Command 4-31
FORMAT Command 4-32
KEY (Keyboard Buffer) Command 4-37
LOAD Command 4-38
MEM Command 4-39
MENU Program 4-41
    File Commands 4-42
    Dir Commands 4-43
    Xtra Commands 4-44
MKDIR (Make Directory) Command 4-46
PATH (Set Search Directory) Command 4-47
PAUSE Command 4-49
PEEK Command 4-50
POKE Command 4-51
PROMPT (Set System Prompt) Command 4-52
RENAME Command 4-55
RMDIR (Remove Directory) Command 4-56
RS232 (Load RS232 Driver) Command 4-57
SAVE Command 4-58
SET Command 4-59
SWAP (Swap Drives) Command 4-60
TD (Time/Date Display) Command 4-61
TIME Command 4-62
TYPE Command 4-63
UNERASE Command 4-64
VERIFY Command 4-65
X Command 4-66

5  The Command Processor — Advanced Features

Batch Files 5-1
Default Batch File 5-2
I/O Redirection 5-3
Search Path 5-4

6  Programming with SpartaDOS X

SpartaDOS X Functions from BASIC 6-1
Notes on the Default Drive 6-1
Accessing the "Kernel" Through CIO 6-2
Open File 6-2
    An Example 6-3
    Accessing the Raw Directory 6-3
    Scan Mode 6-3
Rename File(s) (RENAME) 6-4
Erase File(s) (ERASE) 6-5
Protect File(s) (ATR +P) 6-5
Unprotect File(s) (ATR -P) 6-6
Set File Position - POINT 6-6
Get Current File Position - NOTE 6-8
Get File Length 6-9
Load a Binary File (LOAD) 6-9
Create a Directory (MKDIR) 6-9
Delete a Directory (RMDIR) 6-10
Change Current Directory (CHDIR) 6-10
Set Boot File (BOOT) 6-10
Set Attributes (ATR) 6-11
Format a Disk (FORMAT) 6-12
Get Disk Information (CHKDSK) 6-13
Get Current Directory Path (CHDIR) 6-13
    An Example 6-14
SpartaDOS User Accessible Data Table 6-16
    An Example 6-18
Vectors Under the OS ROM 6-20
Page Seven "Kernel" Values 6-21

7  Technical Information

SpartaDOS Disk Format 7-1
    Boot Sectors 7-1
    Bit Maps 7-3
    Sector Maps 7-3
Directory Structure 7-4
    Exploring Disks 7-5

8  Configuring Your System

CONFIG.SYS File 8-1
SPARTA.SYS Driver 8-3
SIO.SYS Driver 8-4
INDUS.SYS Driver 8-5
ATARIDOS.SYS Driver 8-6
RAMDISK.SYS Driver 8-7
CLOCK.SYS Driver 8-8
JIFFY.SYS Driver 8-8
XEP80.SYS Driver 8-9

A  Error Messages

B  Command Summary — Alphabetical

C  Command Summary — By Function

Batch Files C-1
Directory Commands C-1
Disk Maintenance Commands C-2
File Maintenance Commands C-3
Running Programs C-4
Command Processor Options C-5
Time/Date Support C-6
Utilities and Programming Aids C-7

D  Miscellaneous Notes

Using Turbo BASIC XL with SpartaDOS X D-1
    Hardware Configuration D-1
    System Configuration D-1
Using BASIC XE Extensions D-2
Using MAC/65 and DDT D-2
Using AUTORUN.SYS files D-2
    Applications D-3
    Handlers D-3
    BASIC Program Loaders D-3
    Using Batch Files D-3
Problems with the Atari XF551 and Other Disk Drives D-5
    Formatting Procedures D-5
    Problems D-5
    The XF551 D-5
    Other Drives D-5

E  Glossary

     Error Message Summary