1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
cc65/libsrc/cx16/randomize.s

15 lines
285 B
ArmAsm

;
; 2020-05-02, Greg King
;
; void __randomize (void);
; /* Initialize the random number generator */
;
.export ___randomize
.import ENTROPY_GET, _srand
___randomize:
jsr ENTROPY_GET
jmp _srand ; Initialize generator