From: cpg Date: Mon, 23 Nov 2009 21:17:56 +0000 (+0000) Subject: save a byte (idea by Uz, done by Daniel Serpell) X-Git-Tag: V2.13.1~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2011f92c3a9faef7f5b9748b97972db2d3a35f2b;p=cc65 save a byte (idea by Uz, done by Daniel Serpell) git-svn-id: svn://svn.cc65.org/cc65/trunk@4475 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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