diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-08 09:44:12 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-08 09:44:12 -0400 |
| commit | c6518c26344e79c3d0ada14e2089de9b2928a033 (patch) | |
| tree | ab4dbe5256d9a421594fc2fefa3ecb1afe98d7fa /src/crt0.s | |
| parent | ae2bd7b13946eafee72a953d55b70e3bc1cdb5be (diff) | |
| download | fujinet-chat-c6518c26344e79c3d0ada14e2089de9b2928a033.tar.gz | |
In case it matters, call _main with Y set to 0.
Diffstat (limited to 'src/crt0.s')
| -rw-r--r-- | src/crt0.s | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |
