]> git.sur5r.net Git - cc65/blob - libsrc/plus4/randomize.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / plus4 / randomize.s
1 ;
2 ; Ullrich von Bassewitz, 05.11.2002
3 ;
4 ; void _randomize (void);
5 ; /* Initialize the random number generator */
6 ;
7
8         .export         __randomize
9         .import         _srand
10
11         .include        "plus4.inc"
12
13 __randomize:              
14         ldx     TED_VLINELO     ; Use TED rasterline as high byte
15         lda     TIME            ; Use 60HZ clock as low byte
16         jmp     _srand          ; Initialize generator
17