aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/libc/putchar.s
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-10-11 10:04:28 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-10-11 10:04:28 +0800
commitd80d92e13330d527ddb94420b19f9e21bf0e74eb (patch)
treee65c35da97b547f974020fe3f9e429cd9c26e865 /libpsn00b/libc/putchar.s
parent7d001b2a757383665ef3151ed961d921640e00bf (diff)
downloadpsn00bsdk-d80d92e13330d527ddb94420b19f9e21bf0e74eb.tar.gz
Added FntOpen(), FntPrint() and FntFlush(), fixed termPrim() typo, fixed negative values in vsprintf(), added billboard sprites example
Diffstat (limited to 'libpsn00b/libc/putchar.s')
-rw-r--r--libpsn00b/libc/putchar.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/libpsn00b/libc/putchar.s b/libpsn00b/libc/putchar.s
new file mode 100644
index 0000000..a3f6c57
--- /dev/null
+++ b/libpsn00b/libc/putchar.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global putchar
+.type putchar, @function
+putchar:
+ addiu $t2, $0, 0xa0
+ jr $t2
+ addiu $t1, $0, 0x3c
+ \ No newline at end of file