[Coco] Compiling NitrOS9.
Phill Harvey-Smith
afra at ramoth.org.uk
Tue Apr 2 09:16:51 EDT 2019
Hi all,
I's been a while since I tried to compile Nitros9, and as I wanted to
develop a drive for DragonMMC, I decided to get the source and do a
trial build to make sure things still worked.....
I'm working on cygwin under Windows 7 x64. Though before when I worked
on this I had all the tools on Linux, so willing to try that too.
So I went and go the NOS9 source from sorceforge along with toolshed and
lwasm. I have compiled the lwasm sources (4.16) under cygwin and
installed them. (make / make install).
However when I try to build nos9, by changing into it's directory and
typing make from my cygwin bash prompt, ig builds part of it and then
craps out compiling edit.asm :
lwasm --6309 --format=os9
--pragma=pcaspcr,nosymbolcase,condundefzero,undefextern,dollarnotlocal
--includedir=.
--includedir=/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/defs
-DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=0 -Dcoco1=1
--includedir=/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/3rdparty/packages/basic09
/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/level1/cmds/edit.asm -oedit
/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/level1/cmds/edit.asm(17) :
WARNING : Not supported IFP1
/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/level1/cmds/edit.asm:00017
ifp1
/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/level1/cmds/edit.asm(478) :
ERROR : Bad register 'u'
/cygdrive/e/retro/Dragon/nos9/nitros9-v3.3.0/level1/cmds/edit.asm:00478
pshu u
Plus a load more instances of the bad register message which is
understandable as you generally can't push a stack register onto itself.....
Any hints much appreciated, including...this is the wrong place you
should ask on some other list / forum :)
Cheers.
Phill.
More information about the Coco
mailing list