2002-11-10 15:48:57 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 05.11.2002
|
|
|
|
;
|
|
|
|
; void _randomize (void);
|
|
|
|
; /* Initialize the random number generator */
|
|
|
|
;
|
|
|
|
|
|
|
|
.export __randomize
|
|
|
|
.import _srand
|
|
|
|
|
2012-01-31 21:15:28 +00:00
|
|
|
.include "geossym.inc"
|
2002-11-10 15:48:57 +00:00
|
|
|
|
|
|
|
__randomize:
|
|
|
|
lda random ; get random value from internal generator
|
|
|
|
ldx random+1
|
|
|
|
jmp _srand ; and use it as seed
|