diff options
author | B. Watson <yalhcru@gmail.com> | 2016-02-25 02:16:29 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-02-25 02:16:29 -0500 |
commit | adecc6f859c75ae3fcc31a2f0924296607f8411c (patch) | |
tree | 404ed8eca6d21b1f613c571b789c3f8c82b953c0 /taipan.c | |
parent | 82cf312bd70d24a5dfebe8a6eac7f81d1bd7ca7f (diff) | |
download | taipan-adecc6f859c75ae3fcc31a2f0924296607f8411c.tar.gz |
cart build now only uses 4 banks, next commit will switch to a 32K cart
Diffstat (limited to 'taipan.c')
-rw-r--r-- | taipan.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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. |