/ disk boot program to load and transfer
/ entry is made by jsr pc,*$0
/ so return can be rts pc
/ establish sp and check if running below
/ intended origin, if so, copy
/ program up to 'core' K words.
/ clear core to make things clean
/ at origin, read pathname,
clr *$rpcs / selects drive zero
/ spread out in array 'names', one
/ component every 14 bytes.
/ now start reading the inodes
/ starting at the root and
/ going through directories
/ read file into core until
/ a mapping error, (no disk address)
/ get the inode specified in r0
/ offset in file is in bno.
/ skip if success, no skip if fail
/ the algorithm only handles a single
/ indirect block. that means that
/ files longer than 10+128 blocks cannot
/ low order address in dno,
/ read and echo a teletype character
/ print a teletype character