Groups | Search | Server Info | Login | Register


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

Re: Linear Feedback Shift Register

Path csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Linear Feedback Shift Register
Date Fri, 13 Sep 2024 00:49:35 -0000 (UTC)
Organization Mac GUI
Lines 21
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>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Fri, 13 Sep 2024 02:49:35 +0200 (CEST)
Injection-Info dont-email.me; posting-host="338f05c97a3b0f65fb5018c1e020d0dd"; logging-data="546686"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NV8f+RNJ0ob5H9/BURnsO"
User-Agent Mac GUI Usenet
Cancel-Lock sha1:ADsQ67V7EHLKZqqUvywy2bk15dA=
In-Reply-To <vbvs7q$fk62$1@dont-email.me>
Xref csiph.com comp.sys.apple2.programmer:6321

Show key headers only | 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