[H-GEN] kernel info
In memory of Mighty
s335810 at student.uq.edu.au
Sat Sep 6 10:33:48 EDT 1997
On Sat, 6 Sep 1997, Byron Ellacott wrote:
> I have a curious yet unresistable urge to modify my kernel.. more.. to do
> my current idea, I need to be able to delay for x ms in a kernel c source
> file.
>
> I want to make the kernel beep every second or so for a brief moment after
> it has been shut down, so I know when to turn the box off when it is
> headless.
You could set a flag when it reaches "System Halted" (or whatever,
my box hasn't stopped running for 41 days now <grin>). Then just add an
if for that flag in the idle loop, which sets a variable to a large
negative value, incrementing whenever the idle loop passes, and beeping
when it gets back to 0....
I think this cs301 is getting to me.
(for non third year uq CS, cs301 is operating systems programming. An
excuse for messing with BIOS interrupts on XTs)
In memory of Mighty <memory at techie.com>
/// /// /// /// /// /// /// // // //
/// /// /// /// /// // // //
/// /// /// /// // // //
/// /// /// /// /// ///
/// ///////// ///////// /// /// // // //
I will not play it. This game of loneliness
Web page at http://student.uq.edu.au/~s335810
----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe
More information about the General
mailing list