Trinity-11 / FoenixIDE

Development and Debugging Suite for the C256 Foenix Family of Computers
GNU General Public License v3.0
48 stars 14 forks source link

Add F256 RNG reg support #40

Closed clandrew closed 1 year ago

clandrew commented 1 year ago

This adds support for SEEDL, SEEDH, and RND_CTRL for the F256K and F256 JR board modes.

It's not intended to replicate an exact simulation or frequency table of values of hw. It's intended to unblock some programs in SuperBASIC that rely on RANDOM(...) and RND(...). That said, it supports the enablement+disablement regs, and re-seeding. Verified gets surfaced through the kernel and BASIC.

Before: image

After: image