# HG changeset patch # User boisy # Date 1017989915 0 # Node ID d4eb10b30e7210960d0104110248c55ac1afc0a9 # Parent 6641a883d6b0b0d93f81d2929f993acc63529059 Disassembled and commented shell.asm, removed shell binary diff -r 6641a883d6b0 -r d4eb10b30e72 level1/cmds/makefile --- a/level1/cmds/makefile Thu Apr 04 16:34:12 2002 +0000 +++ b/level1/cmds/makefile Fri Apr 05 06:58:35 2002 +0000 @@ -3,7 +3,7 @@ DEPENDS = ./Makefile CMDS = asm attr backup binex build date del deldir dir dump echo exbin free ident link list \ - load login makdir printerr pwd pxd rename save setime sleep tee unlink verify + load login makdir printerr pwd pxd rename save setime shell sleep tee unlink verify ALLOBJS = $(CMDS) all: $(ALLOBJS) diff -r 6641a883d6b0 -r d4eb10b30e72 level1/cmds/shell Binary file level1/cmds/shell has changed diff -r 6641a883d6b0 -r d4eb10b30e72 level1/cmds/shell_21.asm --- a/level1/cmds/shell_21.asm Thu Apr 04 16:34:12 2002 +0000 +++ b/level1/cmds/shell_21.asm Fri Apr 05 06:58:35 2002 +0000 @@ -13,12 +13,15 @@ * Disassembled 02/04/03 22:01:32 by Disasm v1.6 (C) 1988 by RML ifp1 - use os9defs + use defsfile endc + tylg set Prgrm+Objct atrv set ReEnt+rev rev set $01 + mod eom,name,tylg,atrv,start,size + u0000 rmb 1 u0001 rmb 2 u0003 rmb 1 @@ -53,8 +56,8 @@ u00D7 rmb 40 u00FF rmb 438 size equ . -name equ * -L000D fcs /Shell/ + +name fcs /Shell/ fcb $14 L0013 fcb $13 fcb $50 P @@ -83,23 +86,16 @@ fcb $00 fcb $00 fcb $00 -L002E fcb $0A - fcb $53 S - fcb $68 h - fcb $65 e - fcb $6C l - fcb $6C l - fcb $0D -L0035 fcb $0A -L0036 fcb $4F O - fcb $53 S - fcb $39 9 - fcb $3A : -L003A fcb $D7 W - fcb $0E - fcb $3B ; -start equ * - leas -$05,s +L002E fcb C$LF + fcc "Shell" + fcb C$CR +L0035 fcb C$LF +L0036 fcc "OS9:" + +L003A stb $8D04 +L00AE fcc "eof" + fcb C$CR +L00B2 tst $D001 - jmp >$2DD0 - oim #$7F,$01AF - cmpx >$01B8 - ldx >$01EF - subd $00,x - neg $0D21 - bls L0153 - rti - cwai #$3E - stu >$C60E - bsr L00C9 +L00CF fdb L0286-* + fcs "*" + fdb L035B-* + fcs "W" + fdb L0268-* + fcs "CHD" + fdb L0264-* + fcs "CHX" + fdb L023E-* + fcs "EX" + fdb L04BC-* + fcs "KILL" + fdb L027E-* + fcs "X" + fdb L0282-* + fcs "-X" + fdb L026E-* + fcs "P" + fdb L0271-* + fcs "-P" + fdb L0276-* + fcs "T" + fdb L027A-* + fcs "-T" + fdb L04E8-* + fcs "SETPR" + fdb L0209-* + fcs ";" + fdb $0000 +L010A fcb $03 + fcb $5E ^ symbol + fcb $A1 ! symbol + fdb L0334-* + fcs ";" + fdb L034D-* + fcs "&" + fdb L032D-* + fcb $8D +L0116 fdb L02CE-* + fcs ">>" + fdb L02C9-* + fcs "<" + fdb L02D5-* + fcs ">" + fdb L030F-* + fcs "#" + fdb $0000 +L0125 fcb $0d + fcc "()" + fcb $FF +L0129 fcb $0D + fcb $21,$23,$26,$3b,$3c,$3e,$ff +L0131 fcb $c6,$0E,$8d,$94 L0135 clr L000D,pcr + leay >name,pcr sty L000D,pcr + leax >name,pcr L0423 stx $CC01 - com $6835 - lbcs L568F - stu >$4925 - tsta - lda ,u - bne L0487 + +L0462 fcc "/pipe" + fcb C$CR +L0468 fcb $34,$10,$30,$8c,$f5,$cc,$01,$03 + fdb $17FE,$6835,$1025,$5217,$FF49,$254D,$A6C4,$2607 os9 I$Dup bcs L04C9 sta ,u @@ -639,7 +635,7 @@ lbsr L00BF leas $05,s puls pc,y,x,b,a - bsr L04CA +L04BC bsr L04CA cmpb #$02 bcs L04E5 tfr b,a @@ -662,7 +658,7 @@ bne L04C9 L04E3 leas $02,s L04E5 lbra L02BE - bsr L04CA +L04E8 bsr L04CA stb