mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-05-05 15:43:36 +00:00
- fix a bug in the sh.s code that was garbled in the printout.
- now installing sh.s as /bin/sh in the rf0 image.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/ sh -- command interpreter
|
||||
mov sp,r5
|
||||
mov r5,shellarg / save orig sp in shellarg
|
||||
cmpb 8(r5),$'- / was this sh calleZd by init or loginx~
|
||||
cmpb *2(r5),$'- / was this sh calleZd by init or loginx~
|
||||
bne 2f / no
|
||||
sys intr; 0 / yes, turn off interrupts
|
||||
sys quit; 0
|
||||
|
||||
Reference in New Issue
Block a user