directory ops

This commit is contained in:
rumbledethumps
2025-10-14 23:11:23 -07:00
parent a6763af95c
commit e6c138dc03
11 changed files with 138 additions and 8 deletions

10
libsrc/rp6502/f_lseek.c Normal file
View File

@@ -0,0 +1,10 @@
#include <rp6502.h>
#include <unistd.h>
long __fastcall__ f_lseek (long offset, int whence, int fildes)
{
ria_set_ax (fildes);
ria_push_long (offset);
ria_push_char (whence);
return ria_call_long (RIA_OP_LSEEK);
}