Add lseek to sim6502 paravirt

This commit is contained in:
Colin Leroy-Mira
2025-01-01 13:23:03 +01:00
parent ef385c78cc
commit 50cccc2c3a
4 changed files with 101 additions and 2 deletions

View File

@@ -7,9 +7,10 @@
; int __fastcall__ write (int fd, const void* buf, unsigned count);
;
.export exit, args, _open, _close, _read, _write
.export exit, args, _open, _close, _read, _write, _lseek
.export __sysremove, ___osmaperrno
_lseek := $FFF1
__sysremove := $FFF2
___osmaperrno := $FFF3
_open := $FFF4