Search found 3 matches

by nabil828
Tue Jan 06, 2009 10:25 pm
Forum: Beginning OS Development
Topic: How i can shutdown my computer in C ?
Replies: 3
Views: 8739

hi mike

i searched for Advanced Power Management to use it to shutdown the computer using C but i found nothin useful ,could you send me some references or links or code to let the computer shutdown.

cheers,
Nabil
by nabil828
Sat Dec 20, 2008 9:47 am
Forum: Beginning OS Development
Topic: How i can shutdown my computer in C ?
Replies: 3
Views: 8739

How i can shutdown my computer in C ?

Hi,
I'm developing a simple OS .. I'm know loading the Kernel successfully .. but i need a (Assembly or C) code to shutdown My PC.

plz help
:D :?:
by nabil828
Thu Sep 04, 2008 11:05 pm
Forum: Assembly Language
Topic: Q: how i can print the content of AX register ..plz help.
Replies: 8
Views: 29434

Q: how i can print the content of AX register ..plz help.

Q: how i can print the content of AX register with INT 0x10 interrupt?


i just wanted to print the amount of Ram.like in tuotorial 2!



***********************************
xor ax, ax
int 0x12
; Now AX = Amount of KB in system recorded by BIOS
***********************************