Skip to content

Commit

Permalink
Clean-up
Browse files Browse the repository at this point in the history
void is always fast.
  • Loading branch information
polluks committed Jan 3, 2024
1 parent a70b7a5 commit 5b7b8c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libsrc/rp6502/codepage.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <rp6502.h>

int __fastcall__ codepage (void)
int codepage (void)
{
return ria_call_int (RIA_OP_CODEPAGE);
}
2 changes: 1 addition & 1 deletion libsrc/rp6502/lrand.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <rp6502.h>

long __fastcall__ lrand (void)
long lrand (void)
{
return ria_call_long (RIA_OP_LRAND);
}
2 changes: 1 addition & 1 deletion libsrc/rp6502/phi2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <rp6502.h>

int __fastcall__ phi2 (void)
int phi2 (void)
{
return ria_call_int (RIA_OP_PHI2);
}
4 changes: 2 additions & 2 deletions libsrc/rp6502/ria.s
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ _ria_push_int:
sta RIA_XSTACK
rts

; long __fastcall__ ria_pop_long(void);
; long ria_pop_long(void);
_ria_pop_long:
jsr _ria_pop_int
ldy RIA_XSTACK
Expand All @@ -37,7 +37,7 @@ _ria_pop_long:
sty sreg+1
rts

; int __fastcall__ ria_pop_int(void);
; int ria_pop_int(void);
_ria_pop_int:
lda RIA_XSTACK
ldx RIA_XSTACK
Expand Down

0 comments on commit 5b7b8c8

Please sign in to comment.