implemented some Z80 and randseeding

This commit is contained in:
Luxferre
2026-01-07 00:46:52 +02:00
parent 4f3ae61d78
commit f06cc6005c
2 changed files with 42 additions and 7 deletions
+12 -1
View File
@@ -4,6 +4,7 @@ PROJNAME=scoundrel
CFILES=scoundrel.c
PBTDIR=platform-build-tools
CCBUILD=cl65 --standard c89 -O -Os
Z80BUILD=zcc
BUILDDIR=build
$(PROJNAME): bdir
@@ -48,7 +49,17 @@ pet: bdir
plus4: bdir
$(CCBUILD) -t plus4 -o $(BUILDDIR)/$(PROJNAME)-plus4.bin $(CFILES)
all: $(PROJNAME) a2 a2e atari8bit c64 c16 c128 pet plus4
msx: bdir
$(Z80BUILD) +msx -create-app -subtype=rom $(CFILES) -o $(PROJNAME)
mv $(PROJNAME).rom $(BUILDDIR)/$(PROJNAME)-msx.rom
rm -f $(PROJNAME) *.bin *.img
zxspec: bdir
$(Z80BUILD) +zx -lndos -clib=ansi -pragma-define:ansicolumns=40 -create-app $(CFILES) -o $(PROJNAME)
mv $(PROJNAME).tap $(BUILDDIR)/$(PROJNAME)-zxspec.tap
rm $(PROJNAME)
all: $(PROJNAME) a2 a2e atari8bit c64 c16 c128 pet plus4 zxspec msx
clean:
rm -rf $(BUILDDIR) *.o