diff --git a/libsrc/atari/crt0.s b/libsrc/atari/crt0.s index 0ce03a101..0f0a5d77a 100644 --- a/libsrc/atari/crt0.s +++ b/libsrc/atari/crt0.s @@ -80,19 +80,19 @@ L1: lda sp,x lda LMARGN sta old_lmargin - lda #0 - sta LMARGN + ldy #0 + sty LMARGN ; set keyb to upper/lowercase mode ldx SHFLOK stx old_shflok - sta SHFLOK + sty SHFLOK ; Initialize conio stuff - lda #$FF - sta CH + dey ; Set X to $FF + sty CH ; Push arguments and call main