diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | axecheck.pl | 5 | ||||
-rw-r--r-- | console.s | 4 |
3 files changed, 8 insertions, 2 deletions
@@ -170,6 +170,7 @@ dos2: clean all atari800 -nobasic -nopatch dos2.atr fenders: clean all + perl axecheck.pl taipan.xex cp taipan.xex TAIPAN cp fenders.atr.in fenders.atr axe -w TAIPAN fenders.atr diff --git a/axecheck.pl b/axecheck.pl new file mode 100644 index 0000000..06eb819 --- /dev/null +++ b/axecheck.pl @@ -0,0 +1,5 @@ +#!/usr/bin/perl -w + +if((-s $ARGV[0]) % 125 == 0) { + die "$ARGV[0] is an even multiple of 125 bytes, it will NOT work with axe and fenders\n"; +} @@ -35,8 +35,8 @@ _clr_screen: ; same as gotoxy(0,0); clrtobot(); _clrtobot: ; same as clrtoline(24); lda #24 - bne _clrtoline - ;.byte $2c ; for some reason, this breaks fenders. TODO: investigate + ;bne _clrtoline ; we'd have had to do this if ROWCRS weren't zero-page. + .byte $2c ; see bit trick explanation below, if you don't recognize this. _clrtoeol: lda ROWCRS |