Date : Fri, 20 May 2005 07:57:36 +0100
From : Sprow <info@...>
Subject: Re: Writing adfs disc images onto disc
In article <000001c55cbb$09d71ee0$32eb07c3@...>,
John & Helen Simpson <john@...> wrote:
[snip]
> I then tried to use my Risc OS machine to write the data directly to a
> preformatted ADFS disc. This is quite easy to do using a couple of SWI
> calls in a technique I found on a Risc OS website. The method just sucks
> all the data into a buffer and then writes it out to the disc. It works
> - although the catalogue is OK, the files on the disc are corrupt and
> the directories won't open, they just report "broken directory".
After ADFS_SectorDiscOp don't forget to dismount. When developing DOSFS I
used
DIM block 8192
OSCLI"LOAD $.OUTPUT "+STR$~block
SYS"ADFS_SectorDiscOp",0,2,0,block,8192
to quickly blast a hand tweaked boot block onto the disc,
Sprow.