I remember trying one of yours when I was developing ladybug, thanksI use 256 length loops for my games, but would probably eor with user via T1 in free running mode if I wanted more randomness.
But having a better one is a better option
I've just written a 14 byte prng which is a hack of the 16 byte one but this reduces the period to 31459
This one I'm a bit unsure of and needs further testing but is probably ok for games
Code:
lda seedlsr aror seed+1eor seed+1sta seed+1adc seedsta seedrtsI doubt I can get it any smaller without seriously compromising the period
Statistics: Posted by lovebug — Thu Dec 25, 2025 4:23 pm