R. Clayton (rclayton@monmouth.edu)
(no date)
I've updated the class directory for assignment 4. There are three new batch
disks for assignment 4; see the updated assignment page
http://bluehawk.monmouth.edu/rclayton/web-pages/u02-438-505/pa4.html
for details (the assignment description is copied below).
These are not all the batch disks I have for assignment 4, but my os still
can't handle the other disks. I've added significant new checking code to the
simulator to catch errant references. You code may stop working if it runs
afowl of the new tests. The error messages you get should help you pin-point
the source of the errors.
The university is not extending the semester to cover the time lost earlier
this week. We'll have to talk in class this afternoon (Thursday, 8 August)
about how to handle with it.
--1 pa4-simple-fio.dsk - Contains a process that forks two other processes. The first process forked creates a file and writes the filename into the file. The second process opens the created file, reads its contents, compares it to the filename, and removes the file. The processes are self-checking; if there's no output, everything went o.k.
$ /e*/h*/c*/*5/S*/bin/os4 -Dins-cnts -d /e*/h*/c*/*5/d*/pa4-simple-fio.dsk
The system is halted. Total execution time: 155 ticks, idle time: 63 ticks (40%). Op-code: count add: 65 move: 38 sysc: 14 cmpr: 14 beq: 14
$
2 pa4-double-simple-fio.dsk - Runs the processes in pa-simple-fio.dsk twice.
$ /e*/h*/c*/*5/S*/bin/os4 -Dins-cnts -d /e*/h*/c*/*5/d*/pa4-double-simple-fio.dsk
The system is halted. Total execution time: 341 ticks, idle time: 136 ticks (39%). Op-code: count add: 140 move: 83 sysc: 33 cmpr: 32 beq: 32
$
3 pa4-bad.dsk - Contains a process that tries to do bad things with the file system. It is self-checking; if there's no output, everything went o.k.
$ /e*/h*/c*/*5/S*/bin/os4 -Dins-cnts -d /e*/h*/c*/*5/d*/pa4-bad.dsk
The system is halted. Total execution time: 176 ticks, idle time: 59 ticks (33%). Op-code: count add: 60 bne: 10 move: 56 sysc: 17 cmpr: 16 beq: 6
$
This archive was generated by hypermail 2.0b3 on Fri Aug 23 2002 - 19:30:04 EDT