nealcrook / multicomp6809

Software and modifications for Grant Searle's multicomp FPGA design, mostly focussed towards the 6809 variant: Forth (CamelForth), FLEX, CUBIX, NITROS9, FUZIX and the exec09 emulator.
58 stars 17 forks source link

Trying to build Nitros-9 #15

Closed jcw closed 1 year ago

jcw commented 1 year ago

Hello Neal,

I've been following the steps outlined at https://github.com/nealcrook/multicomp6809/wiki/NitrOS-9 - it's not reaching the end out of the box. The make PORTS=mc09 terminates with this message:

cat ../modules/ioman ../modules/rbf.mn ../modules/dds0_80d.dd ../modules/mc09sdc.dr ../modules/s0_80d.dd ../modules/s1_80d.dd ../modules/s2_80d.dd ../modules/s3_80d.dd ../modules/scf.mn ../modules/mc6850.dr ../modules/term_mc6850.dt ../modules/term_mc6850_t0.dt ../modules/term_mc6850_t1.dt ../modules/pipeman.mn ../modules/piper.dr ../modules/pipe.dd ../modules/mc09clock_50hz ../modules/clock2_soft ../modules/sysgo_dd>bootfile_mc09sd

make[2]: *** No rule to make target `../modules/krn', needed by `kernel_mc09sd'.  Stop.

Somewhere in the make output, there is a line which might be related:

< os9 copy -o=0 kernel/krn . > ignored

Something similar happens for level2. A first hack to keep going was to do this:

cd level2/mc09l2/modules/
cp -a kernel/krnp2 kernel/mc09krn .
cd -

And then resume the build. This is perhaps not correct, I can't verify the result right now. It does keep make happy. After that, I did make PORTS=mc09l2 dsk, which results in these disk images:

./level2/mc09l2/NOS9_6809_L2_80d.dsk
./level2/mc09l2/NOS9_6809_L2_80dxl.dsk

Am using lwtools 4.20 from Homebrew on MacOS (on a standard case-ignoring filesystem).

What might be going on here? Puzzling ... -jcw

jcw commented 1 year ago

Solved ... I had a dummy os9 script, probably due to previous experiments I had forgotten about. Found the os9 command in the "Toolshed" project on SourceForge, it builds after some more hacking. Now the nitros9 build completes out of the box. It's all a bit messy this way with outdated tools, but oh well ...