changeset 901:8786f4894882

Removed -d option
author boisy
date Sat, 18 Jan 2003 05:56:12 +0000
parents d7969e08a482
children bffd011cbef3
files level1/cmds/dump.asm level1/sys/dump.hp
diffstat 2 files changed, 6 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/level1/cmds/dump.asm	Fri Jan 17 21:10:01 2003 +0000
+++ b/level1/cmds/dump.asm	Sat Jan 18 05:56:12 2003 +0000
@@ -10,6 +10,8 @@
 *        added -d option, added defs to conditionally
 *        assemble without help or screen size check
 *
+*        Removed -d option                              BGP 03/01/17
+*
 * Dump follows the function of the original Microware version but now
 * supports large files over 64K, and is free from the problems of garbage
 * in wide listings.
@@ -123,15 +125,6 @@
 
          anda  #$DF
 
-         cmpa  #'D
-         bne   IsItH
-
-* Process D here
-         lda   <Mode
-         ora   #DIR.
-         sta   <Mode
-         bra   OptPass
- 
 IsItH    cmpa  #'H
          bne  IsItM
 
@@ -216,7 +209,10 @@
          bne   mlink     
          lda   <Mode
 opath    os9   I$Open    
-         bcs   DoExit
+         bcc   DumpIn
+         ora   #DIR.		try directory mode
+         os9   I$Open		open it
+         bcs   DoExit		branch if error
 DumpIn   stx   <D.Prm    
          sta   <D.Opn    
          ldx   <D.Beg    
@@ -372,8 +368,6 @@
          IFNE  DOHELP
 HelpMsg  fcc   "Use: Dump [opts] [<path>] [opts]"
          fcb   C$CR,C$LF
-         fcc   "  -d = dump directory"
-         fcb   C$CR,C$LF
          fcc   "  -h = no header"
          fcb   C$CR,C$LF
          fcc   "  -m = module in memory"
--- a/level1/sys/dump.hp	Fri Jan 17 21:10:01 2003 +0000
+++ b/level1/sys/dump.hp	Sat Jan 18 05:56:12 2003 +0000
@@ -2,7 +2,6 @@
 Syntax: Dump [opts] [<path>] [opts]
 Usage : Formatted File Dump in Hexadecimal and ASCII
 Opts  :
-  -d = dump directory
   -h = no header
   -m = module in memory
   -x = file in exec dir