From 9dbe0b40cfda998339fcc1e57b6aafe2cf5bc689 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 14 Jan 2016 16:00:05 -0500 Subject: read from correct byte of RTCLOK in rand.s --- rand.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rand.s') 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 -- cgit v1.2.3