From ba0562c9f08ca6a6e97595cbd03c091bcd48966d Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 4 Jun 2010 10:15:44 +0000 Subject: [PATCH] Save two bytes by a small code change. git-svn-id: svn://svn.cc65.org/cc65/trunk@4708 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/clock.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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