aboutsummaryrefslogtreecommitdiff
path: root/rand.s
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-02-16 07:04:56 -0500
committerB. Watson <yalhcru@gmail.com>2016-02-16 07:04:56 -0500
commitb2f7604ac51db075201ea0aa40d002d3d5e7e071 (patch)
tree7836fa910955599688f5fde5cb3fed49c14416f9 /rand.s
parent3a22a9af57b8b564301cd86e8e933eb1a22981ce (diff)
downloadtaipan-b2f7604ac51db075201ea0aa40d002d3d5e7e071.tar.gz
shrink code, 5599 bytes free, move some code so it runs straight from bank 3 in cartridge
Diffstat (limited to 'rand.s')
-rw-r--r--rand.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/rand.s b/rand.s
index f2e2449..a284592 100644
--- a/rand.s
+++ b/rand.s
@@ -8,6 +8,12 @@
.include "atari.inc"
+ .ifdef CART_TARGET
+ .segment "HIGHCODE"
+ .else
+ .code
+ .endif
+
; unsigned long __fastcall__ randl(void);
; this returns the full range of an unsigned long, 0 to 2**32-1
_randl: