0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-26 15:53:01 +00:00

Added credit for PRNG

This commit is contained in:
Andrew Alderwick 2021-08-25 21:08:30 +01:00
parent 4b5c26c6ca
commit f4e9e2e915

View file

@ -1,5 +1,8 @@
( pseudo-random number generator )
( based on 16-bit xorshift algorithm discussed on
http://www.retroprogramming.com/2017/07/xorshift-pseudorandom-numbers-in-z80.html )
( devices )
|00 @System [ &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1 ]