[Coco] Issues with NitrOS9 build

Robert Gault robert.gault at att.net
Fri Jan 24 09:30:09 EST 2014


Bob Devries wrote:
> Answering my own post here.....
>
> The duplicate DD issue seems to be confined to four image files:
>
> nos96309l2v030209coco3_80d_50Hz.dsk
> nos96309l2v030209coco3_80d.dsk
> nos96809l2v030209coco3_80d_50Hz.dsk
> nos96809l2v030209coco3_80d.dsk
>
> hmmm, now to peruse the makefiles.
>
> Regards, Bob Devries
> Dalby, QLD, Australia

OK, here is the answer. There are duplicate /DD entries in OS9Boot but only one 
is loaded into memory so the disks will boot.

The source of the problem is in the file bootfiles\makefile which contains the 
following:
FLOPPY_40D = $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd $(MD)/d2_40d.dd
FLOPPY_80D = $(MD)/rb1773.dr $(MD)/d0_80d.dd $(MD)/d1_80d.dd $(MD)/d2_80d.dd \
		$(MD)/ddd0_80d.dd

Note that FLOPPY_40D does not contain a /DD while FLOPPY_80D does. Now look at:
BOOTFILE_40D	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
		$(MD)/rbf.mn \
                 $(FLOPPY_40D) \              this line is needed
                 $(MD)/ddd0_40d.dd \
		$(MD)/scf.mn \
		$(VTIO_COGRF_80) \
		$(PIPE) \
		$(CLOCK60HZ)
and
BOOTFILE_80D	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
		$(MD)/rbf.mn \
                 $(FLOPPY_80D) \              this line gives the duplicate
                 $(MD)/ddd0_80d.dd \
		$(MD)/scf.mn \
		$(VTIO_COGRF_80) \
		$(PIPE) \
		$(CLOCK60HZ)

Inconsistent location of /DD. It should be removed from FLOPPY_80D as the intent 
is to assign different /DDs to the different type of disks.

Robert




More information about the Coco mailing list