1
0
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:
tim.newsham
2008-05-04 21:47:39 +00:00
parent 5ed8f7c3ae
commit 3d86f87e10
2 changed files with 6 additions and 1 deletions

View File

@@ -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.

View File

@@ -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