MENU

Fun & Interesting

RNG on the NES

NesHacker 129,032 10 months ago
Video Not Working? Fix It Now

Try brilliant free for 30 days, and get 20% off an annual premium membership - https://brilliant.org/NesHacker/ In this episode I tackle Random Numbers on the NES and show a good way to implement RNG on 8-bit retro systems. Support the channel: https://patreon.com/NesHacker NES-RNG Example Project: https://github.com/NesHacker/NES-RNG Credits: Technical Editing - Kirby0Louise Content Editing - Thomas O’Neil Sources: https://en.wikipedia.org/wiki/Pseudorandom_number_generator https://en.wikipedia.org/wiki/Linear-feedback_shift_register https://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator https://en.wikipedia.org/wiki/Randomness https://en.wikipedia.org/wiki/Linear_bounded_automaton https://en.wikipedia.org/wiki/Halting_problem https://github.com/bbbradsmith/prng_6502 https://codebase64.org/doku.php?id=base:small_fast_8-bit_prng https://docs.amd.com/v/u/en-US/xapp052 http://users.ece.cmu.edu/~koopman/lfsr/ https://www.eetimes.com/tutorial-linear-feedback-shift-registers-lfsrs-part-1/ https://forums.nesdev.org/viewtopic.php?t=21496 https://electronics.stackexchange.com/questions/248950/sram-isnt-blank-on-powerup-is-this-normal https://research.kudelskisecurity.com/2020/07/28/the-definitive-guide-to-modulo-bias-and-how-to-avoid-it/ Music: “Solar Flare” by Adi Goldstein “Fragments” by Palm Blue “Don’t Lose Your Grip” by Diamonds and Ice “Blue Beings” by Tamuz Dekel “Lost” by Downtown Binary

Comment