[Coco] Atom IDE + toolshed

pfitchjr at bellsouth.net pfitchjr at bellsouth.net
Sat Mar 14 22:32:34 EDT 2020


Jeez, the formatting of this thing s*cks.

:: use OS9's dsave command to extract all files from DSK image

echo "%os9%" dsave -b=24k -r -e %1,. . 
"%os9%" dsave -b=24k -r -e %1,. .  
:: Only it doesn't work
rem dsave outputs the following lines which I have REMd out:
rem os9 copy 'MISC.DSK,./startrek.bas' './startrek.bas' -r -b=245760 

rem os9 copy 'MISC.DSK,./taipan.b09' './taipan.b09' -r -b=245760 

rem os9 copy 'MISC.DSK,./c.hlp' './c.hlp' -r -b=245760 

rem os9 copy 'MISC.DSK,./runb.hlp' './runb.hlp' -r -b=245760 

rem os9 copy 'MISC.DSK,./r3systems.hlp' './r3systems.hlp' -r -b=245760 

rem os9 copy 'MISC.DSK,./s09.hlp' './s09.hlp' -r -b=245760 

rem os9 copy 'MISC.DSK,./pt.hlp' './pt.hlp' -r -b=245760 

rem os9 copy 'MISC.DSK,./s.hlp' './s.hlp' -r -b=245760 

rem os9 copy 'MISC.DSK,./m.hlp' './m.hlp' -r -b=245760

rem but when I remove the single-quotes, it does work. I also added the -l flag, since I really want readable text files

rem os9 copy MISC.DSK,./startrek.bas ./startrek.bas -l -r -b=245760 

rem os9 copy MISC.DSK,./taipan.b09 ./taipan.b09 -l -r -b=245760 

rem os9 copy MISC.DSK,./c.hlp ./c.hlp -l -r -b=245760 

rem os9 copy MISC.DSK,./runb.hlp ./runb.hlp -l -r -b=245760 

rem os9 copy MISC.DSK,./r3systems.hlp ./r3systems.hlp -l -r -b=245760 

rem os9 copy MISC.DSK,./s09.hlp ./s09.hlp -l -r -b=245760 

rem os9 copy MISC.DSK,./pt.hlp ./pt.hlp -l -r -b=245760 

rem os9 copy MISC.DSK,./s.hlp ./s.hlp -l -r -b=245760 

rem os9 copy MISC.DSK,./m.hlp ./m.hlp -l -r -b=245760

echo End

echo "Done."
echo.

exit /B

 

-----Original Message-----
From: Coco <coco-bounces at maltedmedia.com> On Behalf Of Tormod Volden
Sent: Saturday, March 14, 2020 9:21 PM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Subject: Re: [Coco] Atom IDE + toolshed

pfitchjr,

I think you have to explain what you /want/ to do, not only show the commands you are typing. From your first post I thought you wanted to copy from one disk image to another. In your last examples it seems that you want to extract a disk image to a local folder tree.

Is "Rogue" a formatted disk image? If not, there is no wonder it doesn't work. If it is a local directory you must *not* add the comma, since it signifies a disk image.

It seems you also ignored my suggestion to omit the dot in the source path.

It is strange that removing the single quotes changes anything. From the "copy" error messages it seems that the quotes are correctly stripped away by your shell. However, the error message shows the source file, but the problem could be in the destination. I have changed it to show both, maybe that can give us some hints.

> os9 copy MISC.DSK,./m.hlp ./m.hlp -l-r -b=245760 <-- where the "-l-r" causes the line to error out.

Yup, that's a bug, I have fixed it.

> And one final note...why is my -b=24K translating into -b=245760?

Good catch! That is a bug from 2004. Also fixed now.

Regards,
Tormod


--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list