aboutsummaryrefslogtreecommitdiff
path: root/bank3.s
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-02-10 21:40:44 -0500
committerB. Watson <yalhcru@gmail.com>2016-02-10 21:40:44 -0500
commita3b6b98841b832a8cc11ab6a760a4eda2a91839f (patch)
tree7cc20c6a48d5de7516a2d46832ee1807bb5d6817 /bank3.s
parent5ea5690f453b2b84f021c539d16b149e33795357 (diff)
downloadtaipan-a3b6b98841b832a8cc11ab6a760a4eda2a91839f.tar.gz
add check for at least 32K to cart, various tinkering
Diffstat (limited to 'bank3.s')
-rw-r--r--bank3.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/bank3.s b/bank3.s
index 950b6a0..c39dd28 100644
--- a/bank3.s
+++ b/bank3.s
@@ -1,9 +1,17 @@
.include "atari.inc"
+ ; where the font lives. Must agree with bank7.s.
font = $9c00
.org $8000
.incbin "splitrom.raw.3"
+
+ .if * > font
+ .fatal "bank7 code too large"
+ .else
+ .out .sprintf("=> %d bytes free in bank 3", font - *)
+ .endif
+
.res font - *, $ff
.incbin "taifont"