checked Apple II/IIe support
This commit is contained in:
@@ -4,7 +4,7 @@ This is a collection of my own ports of the [Scoundrel](http://stfj.net/art/2011
|
|||||||
|
|
||||||
## Ports included in this repo
|
## Ports included in this repo
|
||||||
|
|
||||||
* [ANSI C89 port](c/scoundrel.c) - also compatible with CC65 (use the provided Makefile to build Scoundrel for Commodore 16/64/128/Plus-4/PET and Atari 400/800/XL; Apple II/IIe support is being debugged, JRE installation on the host system is required to build Apple disk images)
|
* [ANSI C89 port](c/scoundrel.c) - also compatible with CC65 (use the provided Makefile to build Scoundrel for Commodore 16/64/128/Plus-4/PET, Atari 400/800/XL/XE and Apple II/IIe; a JRE installation on the host system is required to build Apple disk images)
|
||||||
|
|
||||||
## Ports NOT included in this repo for various reasons
|
## Ports NOT included in this repo for various reasons
|
||||||
|
|
||||||
|
|||||||
+10
-12
@@ -13,24 +13,22 @@ bdir:
|
|||||||
mkdir -p $(BUILDDIR)
|
mkdir -p $(BUILDDIR)
|
||||||
|
|
||||||
a2-build:
|
a2-build:
|
||||||
$(CCBUILD) -t apple2 -C apple2-system.cfg -o $(PROJNAME).apple2 $(CFILES)
|
$(CCBUILD) -t apple2 -C apple2-system.cfg -o $(BUILDDIR)/$(PROJNAME)-a2.bin $(CFILES)
|
||||||
|
|
||||||
a2: a2-build bdir
|
a2: a2-build bdir
|
||||||
cp $(PBTDIR)/apple2/tpl.dsk $(PROJNAME).dsk
|
cp $(PBTDIR)/apple2/tpl.dsk $(PROJNAME)-a2.dsk
|
||||||
java -jar $(PBTDIR)/apple2/ac.jar -p $(PROJNAME).dsk $(PROJNAME).system sys < $$(cl65 --print-target-path)/apple2/util/loader.system
|
java -jar $(PBTDIR)/apple2/ac.jar -p $(PROJNAME)-a2.dsk $(PROJNAME).system sys < $$(cl65 --print-target-path)/apple2/util/loader.system
|
||||||
java -jar $(PBTDIR)/apple2/ac.jar -as $(PROJNAME).dsk $(PROJNAME) bin < $(PROJNAME).apple2
|
java -jar $(PBTDIR)/apple2/ac.jar -as $(PROJNAME)-a2.dsk $(PROJNAME) bin < $(BUILDDIR)/$(PROJNAME)-a2.bin
|
||||||
mv $(PROJNAME).dsk $(BUILDDIR)/
|
mv $(PROJNAME)-a2.dsk $(BUILDDIR)/
|
||||||
rm $(PROJNAME).apple2
|
|
||||||
|
|
||||||
a2e-build:
|
a2e-build:
|
||||||
$(CCBUILD) -t apple2enh -C apple2enh-system.cfg -o $(PROJNAME).a2enh $(CFILES)
|
$(CCBUILD) -t apple2enh -C apple2enh-system.cfg -o $(BUILDDIR)/$(PROJNAME)-a2e.bin $(CFILES)
|
||||||
|
|
||||||
a2e: a2e-build bdir
|
a2e: a2e-build bdir
|
||||||
cp $(PBTDIR)/apple2/tpl.dsk $(PROJNAME)-enh.dsk
|
cp $(PBTDIR)/apple2/tpl.dsk $(PROJNAME)-a2e.dsk
|
||||||
java -jar $(PBTDIR)/apple2/ac.jar -p $(PROJNAME)-enh.dsk $(PROJNAME).system sys < $$(cl65 --print-target-path)/apple2enh/util/loader.system
|
java -jar $(PBTDIR)/apple2/ac.jar -p $(PROJNAME)-a2e.dsk $(PROJNAME).system sys < $$(cl65 --print-target-path)/apple2enh/util/loader.system
|
||||||
java -jar $(PBTDIR)/apple2/ac.jar -as $(PROJNAME)-enh.dsk $(PROJNAME) bin < $(PROJNAME).a2enh
|
java -jar $(PBTDIR)/apple2/ac.jar -as $(PROJNAME)-a2e.dsk $(PROJNAME) bin < $(BUILDDIR)/$(PROJNAME)-a2e.bin
|
||||||
mv $(PROJNAME)-enh.dsk $(BUILDDIR)/
|
mv $(PROJNAME)-a2e.dsk $(BUILDDIR)/
|
||||||
rm $(PROJNAME).a2enh
|
|
||||||
|
|
||||||
atari8bit: bdir
|
atari8bit: bdir
|
||||||
$(CCBUILD) -t atari -o $(BUILDDIR)/$(PROJNAME)-atari.bin $(CFILES)
|
$(CCBUILD) -t atari -o $(BUILDDIR)/$(PROJNAME)-atari.bin $(CFILES)
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ char get_choice() {
|
|||||||
default:
|
default:
|
||||||
res = CH_INVAL;
|
res = CH_INVAL;
|
||||||
}
|
}
|
||||||
|
printf("\n");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,6 +96,7 @@ int confirm(char *prompt) {
|
|||||||
scanf(" %c", &c);
|
scanf(" %c", &c);
|
||||||
if(c == 'y' || c == 'Y') d = 1;
|
if(c == 'y' || c == 'Y') d = 1;
|
||||||
else d = 0;
|
else d = 0;
|
||||||
|
printf("\n");
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user