aboutsummaryrefslogtreecommitdiff
path: root/src/crt0.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/crt0.s')
-rw-r--r--src/crt0.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crt0.s b/src/crt0.s
index 6ffb2ce..6cd66a6 100644
--- a/src/crt0.s
+++ b/src/crt0.s
@@ -44,10 +44,10 @@ start:
sta sp+1
; Set the keyboard to upper-/lower-case mode.
- ldy #0
- sty SHFLOK
- dey ; Set Y to $FF
+ ldy #$ff
sty CH ; remove keypress which might be in the input buffer
+ dey ; Set Y to 0
+ sty SHFLOK
; Go directly to main(). No support for CLI arguments, no saving
; any machine state for a clean exit, because we don't exit.