Last change
on this file since 474 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
307 bytes
|
Rev | Line | |
---|
[444] | 1 | #include "asm.h" |
---|
| 2 | |
---|
| 3 | ENTRY(_exit) |
---|
| 4 | lda 257,g13 |
---|
| 5 | calls g13 |
---|
| 6 | |
---|
| 7 | ENTRY(_sys_open) |
---|
| 8 | lda 230,g13 |
---|
| 9 | calls g13 |
---|
| 10 | ret |
---|
| 11 | |
---|
| 12 | ENTRY(_sys_read) |
---|
| 13 | lda 231,g13 |
---|
| 14 | calls g13 |
---|
| 15 | ret |
---|
| 16 | |
---|
| 17 | ENTRY(_sys_write) |
---|
| 18 | lda 232,g13 |
---|
| 19 | calls g13 |
---|
| 20 | ret |
---|
| 21 | |
---|
| 22 | ENTRY(_sys_lseek) |
---|
| 23 | lda 233,g13 |
---|
| 24 | calls g13 |
---|
| 25 | ret |
---|
| 26 | |
---|
| 27 | ENTRY(_sys_close) |
---|
| 28 | lda 234,g13 |
---|
| 29 | calls g13 |
---|
| 30 | ret |
---|
Note: See
TracBrowser
for help on using the repository browser.