diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2020-04-24 19:01:28 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2020-04-24 19:01:28 +0800 |
| commit | 1aa0e17df7c325a41de8cf8a57f52ed853f08bf3 (patch) | |
| tree | 5ec7f69ca0104f2b0a41e2ee7d3cb0cf0c9c54c5 /libpsn00b/psxapi | |
| parent | e82da2abe4c264d4b48a48d79cf9b8e4c4fb8ab6 (diff) | |
| download | psn00bsdk-1aa0e17df7c325a41de8cf8a57f52ed853f08bf3.tar.gz | |
Refined toolchain instructions, organized examples, added automatic retry for CdRead(), added FIOCSCAN ioctl in psxsio TTY driver, added tty and console examples.
Diffstat (limited to 'libpsn00b/psxapi')
| -rw-r--r-- | libpsn00b/psxapi/stdio/atoi.s | 9 | ||||
| -rw-r--r-- | libpsn00b/psxapi/stdio/atol.s | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libpsn00b/psxapi/stdio/atoi.s b/libpsn00b/psxapi/stdio/atoi.s new file mode 100644 index 0000000..74c4ae7 --- /dev/null +++ b/libpsn00b/psxapi/stdio/atoi.s @@ -0,0 +1,9 @@ +.set noreorder +.section .text + +.global atoi +.type atoi, @function +atoi: + addiu $t2, $0, 0xa0 + jr $t2 + addiu $t1, $0, 0x10 diff --git a/libpsn00b/psxapi/stdio/atol.s b/libpsn00b/psxapi/stdio/atol.s new file mode 100644 index 0000000..f0da653 --- /dev/null +++ b/libpsn00b/psxapi/stdio/atol.s @@ -0,0 +1,9 @@ +.set noreorder +.section .text + +.global atol +.type atol, @function +atol: + addiu $t2, $0, 0xa0 + jr $t2 + addiu $t1, $0, 0x11 |
