[Coco] make dskcopy not working

Tormod Volden lists.tormod at gmail.com
Fri Jul 12 20:07:40 EDT 2013


On Sat, Jul 13, 2013 at 1:40 AM, Bob Devries wrote:
> Hello Tormod,
>
> Last night (It's 9:30am here) I tried to do a MAKE DSKCOPY, which I believe
> should put all the .dsk file in one directory. That's not working, even
> though I created the necessary directory (dsks). I haven't completely
> checked this out, but I believe you are using the unix/linux/CygWin "cp"
> command to copy the files.
>
> This doesn't work, because CP is already defined in rules.mak:
>
> CP = os9 copy -o

Bob, you're right, this ought to be changed. I noticed it in the
makefile too, but funny enough it works fine here (on Linux) to copy
files using os9 copy.

>
> Perhaps using another comman utility, (MV?) would work?
> Actually MOVE is defined also:
>
> MOVE = mv
>
> Would it be good to use mv, since I think you want to move the .dsk files to
> the one directory defined also as:
>
> DSKDIR = $(NITROS9DIR)/dsks

I am not sure about this. You have "make dsk" to make the disk images,
and "make dskcopy" to copy them. You can always do a "make dskclean"
to get rid of the files afterwards.

>
> I found a small bug in the file "/level1/modules/rfmdesc.asm"
>
> IFNDEF DNum
>        DNum set 0
> ENDC
>        mod eom,name,tylg,atrv,mgrnam,drvnam
>        fcb DIR.!SHARE.!PEXEC.!PWRIT.!PREAD.!EXEC.!UPDAT. mode byte
>        fcb HW.Page extended controller address
>        fdb $0000+DNum physical controller address
>        fcb initsize-*-1 initilization table size
>        fcb DT.RFM device type:0=scf,1=rbf,2=pipe,3=scf
>        fcb dnum drive number        <<========== problem with capitalisation
> here.
> initsize equ *

Right, symbols are case sensitive in lwasm, unless the "nosymbolcase"
pragma is in effect.

Tormod

>
> This code was written by Aaron Wolfe; maybe he can comment, and upload the
> fix?
>
> Hope this helps.



More information about the Coco mailing list