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