NES random numbers

I need to make some. How?


  • : I need to make some. How?

    try something like that (I don't know 6502 assembly, so I'm giving just the formula)

    N := (N xor $AA) + 73;

    It will not be completely random (no random number generator is), neither is the best method (but the other methods involve multiplcation and division), but it should suffice.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion