1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-18 07:29:36 +00:00

Renamed randomize to _randomize

git-svn-id: svn://svn.cc65.org/cc65/trunk@1489 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-11-05 20:17:38 +00:00
parent 839b425890
commit 163c421db0
7 changed files with 22 additions and 22 deletions

View File

@ -1,16 +1,16 @@
;
; 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

View File

@ -1,16 +1,16 @@
;
; 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

View File

@ -1,15 +1,15 @@
;
; 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

View File

@ -1,15 +1,15 @@
;
; 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

View File

@ -1,16 +1,16 @@
;
; 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

View File

@ -1,16 +1,16 @@
;
; 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

View File

@ -1,19 +1,19 @@
;
; 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