From adecc6f859c75ae3fcc31a2f0924296607f8411c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 25 Feb 2016 02:16:29 -0500 Subject: cart build now only uses 4 banks, next commit will switch to a 32K cart --- taipan.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'taipan.c') diff --git a/taipan.c b/taipan.c index f0974f7..2855589 100644 --- a/taipan.c +++ b/taipan.c @@ -769,6 +769,10 @@ void new_gun(void) { return; } +#ifdef CART_TARGET +# pragma code-name (push, "HIGHCODE") +#endif + /* cprintfancy_centered() does this for 0 to 999999: | 999999 | | 99999 | @@ -805,15 +809,25 @@ void cprintfancy_centered(unsigned long num) { } #endif +#ifdef CART_TARGET +# pragma code-name (pop) +#endif + /* if BIGNUM, cprintfancy() just converts to bignum and uses cprintfancy_big() to do the work. A bit slower, but fast enough, and avoids duplicate logic. */ #ifdef BIGNUM +# ifdef CART_TARGET +# pragma code-name (push, "HIGHCODE") +# endif void cprintfancy(unsigned long num) { bignum(b); ulong_to_big(num, b); cprintfancy_big(b); } +# ifdef CART_TARGET +# pragma code-name (pop) +# endif #else /* replaces old fancy_numbers. same logic, but stuff is just printed on the screen rather than being kept in a buffer. -- cgit v1.2.3