]> git.sur5r.net Git - cc65/blob - libsrc/nes/randomize.s
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / libsrc / nes / randomize.s
1 ;
2 ; Ullrich von Bassewitz, 2003-05-02
3 ;
4 ; void _randomize (void);
5 ; /* Initialize the random number generator */
6 ;
7
8         .export         __randomize
9         .import         _srand
10
11         .include        "nes.inc"
12
13 __randomize:
14         ldx     tickcount       ; Use tick clock
15         lda     tickcount+1
16         jmp     _srand          ; Initialize generator
17
18