From: uz Date: Fri, 4 Jun 2010 10:15:44 +0000 (+0000) Subject: Save two bytes by a small code change. X-Git-Tag: V2.13.3~724 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ba0562c9f08ca6a6e97595cbd03c091bcd48966d;p=cc65 Save two bytes by a small code change. git-svn-id: svn://svn.cc65.org/cc65/trunk@4708 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/clock.s b/libsrc/atari/clock.s index c7435b77b..e294d4ded 100644 --- a/libsrc/atari/clock.s +++ b/libsrc/atari/clock.s @@ -30,14 +30,13 @@ .proc __clocks_per_sec + ldx #$00 ; Clear high byte of return value lda PAL ; use hw register, PALNTS is only supported on XL/XE ROM and #$0e bne @NTSC - tax lda #50 rts -@NTSC: ldx #0 - lda #60 +@NTSC: lda #60 rts .endproc