From e6a7ce4f458333122892cd603296adf926989894 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Mon, 10 Sep 2018 01:09:14 +0200 Subject: [PATCH] ip65.s (ip65_random_word): use Atari's POKEY 'RANDOM' register --- ip65/ip65.s | 1 + 1 file changed, 1 insertion(+) diff --git a/ip65/ip65.s b/ip65/ip65.s index 22cc484..3abff19 100644 --- a/ip65/ip65.s +++ b/ip65/ip65.s @@ -48,6 +48,7 @@ ip65_random_word: adc $4e ; on an Apple 2, this is RNDL adc $9004 ; on a VIC 20, this is the raster register adc $d41b ; on a C64, this is a 'random' number from the SID + adc $d20a ; on an Atari, this is a 'random' number from the POKEY pha adc ip65_ctr_arp ora #$08 ; make sure we grab at least 8 bytes from eth_inp