2 ; Ullrich von Bassewitz, 05.11.2002
4 ; void _randomize (void);
5 ; /* Initialize the random number generator */
14 lda VIC_LINES ; Get overflow bit
15 asl a ; Shift bit 7 into carry
16 lda VIC_HLINE ; Get bit 1-8 of rasterline
18 tax ; Use VIC rasterline as high byte
19 lda TIME ; Use 60HZ clock as low byte
20 jmp _srand ; Initialize generator