Home

Awesome

Atri ATR disk image tools

Tools to create, list and extract Atari ATR disk images.

mkatr: Create ATR images from list of files

This program creates Atari ATR disk images from a list of files given in the command line, in the SpartaDOS / BW-DOS disk format.

Usage:

mkatr [options] output [+attributes] filenames

Options:

Also, in front of each file name you can optionally add a list of attributes to be set for that file:

To place files inside a sub-directory, simply add the directory before all the files inside that directory.

The resulting image will be the smaller size that fits all the given files (or the minimum specified with -s), from the following list (except when the -x option is used):

Sector CountSector SizeTotal SizeName
72012890kSD
1040128130kED
720256180kDD
1440256360kDSDD
2048256512khard disk
40962561Mhard disk
81922562Mhard disk
163842564Mhard disk
327682568Mhard disk
6553525616Mbiggest possible image

lsatr: List and extract contents of ATR images

This program list or extracts the contents of an Atari ATR disk image.

The supported formats are:

Usage:

lsatr [options] filenames.atr

Options:

Usage Examples

To create an image named disk1.atr with all the files in the "atari" directory:

mkatr disk1.atr atari/*

To create a bootable BW-DOS image with a hidden and protected DOS file inside a subdirectory and a protected startup.bat file outside:

mkatr bwdos.atr dos/ -b +ph dos/xbw130.dos +p startup.bat

To create an image with only one file that will be loaded at boot:

mkatr game.atr -b mygame.com

To list the files inside an image:

lsatr bwdos.atr

To extract all files from the image to a folder out:

lsatr -X out/ bwdos.atr

Compilation

Compile with make and copy the resulting mkatr and lsatr programs to your bin folder.