Atom Disk manager

discussion of games, software, hardware & emulators relating to the Acorn Atom and Acorn System machines.
Post Reply
User avatar
oss003
Posts: 3186
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Atom Disk manager

Post by oss003 » Fri Dec 28, 2018 1:43 pm

Hi guys,

does anyone know if there's a command line tool to add/delete files to an Atom diskimage?
Atomdisk is 40 tracks, 10 sectors/track, 256 bytes/sector.

Greetings
Kees

Prime
Posts: 2837
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: Atom Disk manager

Post by Prime » Fri Dec 28, 2018 3:20 pm

oss003 wrote:
Fri Dec 28, 2018 1:43 pm
Hi guys,

does anyone know if there's a command line tool to add/delete files to an Atom diskimage?
Atomdisk is 40 tracks, 10 sectors/track, 256 bytes/sector.
For What platform? Windows / Linux / Mac / RiscOS / Atom ????

If you can compile freepascal, you could try my DFSDisk : Source available here : https://github.com/prime6809/DFSdisk
Actually just checked and it doesn't do delete....yet....please stand by......

Feel free to drop me a pm / email if you want a pre-compiled exe for windows.

Cheers.

Phill.
Last edited by Prime on Fri Dec 28, 2018 3:22 pm, edited 1 time in total.

User avatar
jgharston
Posts: 3845
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: Atom Disk manager

Post by jgharston » Fri Dec 28, 2018 3:29 pm

Atom disks are just DFS disks, but with the root directory being ' ' (space) instead of '$' and all addresses being &00xxxx, so use any DFS image manager.

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

Prime
Posts: 2837
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: Atom Disk manager

Post by Prime » Fri Dec 28, 2018 4:45 pm

OK DFSdisk updated now to delete files.

I've also included the exe in the github archive so you don't have to self compile (on windows at least).

Cheers.

Phill.

User avatar
oss003
Posts: 3186
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atom Disk manager

Post by oss003 » Fri Dec 28, 2018 5:42 pm

I need a Windows version to add programs to a diskimage for automatically create AGD game disks controlled by a batch file.
I'll have a look ... thanks.

Greetings
Kees

User avatar
oss003
Posts: 3186
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atom Disk manager

Post by oss003 » Fri Dec 28, 2018 6:24 pm

Prime wrote:
Fri Dec 28, 2018 4:45 pm
OK DFSdisk updated now to delete files.

I've also included the exe in the github archive so you don't have to self compile (on windows at least).
I'm sorry Phill ........ but I'm using 32-bits Windows 7 .... :(
Can you compile a 32-bit version?
Thanks.

Greetings
Kees

User avatar
sirmorris
Posts: 776
Joined: Wed Feb 11, 2009 12:18 pm
Location: oxfordshire uk
Contact:

Re: Atom Disk manager

Post by sirmorris » Sun Dec 30, 2018 5:54 pm

32? what is this number?

Prime
Posts: 2837
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: Atom Disk manager

Post by Prime » Sun Dec 30, 2018 10:12 pm

Hi all,

I've just updated the executable to be 32bit, and made the project to default to windows / i386, as it doesn't really need 64 bit :)

I also added the ability to use -a to specify an Atom / System disk, so that you don't have to manually specify the qualifier all the time.

Cheers.

Phill.

User avatar
jgharston
Posts: 3845
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: Atom Disk manager

Post by jgharston » Mon Dec 31, 2018 6:37 am

MkImg at http://mdfs.net/Apps/DiskTools/

Doing, eg: MkImg L3Utils.ssd H:\L3FS\Utils -fs dfs
will create a disk image called L3Utils.ssd with the contents of directory H:\L3FS\Utils with file metadata in .inf files.

I thought I'd added an option to specify the root directory so you could set " " for Atom/System DOS disks, but it's not there. However, you can do it by specifying an input file with, eg:
MkImg L3Utils.ssd H:\L3FS\Utils -fs dfs -i@list.txt
where list.txt contains a list of source and dest files in this format:
ATBASIC1,ABASIC1/
ATBASIC2,ABASIC2/
ATBASIC3,ABASIC3/
Tiny65,TINY65/

Note that there is a space at the end of each line, that "/ " specifies the DOS/DFS directory the file is put in. Each line is in the format:
<source filename>,<dest filename>/<dest directory>

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

Post Reply