You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't identified the specific problem, but it looks like calling initarand() and arand() will cause the current program to eventually start executing random code (at least in one case SP decrements endlessly).
You can test this with the "rand.c" sample (or "dscan" sample which also uses arand). It typically takes about 10-13 iterations of the main loop before something bad happens. If it is changed to only use initrand() and rand() the problem does not appear to manifest.
At first glance it does not seem like changes to arand.s (vs 2.95) are the source of the problem.
For reference, the rand.c sample from the gbdk 2.95 built against 2.95 does not look like it has this problem.
The text was updated successfully, but these errors were encountered:
I haven't identified the specific problem, but it looks like calling initarand() and arand() will cause the current program to eventually start executing random code (at least in one case SP decrements endlessly).
You can test this with the "rand.c" sample (or "dscan" sample which also uses arand). It typically takes about 10-13 iterations of the main loop before something bad happens. If it is changed to only use initrand() and rand() the problem does not appear to manifest.
At first glance it does not seem like changes to arand.s (vs 2.95) are the source of the problem.
For reference, the rand.c sample from the gbdk 2.95 built against 2.95 does not look like it has this problem.
The text was updated successfully, but these errors were encountered: