aboutsummaryrefslogtreecommitdiff
path: root/src/crt0.s
diff options
context:
space:
mode:
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.