Merge branch 'master' into coniopeek

This commit is contained in:
mrdudz
2023-07-08 15:23:42 +02:00
621 changed files with 17752 additions and 5798 deletions

View File

@@ -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
; ------------------------------------------------------------------------

View File

@@ -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