mos-hardware 0.4.0

Hardware register tables and support functions for 8-bit retro computers like the Commodore 64, MEGA65 and others.
Documentation
1
2
3
4
5
6
7
8
9
#include <stdint.h>

uint32_t random32(uint32_t range);
uint16_t random16(uint16_t range);
uint8_t random8(uint8_t range);
void srand(uint32_t seed);
uint8_t rand8(uint8_t range);
uint16_t rand16(uint16_t range);
uint32_t rand32(uint32_t range);