First Spear Posted June 19, 2021 Author Share Posted June 19, 2021 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. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted June 21, 2021 Share Posted June 21, 2021 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. 1 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted August 14, 2021 Share Posted August 14, 2021 Hello, I've posted a version of my library modified to integrate with IntyBASIC programs. You can find the details in the following thread: 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.