From f613ee0f5737d28392232f8cdeaa61249b5e40cc Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Tue, 24 Jan 2017 21:01:42 +0100 Subject: [PATCH] More optimization in libsrc/atari/is_cmdline_dos.s. Suggestion by Spiro Trikaliotis. --- libsrc/atari/is_cmdline_dos.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libsrc/atari/is_cmdline_dos.s b/libsrc/atari/is_cmdline_dos.s index eb474dbfb..2a9c49e38 100644 --- a/libsrc/atari/is_cmdline_dos.s +++ b/libsrc/atari/is_cmdline_dos.s @@ -11,9 +11,8 @@ .include "atari.inc" __is_cmdline_dos: - lda __dos_type - cmp #MAX_DOS_WITH_CMDLINE + 1 + lda #MAX_DOS_WITH_CMDLINE + cmp __dos_type lda #0 rol a - eor #$01 rts -- 2.39.5