home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / apple2 / 19836 < prev    next >
Encoding:
Text File  |  1992-09-04  |  2.6 KB  |  49 lines

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