]> git.sur5r.net Git - cc65/blob - libsrc/sim6502/paravirt.s
8c12cf85da3eedf9ff48d82b18d627d9681e3f24
[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         exit, _open, _close, _read, _write
11
12 exit            := $FFF0
13 _open           := $FFF1
14 _close          := $FFF2
15 _read           := $FFF3
16 _write          := $FFF4