add rogue submodule and support for compiling, some cleanup

This commit is contained in:
slederer 2025-05-15 01:44:06 +02:00
parent a060b65bb9
commit 3eb51f7d4e
9 changed files with 132 additions and 7 deletions

View file

@ -33,6 +33,7 @@ nativeprogs: nativecomp
$(PCOMP) ../progs/xfer.pas
$(SASM) ../lib/rommon.s
$(SASM) -A ../lib/rommon.s ../lib/rom.mem
examples: nativecomp
$(PCOMP) ../tests/readtest.pas
$(PCOMP) ../tests/readchartest.pas
@ -41,6 +42,7 @@ examples: nativecomp
-$(PCOMP) ../examples/chase.pas
$(PCOMP) ../tests/cchangetest.pas
$(PCOMP) ../tests/tree.pas
-$(MAKE) -C ../rogue -f Makefile.tridoracpu
clean:
rm -f pcomp sasm sdis libgen lsymgen *.o *.s

View file

@ -39,3 +39,11 @@ py pcomp.py ..\tests\test133.pas
py pcomp.py ..\examples\chase.pas
py pcomp.py ..\tests\cchangetest.pas
py pcomp.py ..\tests\tree.pas
if not exist ..\rogue\rogue.pas exit /b
cd ..\rogue
..\pcomp\pcomp rogue.pas
..\pcomp\sasm rogue.s
cd ..\pcomp