[Coco] Atom IDE + toolshed

pfitchjr at bellsouth.net pfitchjr at bellsouth.net
Sat Mar 14 10:18:55 EDT 2020

Running that same batch file without the execute flag set gives me the following output:
currentfolder Rogue
projectfolder C:\Rogue
"C:\Program Files (x86)\toolshed-2.2\os9.exe" makdir Rogue
makdir: error -1 creating 'Rogue'
"C:\Program Files (x86)\toolshed-2.2\os9.exe" dsave -b=24k -r rogue128.dsk,. Rogue,
os9 copy 'rogue128.dsk,./OS9Boot' 'Rogue,OS9Boot' -r -b=245760
os9 makdir "Rogue,CMDS"
os9 copy 'rogue128.dsk,./CMDS/shell' 'Rogue,CMDS/shell' -r -b=245760
os9 copy 'rogue128.dsk,./CMDS/grfdrv' 'Rogue,CMDS/grfdrv' -r -b=245760
os9 copy 'rogue128.dsk,./CMDS/rogue' 'Rogue,CMDS/rogue' -r -b=245760
os9 copy 'rogue128.dsk,./CMDS/mkopt' 'Rogue,CMDS/mkopt' -r -b=245760
os9 copy 'rogue128.dsk,./CMDS/montype' 'Rogue,CMDS/montype' -r -b=245760
os9 copy 'rogue128.dsk,./CMDS/merge' 'Rogue,CMDS/merge' -r -b=245760
os9 copy 'rogue128.dsk,./make40' 'Rogue,make40' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.dat' 'Rogue,rogue.dat' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.fnt' 'Rogue,rogue.fnt' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.hlp' 'Rogue,rogue.hlp' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.chr' 'Rogue,rogue.chr' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.grf' 'Rogue,rogue.grf' -r -b=245760
os9 copy 'rogue128.dsk,./make80' 'Rogue,make80' -r -b=245760
os9 copy 'rogue128.dsk,./makegw' 'Rogue,makegw' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.scr' 'Rogue,rogue.scr' -r -b=245760
os9 copy 'rogue128.dsk,./stdfonts' 'Rogue,stdfonts' -r -b=245760
os9 copy 'rogue128.dsk,./rogue.opt' 'Rogue,rogue.opt' -r -b=245760
os9 copy 'rogue128.dsk,./Romar.SCR' 'Rogue,Romar.SCR' -r -b=245760

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

On Mon, Mar 9, 2020 at 1:40 AM <pfitchjr at bellsouth.net> wrote:
> Thanks for the suggestion. I think it almost worked<g>, but I'm still getting errors like .
> copy: error 215 on file ''rogue128.dsk,./OS9Boot'': badly formed 
> pathname
> makdir: error 214 creating 'Rogue,.CMDS'
> os9 copy 'rogue128.dsk,./OS9Boot' 'Rogue,.OS9Boot' -r -b=245760
> os9 makdir "Rogue,.CMDS"
> dsave: error 214 encountered during save

Actually, it works here both with and without the dots. Toolshed can deal with the leading slashes. However I think the issue is that you have a colon in the destination part "E:\Rogue,". Searching my mail box I see that this was discussed here 4 years ago, but no clear conclusion on how to fix it came out of it.

The problem is that the colon is used to designate an HDB-DOS sub-disk (floppy image), like IMAGE:23,FILE Now if an image file name is C, it would be C:23,FILE which could also mean a file "23" on the current directory of the C drive on a Windows computer. I guess there is no perfect solution, but I can suggest enforcing HDBDOS image names to be at least two characters long, and interpret one letter + colon as a Windows drive.

BTW, in your first post you wrote:
"os9.exe" dsave -b=24k -r rogue128.dsk, E:\Rogue, and that it produced:
os9 copy 'rogue128.dsk,/OS9Boot' 'Rogue,OS9Boot' -r -b=245760 thus without "E:\". Was that correct?

Can you please move the destination image file Rogue to the current drive and confirm that it works?

> I think I'm going to have to have the output of dsave post processed to remove the "/" and not add the "." at all.  The os9 copy instructions don't have leading slashes, even when they show you how to drill down one or more directorys on the floppy image.

I think it would be most natural that dsave does not add the leading slash after the image file name and comma. I might have a fix for this.


Coco mailing list
Coco at maltedmedia.com

More information about the Coco mailing list