aboutsummaryrefslogtreecommitdiff
path: root/src/crt0.s
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-13 01:38:17 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-13 01:38:51 -0400
commit172db1bcaa88b51326e9b788022985c97276dbfb (patch)
tree40455c46fe46553d94be0865ab93c05b4da3fa8f /src/crt0.s
parent7a0ae36af58e684b4108f817a15000d09adf1722 (diff)
downloadfujinet-chat-172db1bcaa88b51326e9b788022985c97276dbfb.tar.gz
Get rid of edbox_callback() abstraction (never used it anyway). 7696 bytes free.
Diffstat (limited to 'src/crt0.s')
-rw-r--r--src/crt0.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crt0.s b/src/crt0.s
index 399f391..44a1c93 100644
--- a/src/crt0.s
+++ b/src/crt0.s
@@ -43,11 +43,12 @@ start:
lda MEMTOP+1
sta sp+1
-; Set the keyboard to upper-/lower-case mode.
+; Set various OS variables.
ldy #$ff
sty CH ; remove keypress which might be in the input buffer
iny ; Set Y to 0
- sty SHFLOK
+ sty SHFLOK ; Turn off Caps Lock
+ sty SOUNDR ; Turn off SIO beep/click
; Go directly to main(). No support for CLI arguments, no saving
; any machine state for a clean exit, because we don't exit.