From a3b6b98841b832a8cc11ab6a760a4eda2a91839f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 10 Feb 2016 21:40:44 -0500 Subject: add check for at least 32K to cart, various tinkering --- bank3.s | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bank3.s') 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" -- cgit v1.2.3