changeset 1509:f5e2b0e2cf29

Fixed problem in level 1 port of shell_21, bootfile no longer has shell in it.
author boisy
date Wed, 14 Jan 2004 15:05:32 +0000
parents 34f1e3e66aef
children 80a221f7a461
files level1/cmds/makefile level1/cmds/shell_21.asm
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/level1/cmds/makefile	Wed Jan 14 05:33:19 2004 +0000
+++ b/level1/cmds/makefile	Wed Jan 14 15:05:32 2004 +0000
@@ -10,7 +10,7 @@
 		display dmode dsave dump echo edit error exbin exmode format \
 		free grfo help ident iniz irqs link list load login makdir \
 		mdir merge mfree os9gen padrom park prompt printerr procs pwd pxd \
-		rename runb save setime shell_21 shellplus sleep \
+		rename runb save setime shell shell_21 sleep \
 		tee tmode touch tsmon tuneport unlink verify xmode
 SUBS		= gfx inkey syscall
 ALLOBJS		= $(CMDS) $(DRAGONCMDS) $(SUBS)
--- a/level1/cmds/shell_21.asm	Wed Jan 14 05:33:19 2004 +0000
+++ b/level1/cmds/shell_21.asm	Wed Jan 14 15:05:32 2004 +0000
@@ -735,6 +735,7 @@
          ELSE
          pshs  u
          os9   F$Link
+         tfr   u,y
          puls  u
          ENDC
          bcc   L0535
@@ -743,10 +744,15 @@
          ELSE
          pshs  u
          os9   F$Load
+         tfr   u,y
          puls  u
          ENDC
          bcs   L0561
-L0535    tst   <u0003
+L0535    
+         IFEQ  Level-1
+         ldy   M$Mem,y
+         ENDC
+         tst   <u0003
          bne   L0542
          tfr   y,d
          addd  <u000A