]> git.sur5r.net Git - cc65/blob - libsrc/sim6502/paravirt.s
Issue 814
[cc65] / libsrc / sim6502 / paravirt.s
1 ;
2 ; Oliver Schmidt, 2013-05-16
3 ;
4 ; int open (const char* name, int flags, ...);
5 ; int __fastcall__ close (int fd);
6 ; int __fastcall__ read (int fd, void* buf, unsigned count);
7 ; int __fastcall__ write (int fd, const void* buf, unsigned count);
8 ;
9
10         .export         args, exit, _open, _close, _read, _write
11
12 args            := $FFF0
13 exit            := $FFF1
14 _open           := $FFF2
15 _close          := $FFF3
16 _read           := $FFF4
17 _write          := $FFF5