R. Clayton (rclayton@monmouth.edu)
Wed, 15 Nov 2000 12:32:06 -0500 (EST)
I have compiled my implementation of assignment 2 using the assignment 3
version of the simulator, and everything seems to be working as expected:
cl ../../../../test-pa1 ; ../../../../test-pa2
***
Testing pa1-allsleep.dsk.
***
Testing pa1-diskoverlap.dsk.
***
Testing pa1-nosleep.dsk.
***
Testing pa1-sleep.dsk.
***
Testing pa2-bigpgms.dsk.
***
Testing pa2-disk3rw.dsk.
***
Testing pa2-diskrw.dsk.
***
Testing pa2-diskw.dsk.
cl
If you're still working on assignment 2 and you're having troubles, make sure
you are setting the program status register (psw) properly; see the hardware
page for a description of the bits in the psw. The assignment 2 simulator
didn't care how the bits in the psw were set, but the assignment 3 simulator
does care, and if you set the bits wrong, your os will probably be wrong too.
Also, I encourage you to think twice about making local copies of the files in
the /export class directories. Time is growing short, and it's easy to waste
huge amounts of time and effort tracking down problems that result from using
obsolete copies or - even worse - mixing obsolete and current files in the same
executable. Your tests and submissions are compiled using the /export files,
so you might as well save yourself from some nasty surprises by using the
/export files directly.
This archive was generated by hypermail 2.0b3 on Mon Dec 18 2000 - 13:30:06 EST