diff level1/cmds/dsave.asm @ 962:8a0993b04c8a

*** empty log message ***
author boisy
date Fri, 31 Jan 2003 17:35:49 +0000
parents 942dd8e50006
children 84ea83668304
line wrap: on
line diff
--- a/level1/cmds/dsave.asm	Fri Jan 31 01:09:36 2003 +0000
+++ b/level1/cmds/dsave.asm	Fri Jan 31 17:35:49 2003 +0000
@@ -743,23 +743,22 @@
          pshs  x
          leax  Copy,pcr
          lbsr  CopyCmd
-         tst   <rewrite
+         ldb   <sopt			-s option specified?
          beq   BuildCopy2
-         ldd   #$2D72			-r
-         std   ,y++
-         lda   #C$SPAC
-         sta   ,y+
-BuildCopy2
-         ldb   <sopt			-s option specified?
-         beq   BuildCopy3
          lda   #'#
          sta   ,y+
          lbsr  Byte2ASC
          ldd   #$4B20			K'space'
          std   ,y++
+BuildCopy2
+         tst   <rewrite
+         beq   BuildCopy3
+         ldd   #$2D72			-r
+         std   ,y++
+         lda   #C$SPAC
+         sta   ,y+
 BuildCopy3
          ldx   <srcptr			get source path from statics
-BuildCopy4
          lbsr  StrCpy			copy to buffer
          lda   #C$SPAC			get space
          sta   ,y+			and store it after command in buff