Jump to content
IGNORED

IntyBASIC Special Random Selection?


First Spear

Recommended Posts

On 2/9/2019 at 6:56 AM, DZ-Jay said:

 

Here's an LFSR implementation from my framework. It's actually based on code you, Arnauld, and I worked on in the INTVPROG list several years ago. I guess it could be added to IntyBASIC as an Assembly Language module and called with a mac[snip] 


[snip] G_POLY SHR 16) AND $FFFF)
@@poly_lo       EQU     ( PRNG_POLY         AND $FFFF)
[snip]

 

Hi team. Thanks for putting in this huge amount of work on this. To take advantage of this with the current version of IntyBASIC, how would I call it? I'm looking for the most performant way to get random numbers 1-52, 1-4, 1-13, 2-8, 1-100 not using the stock RND/RANDOM function and not using WAIT, with a deterministic calculation time.

 

Thanks.

Link to comment
Share on other sites

On 6/19/2021 at 10:22 AM, First Spear said:

Hi team. Thanks for putting in this huge amount of work on this. To take advantage of this with the current version of IntyBASIC, how would I call it? I'm looking for the most performant way to get random numbers 1-52, 1-4, 1-13, 2-8, 1-100 not using the stock RND/RANDOM function and not using WAIT, with a deterministic calculation time.

 

Thanks.

 

I'll try to prepare an IntyBASIC friendly library this week.

 

    -dZ.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...