From 2011f92c3a9faef7f5b9748b97972db2d3a35f2b Mon Sep 17 00:00:00 2001 From: cpg Date: Mon, 23 Nov 2009 21:17:56 +0000 Subject: [PATCH] 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 --- libsrc/atari/crt0.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5