[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleCommander and RDOS dsk files



In article 
<14e44a68-a858-4aa3-9e3e-f6a45cb42aa4@o26g2000vby.googlegroups.com>,
 Toinet <antoine.vignau@laposte.net> wrote:

> On 15 avr, 16:26, Deckard <boutil...@free.fr> wrote:
> > On 15 avr, 04:05, "John B. Matthews" <nos...@nospam.invalid> wrote:
> > ...
> > I have an issue with AppleCommander 1.3.5.7 (and with the 1.3.5
> > version hosted on Sourceforge).
> >
> > My problem is with this 
> > http://boutillon.free.fr/Underground/Outils/Rdos/Disks/Rdos_3_3_Utils.dsk.gz
> > .
> > It came from Asimov as far as I remember.
> >
> > When I try to open it with AppleCommander (after having gunzipped it)
> > I get the message:
> >
> > >> Unable to load "Rdos_3_3_Utils.dsk"
> > >> AppleCommander did not recognize the format of the disk.
> > >> Either this is a new format or a protected disk.
> > >> Sorry!
> >
> > I can open it with CiderPress 3.0.1 and run it with Jace.
> >
> > And according to the AppleCommander web page:
> >
> > "Disk formats currently supported (ie, operating systems):
> >     * ...
> >     * SSI's RDOS (140K formats only);
> >     * ...."
> >
> > Which versions of RDOS are supported by AppleCommander?
> >
> > JM
> 
> From the documentation:
>  * RDOS appears to have been placed on 13 sector disks.  This limits the number of blocks
>  * to 455.  It also may also cause incompatibilities with other formats and other cracks."
> 
> And from the source code:
> 	/**
> 	 * Read an RDOS block.  The sector skewing for RDOS seems to be different.
> 	 * This routine will convert the block number to a DOS track and sector,
> 	 * handling the sector change-over.  The readSector method then should
> 	 * take care of various image formats.
> 	 * <p>
> 	 * Note that sectorSkew has the full 16 sectors, even though RDOS
> 	 * itself is a 13 sector format.
> 	 */
> 	public byte[] readRdosBlock(int block) {
> 		int track = block / 13;
> 		int sector = sectorSkew[block % 13];
> 		return readSector(track, sector);
> 	}
> 
> AppleCommander supports 13-sec RDOS disks formatted on 16-sec disks. 
> Ahem...
> 
> antoine

I did not know that; thanks, Antoine!

<http://applecommander.cvs.sourceforge.net/viewvc/applecommander/AppleCom
mander/src/com/webcodepro/applecommander/storage/os/rdos/RdosFormatDisk.j
ava>
<http://applecommander.cvs.sourceforge.net/viewvc/applecommander/AppleCom
mander/src/com/webcodepro/applecommander/storage/os/rdos/RdosFormatDisk.j
ava?revision=1.5&view=markup>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>