#!/bin/bash
rm h7n9.tap h7n9_.tap

zmakebas -a 10 library/loader.bas -o loader.tap -n H7N9
pasmo --tap --name screen library/screen.asm screen.tap dummy.txt
zxb.py -t h7n9.bas

#zxb.py -tBa h7n9.bas

#cat loader.tap screen.tap h7n9.tap > h7n9_.tap

cat loader.tap > h7n9_.tap
cat screen.tap >> h7n9_.tap
cat h7n9.tap >> h7n9_.tap

rm loader.tap screen.tap h7n9.tap dummy.txt ls.txt
mv h7n9_.tap h7n9.tap
fbzx h7n9.tap

