]> git.sur5r.net Git - c128-kasse/commitdiff
commite leere disk images, weil ich nicht herausfinden kann, wie die korrekte syntax...
authormatze <matze@af93e077-1a23-4f1e-9cbe-9382a9d578f5>
Sat, 28 Jul 2007 22:24:18 +0000 (22:24 +0000)
committermatze <matze@af93e077-1a23-4f1e-9cbe-9382a9d578f5>
Sat, 28 Jul 2007 22:24:18 +0000 (22:24 +0000)
git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@30 af93e077-1a23-4f1e-9cbe-9382a9d578f5

Makefile
kasse.d64 [new file with mode: 0644]
test.d64 [new file with mode: 0644]

index e0cbcd5c1ac3462f9115e9e14ca8a162fca37d27..a50fe7a55719c0a166347a798771ac8fc6a701a8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,26 @@
 all: config.o kasse.o general.o credit_manager.o
        cl65 -t c128 *.o -o kasse
 
+package: all
+       c1541 -zcreate kasse.d64 kasse || exit 0
+       c1541 -attach kasse.d64 -delete state || exit 0 
+       c1541 -attach kasse.d64 -delete items  || exit 0
+       c1541 -attach kasse.d64 -delete kasse  || exit 0
+       c1541 -attach kasse.d64 -write state || exit 0 
+       c1541 -attach kasse.d64 -write items  || exit 0
+       c1541 -attach kasse.d64 -write kasse  || exit 0
+
 test: config.o test.o
        cl65 -t c128 config.o test.o -o test
 
+test-package: test
+       c1541 -attach test.d64 -delete state || exit 0 
+       c1541 -attach test.d64 -delete items  || exit 0
+       c1541 -attach test.d64 -delete test  || exit 0
+       c1541 -attach test.d64 -write state || exit 0 
+       c1541 -attach test.d64 -write items  || exit 0
+       c1541 -attach test.d64 -write test  || exit 0
+
 clean:
-       rm -rf *.o *.s
+       rm -rf *.o *.s kasse test 
        
diff --git a/kasse.d64 b/kasse.d64
new file mode 100644 (file)
index 0000000..2e3a4a2
Binary files /dev/null and b/kasse.d64 differ
diff --git a/test.d64 b/test.d64
new file mode 100644 (file)
index 0000000..4243532
Binary files /dev/null and b/test.d64 differ