mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Removed GEOS rand.s implementation in favor of random number generator from common library.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1498 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
c7f9321ff8
commit
d1754b7457
@ -11,7 +11,7 @@
|
|||||||
@$(AS) -o $@ $(AFLAGS) $<
|
@$(AS) -o $@ $(AFLAGS) $<
|
||||||
|
|
||||||
C_OBJS = _afailed.o abort.o perror.o
|
C_OBJS = _afailed.o abort.o perror.o
|
||||||
S_OBJS = copydata.o memcpy.o memset.o rand.o
|
S_OBJS = copydata.o memcpy.o memset.o
|
||||||
|
|
||||||
all: $(C_OBJS) $(S_OBJS)
|
all: $(C_OBJS) $(S_OBJS)
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
;
|
|
||||||
; Maciej 'YTM/Elysium' Witkowiak, 15.07.2001
|
|
||||||
;
|
|
||||||
;
|
|
||||||
; int rand (void);
|
|
||||||
; void srand (unsigned seed);
|
|
||||||
;
|
|
||||||
.export _rand, _srand
|
|
||||||
.include "../inc/jumptab.inc"
|
|
||||||
|
|
||||||
.code
|
|
||||||
|
|
||||||
_rand:
|
|
||||||
jsr GetRandom
|
|
||||||
pha
|
|
||||||
jsr GetRandom
|
|
||||||
tax
|
|
||||||
pla
|
|
||||||
_srand:
|
|
||||||
rts
|
|
Loading…
Reference in New Issue
Block a user