diff options
author | B. Watson <yalhcru@gmail.com> | 2016-02-23 06:55:02 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-02-23 06:55:02 -0500 |
commit | e9736c53375784e3b4910ae3419da9bd04c119cd (patch) | |
tree | fa73f6b0ed73f7ec2fe2cf72e28d8b1657cb3e31 | |
parent | 271b13a93f6950aa93ac13669f2f7a3ba403c316 (diff) | |
download | taipan-e9736c53375784e3b4910ae3419da9bd04c119cd.tar.gz |
waste half the night trying to figure out weird interaction between axe and fenders
-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 |