Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!tut.cis.ohio-state.edu!ucbvax!dog.ee.lbl.gov!nosc!crash!pnet01!cwr From: cwr@pnet01.cts.com (Will Rose) Newsgroups: comp.os.minix Subject: PC 1.5.10 nice/profil/monitor Message-ID: <7808@crash.cts.com> Date: 4 Mar 91 16:16:01 GMT Sender: root@crash.cts.com Organization: People-Net [pnet01], El Cajon CA Lines: 29 Kai-Uwe Bloem's recent posting of nice(1,2) runs ok on an IBM PC, with only trivial changes. However, the profil and monitor calls require a call to a routine mcount from the startup file mrtso.s; this in turn requires knowledge of how the compiler calls _procentry and _procexit. Could someone with the compiler sources (as far as I know, there is no other documentation) take a look at them, and either write mrtso.s or post the calling conventions for _procentry and _procexit? Everthing else patches/compiles without much difficulty. Nice, by the way, is a great improvement. Editing while running a background process feels much more reponsive, and the patches to ps are pretty minor too. Now all we need is Fred Van Kempen's rs232 patches, and a debugger from somewhere... Thanks for the help - Will ----------------------------------------------------------------------- "If heaven too had passions | Will Rose even heaven would | UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!cw grow old." - Li Ho. | ARPA: crash!pnet01!cwr@nosc.mil | INET: cwr@pnet01.cts.com UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!cwr ARPA: crash!pnet01!cwr@nosc.mil INET: cwr@pnet01.cts.com