Updated the cx16 library to the Commander X16's ROM prerelease 37.
This commit is contained in:
14
libsrc/cx16/randomize.s
Normal file
14
libsrc/cx16/randomize.s
Normal file
@@ -0,0 +1,14 @@
|
||||
;
|
||||
; 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
|
||||
Reference in New Issue
Block a user