home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / cbm / 3255 < prev    next >
Encoding:
Text File  |  1992-07-31  |  2.5 KB  |  59 lines

  1. Newsgroups: comp.sys.cbm
  2. Path: sparky!uunet!cs.utexas.edu!torn!csd.unb.ca!f2rx
  3. From: f2rx@jupiter.sun.csd.unb.ca (Craig Bruce)
  4. Subject: Re: Not BBR but ...
  5. Message-ID: <1992Jul31.121408.3010@jupiter.sun.csd.unb.ca>
  6. Organization: University of New Brunswick, Canada (eh!)
  7. Date: Fri, 31 Jul 1992 12:14:08 GMT
  8. Lines: 49
  9.  
  10. stlucas@gdwest.gd.com (GSS 087272 St. Lucas) writes:
  11.  
  12. >Ok, I'm not very knowledgeable in the dealings with the ms-dos formats
  13. >and the like, but it seems the msdos/commodore disk utilities all load
  14. >the files into memory, crunch on them (converting petscii to ascii or
  15. >vice-versa), and then spit the stuff out to the disk.  They are limited
  16. >to 32k (40k, it doesn't matter).
  17.  
  18. I think the reason that these programs limit themselves to reading files into
  19. memory and then spitting them out is for people who have only one disk drive.
  20.  
  21. >  Why can't the program read a minimal
  22. >amount of data from the msdos disk, whatever a block/sector equivalent
  23. >is on ibm, and then dump it to the commodore disk, doing whatever 
  24. >conversion is necessary, and then read some more?  This wouldn't be 
  25. >limited to memory space available.  If one were going only from msdos
  26. >to commodore, what's wrong with this?
  27.  
  28. There is nothing wrong with that.  In fact I have written a program that does
  29. just that - reads one "cluster" (usually 1024 bytes), translates it, and
  30. writes it to a Commodore file (although that program is too complicated and
  31. bug-ridden to release).  In fact, this scheme is easier to program than
  32. writing to memory.  However, the guy with only one disk drive could not use
  33. the program.
  34.  
  35. A possibility is to have buddy with only one disk drive install a RAMdisk
  36. driver that emulates a Commodore drive.  However, the only RAMdisk driver I
  37. have seen requires an REU.  Perhaps a minimal RAMdisk could be built into
  38. the Mess-dos file copier program.  (One that uses dynamically allocated
  39. memory for around 100K of copy space on an unexpanded 128).
  40.  
  41. Are there any active C-128 users out there who still have only one disk drive?
  42.  
  43. >  Is the limitation on these 
  44. >programs mostly in going from commodore to msdos format?
  45. >Really curious, maybe I should re-read the last hardware hacker...
  46.  
  47. You can write files in the same way, only using one cluster worth of storage
  48. for copying from disk to disk.  (Of course, it would be a little faster to
  49. read and write entire tracks at a time (= 4608 bytes)).
  50.  
  51. What's "hardware hacker"?
  52.  
  53. Keep the Faith!
  54.  
  55. -Craig Bruce
  56. f2rx@jupiter.sun.csd.unb.ca
  57. "If I gave a damn what other people think of me, I would be more like
  58.  other people."
  59.