Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add neoTRNG Documentation to 45GS02 Microprocessor #539

Open
lydon42 opened this issue May 10, 2023 · 0 comments
Open

Add neoTRNG Documentation to 45GS02 Microprocessor #539

lydon42 opened this issue May 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lydon42
Copy link
Member

lydon42 commented May 10, 2023

Latest development build has neoTRNG functional for the first time. So noiw we need to add some documentation for it.

Add an example how it is used and explain how random neoTRNG numbers are. See src/vhdl/neotrng.vhdl for information and references.

Example of use:

           LDX #$00
rngnotrdy: BIT $D7FE       ; check bit 7 (->N) if RNG is still sampling
           BMI rngnotrdy   ; still sampling, wait...
           LDA $D7EF       ; load random number
           STA $0800,X     ; store to screen...
           DEX
           BNE rngnotrdy   ; do it again
@lydon42 lydon42 added the enhancement New feature or request label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant