Macro mos_hardware::rand8
source · [−]macro_rules! rand8 {
($sid_pointer:expr) => { ... };
}Expand description
Use SID entropy to generate a random byte in the interval.
Example:
(*c64::SID).start_random_generator(); let random_byte = rand8!(*c64::SID);
More information here.