View Single Post
Old Oct 26th, 2006, 1:46 AM   #5
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 431
Rep Power: 4 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Found what I needed, it was the interrupt 0x15. Of course, proper coding as you pointed out DaWei would require that I perform a check that this interrupt is actually existent and functional. Anyhow, here's the FASM code for a power down.
mov     ax,     0x5307
mov     bx,     0x0001
mov     cx,     0x0003
int     0x15
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote