aboutsummaryrefslogtreecommitdiff
path: root/src/sio.s
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-02-11 13:26:57 -0500
committerB. Watson <urchlay@slackware.uk>2026-02-11 13:26:57 -0500
commitb7b86e3a26d4bfba9c49f0a24ec030a7b3ebd8a3 (patch)
treed2cb7323c78a4983e2a498110a077aaf24d1f696 /src/sio.s
downloadfujinet-chat-b7b86e3a26d4bfba9c49f0a24ec030a7b3ebd8a3.tar.gz
initial commit
Diffstat (limited to 'src/sio.s')
-rw-r--r--src/sio.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/sio.s b/src/sio.s
new file mode 100644
index 0000000..3dd9191
--- /dev/null
+++ b/src/sio.s
@@ -0,0 +1,17 @@
+ ;; Call SIO
+
+ .export _siov
+ .export _rtclr
+ .export _cold_start
+
+_siov: JSR $E459
+ RTS
+
+_rtclr: LDA #$00
+ STA $12
+ STA $13
+ STA $14
+ RTS
+
+_cold_start:
+ JMP $E477