aboutsummaryrefslogtreecommitdiff
path: root/rand.s
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-14 16:00:05 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-14 16:00:05 -0500
commit9dbe0b40cfda998339fcc1e57b6aafe2cf5bc689 (patch)
treea605babab4d0e8ec3c70375449ef8d4c5b35a14c /rand.s
parent3da90b381b58b4245d65b144e7af28efd8217830 (diff)
downloadtaipan-9dbe0b40cfda998339fcc1e57b6aafe2cf5bc689.tar.gz
read from correct byte of RTCLOK in rand.s
Diffstat (limited to 'rand.s')
-rw-r--r--rand.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/rand.s b/rand.s
index 8b4c502..fa181cc 100644
--- a/rand.s
+++ b/rand.s
@@ -17,8 +17,8 @@ randb: ; asm-callable (doesn't trash X reg)
sta tmp3
nop ; let the LFSR cook for a bit...
nop
- lda RTCLOK ; different amount of cooking depending on whether
- and #$01 ; we're on an even or odd numbered TV frame
+ lda RTCLOK+2 ; different amount of cooking depending on whether
+ and #$01 ; we're on an even or odd numbered TV frame
bne @1
nop
nop