# HG changeset patch # User boisy # Date 1062962992 0 # Node ID 80f15c027ebbd2840ecf9af334c8ed3031ae6c84 # Parent 0a3500c747de5d52d2f842a498dbed3e559cba53 Improved ngu somewhat diff -r 0a3500c747de -r 80f15c027ebb level1/cmds/makefile --- a/level1/cmds/makefile Sun Sep 07 00:53:51 2003 +0000 +++ b/level1/cmds/makefile Sun Sep 07 19:29:52 2003 +0000 @@ -11,7 +11,7 @@ date dcheck debug ded deiniz del deldir devs dir disasm \ 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 park prompt printerr procs pwd pxd \ + mdir merge mfree os9gen padrom park prompt printerr procs pwd pxd \ rename runb save setime shell sleep tee tmode touch tsmon \ tuneport unlink verify xmode SUBS = gfx inkey syscall diff -r 0a3500c747de -r 80f15c027ebb level1/cmds/ngu.asm --- a/level1/cmds/ngu.asm Sun Sep 07 00:53:51 2003 +0000 +++ b/level1/cmds/ngu.asm Sun Sep 07 19:29:52 2003 +0000 @@ -64,7 +64,7 @@ * Module header definitions tylg set Prgrm+Objct atrv set ReEnt+rev -rev set $01 +rev set $00 edition set 1 mod eom,name,tylg,atrv,start,size @@ -185,8 +185,7 @@ lbsr SkipNSpc move past the argument ChkDash lbsr SkipSpcs and any following spaces bra GetChar start processing again -GetDash lda #C$SPAC get a space char - sta -1,x and wipe out the dash from the cmd line +GetDash clr -1,x and wipe out the dash from the cmd line GetDash2 ldd ,x+ load option char and char following ora #$20 make lowercase IsItA cmpa #'a is it this option? @@ -204,11 +203,12 @@ cmpb #'= 2nd char =? lbne ShowHelp show help if not inc