Private
Public Access
1
0

Improve format of the autolisting

This commit is contained in:
2026-02-08 22:48:17 +00:00
parent ab118735df
commit ef3b557c0d
2 changed files with 18 additions and 4 deletions

View File

@@ -1,7 +1,13 @@
all: game.tap list.txt
all: game.tap listing.txt
list.txt: game.tap
listbasic game.tap > list.txt
listing.txt: game.tap
echo "DEC-Man Listing for the 2026 BASIC 10Liner Competition (PUR-80 Category) by mcphail (btl AT mcphail.uk)" > $@
echo "-------------------------------------------------------------------------------------------------------" >> $@
echo "\n (Note - Line 1 has 4 extra control characters before the line of dots for PAPER BLACK and INK GREEN." >> $@
echo " These characters are shown in the listing as € signs.)\n" >> $@
echo "....> ---------|---------|---------|---------|---------|---------|---------|---------|" >> $@
listbasic game.tap | sed 's/" /" €€€€/' >> $@
echo "....> ---------|---------|---------|---------|---------|---------|---------|---------|" >> $@
game.tap: pac.bas
zmakebas -l -i 1 -s 1 -n pac -a 1 -o game.tap pac.bas