home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!mineng.dmpe.CSIRO.AU!dmssyd.syd.dms.CSIRO.AU!metro!ipso!fawlty!johnmac
- From: johnmac@fawlty.towers.oz.au (John MacLean)
- Subject: Re: Apple II RWTS codes.
- Reply-To: johnmac@fawlty.towers.oz.au (John MacLean)
- Organization: Tower Technology, Sydney
- Date: Fri, 4 Sep 1992 00:43:21 GMT
- Message-ID: <1992Sep4.004321.7071@fawlty.towers.oz.au>
- References: <philip.714873752@labtam> <1992Aug27.062300.4071@ee.rochester.edu> <philip.714956159@labtam>
- Lines: 37
-
- In article <philip.714956159@labtam> philip@labtam.labtam.oz.au (Philip Stephens) writes:
- >>I was under the impression that the Locksmith fast 16 sector copier didn't do
- >>any denibblizing of the raw disk data...
- > In fact, it does! I disassembled the code once, and was quite amazed to see
- >that it performed both read and write conversions on the fly. I don't remember
- >the full details now, but when reading it converts the 6-and-2 encoding back
- >into 256 bytes of data that is still partially encoded, but which can then be
- >converted back into 6-and-2 encoding on the fly. Pretty interesting stuff.
- > Philip Stephens
-
- I disassembled this too at one stage.
- What it means is that it is possible to encode/decode 6-and-2 on the fly -
- but not the standard 6-and-2 that DOS and ProDOS use - this cannot be done
- on the fly (where on the fly means as you read/write data to disk).
- Unfortunately no-one ever released a DOS which used this - or it could have
- been even faster than Pronto/Diversi/etc.
- It should be possible to have no interleave in real situation if you
- cobined this optimisation with the file manager change.
-
- The only code I have seen that uses a read/write like this is some of
- Roland G's 18 sector routines (eg: Airheart, etc), and some of his 6
- sector ($300 bytes each) routines (eg: Wings of Fury).
- However, since they pack so much on a track, you couldn't possibly have
- a real file system sitting on top, as the simple overheads of calling
- a RWTS routine would mean you would miss the next block (assuming 1-1
- interleave).
- What he did was to have calls to his RWTS that let you read/write N
- blocks starting at block A on track T.
- Very neat indeed.
- If you want to look at some of this code, good luck boot-tracing, there
- are about four levels of EORing and other nasty tricks in the code.
- However, if you want to learn more, its worth it.
- --
- This net: johnmac@fawlty.towers.oz.au Phone: +61 2 427 2999
- That net: uunet!fawlty.towers.oz.au!johnmac Fax: +61 2 427 7072
- Snail: Tower Technology, 1 Apollo Pl, Home: +61 2 449 5930
- Lane Cove, NSW 2066, Australia.
-