From 163c421db0b3ca59d46c09fa35fe854adbafa1e1 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 5 Nov 2002 20:17:38 +0000 Subject: [PATCH] Renamed randomize to _randomize git-svn-id: svn://svn.cc65.org/cc65/trunk@1489 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c128/randomize.s | 6 +++--- libsrc/c64/randomize.s | 6 +++--- libsrc/cbm510/randomize.s | 6 +++--- libsrc/cbm610/randomize.s | 6 +++--- libsrc/pet/randomize.s | 6 +++--- libsrc/plus4/randomize.s | 6 +++--- libsrc/vic20/randomize.s | 8 ++++---- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/libsrc/c128/randomize.s b/libsrc/c128/randomize.s index e4b731edd..a4599e97b 100644 --- a/libsrc/c128/randomize.s +++ b/libsrc/c128/randomize.s @@ -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 diff --git a/libsrc/c64/randomize.s b/libsrc/c64/randomize.s index c46764b60..c92cd51c7 100644 --- a/libsrc/c64/randomize.s +++ b/libsrc/c64/randomize.s @@ -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 diff --git a/libsrc/cbm510/randomize.s b/libsrc/cbm510/randomize.s index f32bb3701..ea8d29efd 100644 --- a/libsrc/cbm510/randomize.s +++ b/libsrc/cbm510/randomize.s @@ -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 diff --git a/libsrc/cbm610/randomize.s b/libsrc/cbm610/randomize.s index f32bb3701..08168aa67 100644 --- a/libsrc/cbm610/randomize.s +++ b/libsrc/cbm610/randomize.s @@ -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 diff --git a/libsrc/pet/randomize.s b/libsrc/pet/randomize.s index aea26df04..bf6527036 100644 --- a/libsrc/pet/randomize.s +++ b/libsrc/pet/randomize.s @@ -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 diff --git a/libsrc/plus4/randomize.s b/libsrc/plus4/randomize.s index aae7ef59e..ff7c05ce9 100644 --- a/libsrc/plus4/randomize.s +++ b/libsrc/plus4/randomize.s @@ -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 diff --git a/libsrc/vic20/randomize.s b/libsrc/vic20/randomize.s index bbf9733df..e87d4d398 100644 --- a/libsrc/vic20/randomize.s +++ b/libsrc/vic20/randomize.s @@ -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 -- 2.39.5