summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile25
1 files changed, 24 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index a4cf8c3..c3ebafb 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -18,36 +18,56 @@
#
# -------------------------------------------------------------------------
#
-# $Id: Makefile,v 1.1 2004-08-22 01:06:09 ianc Exp $
+# $Id: Makefile,v 1.2 2004-08-22 22:51:39 ianc Exp $
#
+# One file with loader test
+#
test1: ../int2tap code.bin
../int2tap test1.tap code.bin
fuse test1.tap
+# Two file with loader test, split and with forced address test
+#
test2: ../int2tap code.bin screen.bin
../int2tap -a 0x8000 -s test2.tap screen.bin code.bin
fuse test2.tap
+# Binary only test
+#
test3: ../int2tap screen.bin
../int2tap -b test3.tap screen.bin
fuse test3.tap
+# Test for examination to see if it matches .TAP docs
+#
test4: ../int2tap b2.bin
../int2tap -b test4.tap b2.bin
+# Binary only test (again for some reason...)
+#
test5: ../int2tap code.bin
../int2tap -b test5.tap code.bin
fuse test5.tap
+# M/C with just a RET (so the BASIC can be examined)
+#
test6: ../int2tap ret.bin
../int2tap test6.tap ret.bin
fuse test6.tap
+# Two files into one binary test
+#
test7: ../int2tap part1.bin part2.bin
../int2tap test7.tap part1.bin part2.bin
fuse test7.tap
+# CLEAR test
+#
+test8: ../int2tap reset.bin
+ ../int2tap -c 0x8000 test8.tap reset.bin
+ fuse test8.tap
+
code.bin: code.asm
tpasm -P Z80 -o intel code.bin code.asm
@@ -66,6 +86,9 @@ part1.bin: part1.asm
part2.bin: part2.asm
tpasm -P Z80 -o intel part2.bin part2.asm
+reset.bin: reset.asm
+ tpasm -P Z80 -o intel reset.bin reset.asm
+
../int2tap: ../*.[ch]
cd .. ; make ; cd test