mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-04-16 00:21:48 +00:00
- fix a bug where the rtssym function was getting overwritten.
now the "bas" program runs properly.
This commit is contained in:
@@ -108,6 +108,11 @@ e01-06
|
||||
- "mov $sysret1,(sp)" has written correction for "-(sp)". Using
|
||||
|
||||
--------------------
|
||||
e02-03
|
||||
- "mov $rtssym,*30" in sysexec is incorrect. It overwrites
|
||||
the first byte of the rtssym function with the rtssym address.
|
||||
It should read "move $rtssym,30" which writes the address of
|
||||
rtssym to the trap vector.
|
||||
e02-05
|
||||
- label "1:" is overstruck with "/" in the listing. leaving the
|
||||
label in place. Should be reviewed for semantic meaning.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
mov $1,u.intr / u.intr determines handling of interrupts;
|
||||
/ u.intr = 1 take interrupt
|
||||
mov $rtssym,*30 / emt trap vector set to take system routine
|
||||
mov $rtssym,30 / emt trap vector set to take system routine
|
||||
mov $fpsym,*10 / reserved instruction trap vector set to take
|
||||
/ system routine
|
||||
mov $sstack,sp / stack space used during swapping
|
||||
|
||||
Reference in New Issue
Block a user