2013-05-20 20:35:42 +02:00
|
|
|
;
|
|
|
|
; Oliver Schmidt, 2013-05-16
|
|
|
|
;
|
|
|
|
; int open (const char* name, int flags, ...);
|
|
|
|
; int __fastcall__ close (int fd);
|
|
|
|
; int __fastcall__ read (int fd, void* buf, unsigned count);
|
|
|
|
; int __fastcall__ write (int fd, const void* buf, unsigned count);
|
|
|
|
;
|
|
|
|
|
2019-05-30 00:10:17 +02:00
|
|
|
.export exit, args, _open, _close, _read, _write
|
2024-01-25 09:12:46 +01:00
|
|
|
.export __sysremove, ___osmaperrno
|
2013-05-20 20:35:42 +02:00
|
|
|
|
2024-01-25 09:12:46 +01:00
|
|
|
__sysremove := $FFF2
|
|
|
|
___osmaperrno := $FFF3
|
2019-05-30 00:10:17 +02:00
|
|
|
_open := $FFF4
|
|
|
|
_close := $FFF5
|
|
|
|
_read := $FFF6
|
|
|
|
_write := $FFF7
|
|
|
|
args := $FFF8
|
|
|
|
exit := $FFF9
|
2024-01-25 09:12:46 +01:00
|
|
|
|
|
|
|
; $FFFA-FFFF are hardware vectors, extend before not after!
|