[Coco] [Color Computer] Creating a DSK file on a real coco..
robert.gault at worldnet.att.net
Mon Dec 26 08:13:18 EST 2005
Willard Goosey wrote:
>>From: "George Ramsower" <Yahoo at DVDPlayersOnly.com>
>>Date: Sun, 25 Dec 2005 15:57:55 -0600
>>Okay, I studied the file and found there was a difference. The B09
>>generated file had 1024 bytes of stuff in the beginning of the file that the
>>disk does not.
>>So I modified the routine to throw away the first four blocks of ...
>>whatever it was.
>>Then I got a file that looks just like the disk. I used DED to look at the
>>disk and DUMP to look at the file.
> I admit this confuses me. What does this extra stuff look like? A
> dump of the device descriptor, perhaps?
>>This done, I transferred the file to MESS and now I get a NO PERMISSION
>>error when I try to read it from OS9 in MESS
>>The ATTR is ----r-wr
> Humm, I bet opening a device "raw" (with the @) changes the
> permissions of the in-RAM LSN0, which gets presented to the program? I
> mean, you're not opening it as a directory...
No way. George has some other problem.
>>I tried to change it to d-ewrewr without success.
> I remember playing with this on a Trivia Fever disk. You'll have to
> use ded (or some other tool) to change the disk's permissions.
> Perhaps this program can be made to poke at the appropriate bits
> before writing it back?
More information about the Coco