1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/cx16/randomize.s

15 lines
285 B
ArmAsm
Raw Normal View History

;
; 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