Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2 Subject: Re: DOS 3.2, 3.3 and ProDOS GCR in RWTS Date: Mon, 11 Jan 2016 19:34:55 -0000 (UTC) Organization: Mac GUI Lines: 38 Message-ID: References: <9e054763-c065-493a-8b57-1bc7abe93cd7@googlegroups.com> <46906959-64b1-4902-b07c-830823c7a538@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 11 Jan 2016 19:34:55 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="13954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186wOFr7113qobABcoP8+so" User-Agent: Mac GUI Usenet In-Reply-To: <46906959-64b1-4902-b07c-830823c7a538@googlegroups.com> Cancel-Lock: sha1:SUUoO+0QAF+YLLkAvdA3Ogb4P70= Xref: csiph.com comp.sys.apple2:26690 fadden wrote: > On Sunday, January 10, 2016 at 9:59:57 PM UTC-8, awanderin wrote: >> [...] >> >> FWIW, you can find the CiderPress implementation of 6&2 and 5&3 >> >> encoding here: >> >> https://github.com/fadden/ciderpress/blob/master/diskimg/Nibble.cpp >> > >> > Thank you! I see that you wrote it for both 6x2 and 5x3. Not to >> > sound helpless, but I really don't know how to implement this program. >> > Obviously it's a language, I presume Basic. Step by step, how can I >> > make this run? > > http://a2ciderpress.com/ > > The code is written in C++. > > FWIW, if you: > - set Edit > Preferences > Disk Images > Confirm disk image format > - open a DOS 3.2 disk image (.nib) with Tools > Disk sector viewer > > you can choose to view each track as sectors or nibbles. Might be handy > for seeing both forms of each track. > > >> Do you have the book, Beneath Apple DOS? It's available on-line as a >> PDF and it describes the 5&3 decoding in sufficient detail that you >> should be able to implement in Excel. You figured out 6&2 so 5&3 is >> really conceptually the same but the details differ. > > FWIW, I vaguely recall disassembling the DOS 3.2 RWTS code to figure out > 5&3 encoding, because the Beneath Apple DOS explanation was insufficient, > and I wasn't able to locate a working implementation (back in 2003). > OpenEmulator also has a decoder for DOS 3.2's 5&3 encoding. And DOS 3.3 too. https://code.google.com/p/openemulator/source/browse/trunk/libdiskimage/DIApple525DiskStorage.cpp