home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / MISC / RSDir.lzh / README.RSDIR next >
Text File  |  1992-01-19  |  1KB  |  34 lines

  1.     RSdir is a quick and dirty little hack I created to give a 
  2. directory listing of Radio Shack Color Computer Disk ECB format
  3. disks on an OS9/68000 system. To my knowledge, this utility is
  4. the first of its kind for a 68000 platform, though I'm sure others
  5. will follow (and hopefully better ones! :-) 
  6.     The main code is a simple basic09 program, which, when packed,
  7. is run with the following command line:
  8.  
  9. $ RSdir /d0   (or whatever floppy device)
  10.  
  11. ssdcm.a is the assembly interface to the SS_DCmd SetStt call which allows
  12. direct sector reads and writes. It is pretty much lifted from the
  13. program example in the GMX Micro-20 Manual Addenda for Professional OS9,
  14. page B-2.
  15.  
  16. To create a working program, load the basic09 code and pack it. Assemble the
  17. subroutine module by typing the following two command lines:
  18.  
  19. $ r68 -o=ssdcm.r ssdcm.a
  20.  
  21. $ l68 -n=SSDcm -o=ssdcm -l=/dd/lib/sys.l ssdcm.r
  22.  
  23.     Note that the present implementation is set to read 48 TPI CoCo disks
  24. in 96 tpi drives. Like I said, this was a quick and dirty hack, but it
  25. does work.  Also note that SS_DCmd is not implemented the same way on
  26. all OSK machines, so if you are not running a GMX Micro-20, I cannot
  27. guarantee the successful and harmless execution of this program, though
  28. I'd like to see how many platforms this DOES work on.  
  29.     If enough people bug me about it, I'll see about cleaning this up and
  30. making it more useful (i.e. adding RSread, RSwrite, etc...)
  31.  
  32. -Russell Hoffman
  33.  
  34.