aboutsummaryrefslogtreecommitdiff
path: root/bank3.s
diff options
context:
space:
mode:
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"