I'm working on a graphics demo and I want to have a 'random' pattern tile update a 'random' section of my nametable. So, am I correct that the pattern data will choose from one of 256 possibilities and the nametable data will choose from one of 960?
I understand how to update the nametable and redraw the screen, but I don't know how to choose the random values. Will I need a pseudo-random number generator routine or is there a simpler way to do this?
Also, it's only necessary to do a tile at a time.
I understand how to update the nametable and redraw the screen, but I don't know how to choose the random values. Will I need a pseudo-random number generator routine or is there a simpler way to do this?
Also, it's only necessary to do a tile at a time.