[A83] Re: Randomization
[Prev][Next][Index][Thread]
[A83] Re: Randomization
It's a 7 bit counter that is incremented once for one byte instructions, and
two for two byte instructions. Instruction bytes meaning the core opcode,
meaning "ld a,1" would be one, and index register instructions would be two
(for example, something prefixed with $cd).
> The register r is not a built in random, and is not very random. (I think
> it just increments and wraps around)
> It is the "memory refresh register" used internally.
> It could be used as seed to a real random routine like one of those I
> posted before though, but shouldn't be used directly if you want a good
random.
> Since it is not a random, you cant set its "seed"...
References: