From d52d986acaa9de1cadf357c010419eaddc302810 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Fri, 14 Sep 2018 16:54:20 +0200 Subject: [PATCH] libsrc/atari/getdefdev.s: small optimization and fix a typo --- libsrc/atari/getdefdev.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libsrc/atari/getdefdev.s b/libsrc/atari/getdefdev.s index cad768783..e1ec3f4c0 100644 --- a/libsrc/atari/getdefdev.s +++ b/libsrc/atari/getdefdev.s @@ -81,7 +81,7 @@ finish: lda #<__defdev ldx #>__defdev rts -; On AtariDOS or MyDOS, use the DUNIT variable to setuo the default +; On AtariDOS or MyDOS, use the DUNIT variable to setup the default ; device. The default device will then be the one the program was ; loaded from. @@ -89,8 +89,7 @@ use_DUNIT: lda DUNIT clc adc #'0' - sta __defdev + 1 - bne finish ; jump always + bne done ; jump always ; XDOS default device retrieval -- 2.39.5