;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.include "c128.inc"
-_randomize:
+__randomize:
ldx VIC_HLINE ; Use VIC rasterline as high byte
lda TIME ; Use 60HZ clock as low byte
jmp _srand ; Initialize generator
;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.include "c64.inc"
-_randomize:
+__randomize:
ldx VIC_HLINE ; Use VIC rasterline as high byte
lda TIME ; Use 60HZ clock as low byte
jmp _srand ; Initialize generator
;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.importzp time
-_randomize:
+__randomize:
ldx time ; Use 50/60HZ clock
lda time+1
jmp _srand ; Initialize generator
;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.importzp time
-_randomize:
+__randomize:
ldx time ; Use 50/60HZ clock
lda time+1
jmp _srand ; Initialize generator
;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.include "pet.inc"
-_randomize:
+__randomize:
ldx TIME
lda TIME+1 ; Use 60HZ clock
jmp _srand ; Initialize generator
;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.include "plus4.inc"
-_randomize:
+__randomize:
ldx TED_VLINELO ; Use TED rasterline as high byte
lda TIME ; Use 60HZ clock as low byte
jmp _srand ; Initialize generator
;
; Ullrich von Bassewitz, 05.11.2002
;
-; void randomize (void);
+; void _randomize (void);
; /* Initialize the random number generator */
;
- .export _randomize
+ .export __randomize
.import _srand
.include "vic20.inc"
-_randomize:
+__randomize:
lda VIC_LINES ; Get overflow bit
asl a ; Shift bit 7 into carry
- lda VIC_HLINE ; Get bit 1-8 of rasterline
+ lda VIC_HLINE ; Get bit 1-8 of rasterline
rol a ; Use bit 0-7
tax ; Use VIC rasterline as high byte
lda TIME ; Use 60HZ clock as low byte