Groups | Search | Server Info | Login | Register


Groups > comp.sys.apple2.programmer > #6321

Re: Linear Feedback Shift Register

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Linear Feedback Shift Register
Date 2024-09-13 00:49 +0000
Organization Mac GUI
Message-ID <dog_cow-1726188573@macgui.com> (permalink)
References <vbb26i$1tf0$1@dont-email.me> <vbd3cl$fbuj$1@dont-email.me> <vbvs7q$fk62$1@dont-email.me>

Show all headers | View raw


Duhast wrote:
> On 9/11/2024 11:58 PM, Kent Dickey wrote:
> 
>> Your original code didn't initialize RAND to anything.  So it may vary
>> between systems.  My modified code initialized it to 1.
>> 
>> Kent
> 
> In my original code, I DB'd RAND as $01.  I'm not great at assembly, but 
> is that not initializing it?
>

If your assembler takes DB to mean "define a byte within the assembled
object code," then yes. Use the Monitor to check your program after you load
it into RAM, but before you execute it, to verify it is $01.

-- 
]DF$
The New Apple II User's Guide:
https://macgui.com/newa2guide/

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Linear Feedback Shift Register Duhast <duhast@123gmail.com> - 2024-09-04 21:39 -0400
  Re: Linear Feedback Shift Register kegs@provalid.com (Kent Dickey) - 2024-09-05 20:13 +0000
    Re: Linear Feedback Shift Register Duhast <duhast@123gmail.com> - 2024-09-10 22:54 -0400
      Re: Linear Feedback Shift Register kegs@provalid.com (Kent Dickey) - 2024-09-12 03:58 +0000
        Re: Linear Feedback Shift Register Duhast <duhast@123gmail.com> - 2024-09-12 19:06 -0400
          Re: Linear Feedback Shift Register D Finnigan <dog_cow@macgui.com> - 2024-09-13 00:49 +0000
  Re: Linear Feedback Shift Register John Ames <commodorejohn@gmail.com> - 2025-01-16 09:36 -0800
    Re: Linear Feedback Shift Register Peter Ferrie <peter.ferrie@gmail.com> - 2025-01-21 15:46 +0000

csiph-web