]> git.sur5r.net Git - cc65/blob - libsrc/plus4/randomize.s
Fixed _textcolor definition.
[cc65] / libsrc / plus4 / randomize.s
1 ;
2 ; 2002-11-05, Ullrich von Bassewitz
3 ; 2015-09-11, Greg King
4 ;
5 ; void _randomize (void);
6 ; /* Initialize the random number generator */
7 ;
8
9         .export         __randomize
10         .import         _srand
11
12         .include        "plus4.inc"
13
14 __randomize:              
15         ldx     TED_VLINELO     ; Use TED rasterline as high byte
16         lda     TIME+2          ; Use 60HZ clock as low byte
17         jmp     _srand          ; Initialize generator
18