Merge branch 'master' into coniopeek
This commit is contained in:
@@ -53,7 +53,8 @@ JOY_COUNT = 2 ; Number of joysticks we support
|
||||
|
||||
INSTALL:
|
||||
lda #JOY_ERR_OK
|
||||
ldx #0
|
||||
.assert JOY_ERR_OK = 0, error
|
||||
tax
|
||||
; rts ; Run into UNINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2003-05-02
|
||||
;
|
||||
; void _randomize (void);
|
||||
; void __randomize (void);
|
||||
; /* Initialize the random number generator */
|
||||
;
|
||||
|
||||
.export __randomize
|
||||
.export ___randomize
|
||||
.import _srand
|
||||
|
||||
.include "nes.inc"
|
||||
|
||||
__randomize:
|
||||
___randomize:
|
||||
ldx tickcount ; Use tick clock
|
||||
lda tickcount+1
|
||||
jmp _srand ; Initialize generator
|
||||
|
||||
Reference in New Issue
Block a user