pouët.net

Go to bottom

HLT - the smallest timer syncronization command...

category: general [glöplog]
 
So, it is. Hlt stops the CPU until any hardware interrupt happens (eg. timer). But, it's a privilegated command, so it can't be executed in any cpl other than cr0... But it works in win9x (xp possible) cr3 (v86) ?! why ?
(needed just in 256b intros)
added on the 2004-01-20 19:39:48 by Someone Someone
sorry cpl0/3
added on the 2004-01-20 19:44:21 by Someone Someone
maybe because win9x is not a real OS, you can access anything anytime without permission,unlike NT and Linux
added on the 2004-01-20 21:37:37 by duffman duffman
Noway man, win9x runnig under protected mode in cpl0...What is it ? Some kind of Intel bug ?
added on the 2004-01-20 22:59:01 by Someone Someone
it's not a bug, it's a feature...
added on the 2004-01-20 23:52:23 by red red
you're not running in a vm there.
added on the 2004-01-21 00:01:13 by superplek superplek
Nop, v86 only, but does it related to subj ? I think you cant run cpl0 under windows (acctually you can... :)
added on the 2004-01-21 01:07:00 by Someone Someone
priveleges can be distributed.
added on the 2004-01-21 07:59:57 by superplek superplek
all your privileges are belong to microsoft
added on the 2004-01-21 11:00:17 by Jcl Jcl
It will cause a GPF, but Windows checks what caused the exception, and if it was the HLT instruction, it will emulate it.
This emulation will only happen under dos subsystem.

Quote:
I think you cant run cpl0 under windows (acctually you can... :)

You can write a driver (the official way), or you can exploit one of the various bugs (not very compatible)...
added on the 2004-01-21 16:10:28 by avx avx
r4id!!! DIE!!!!!!
added on the 2004-01-21 17:10:37 by skrebbel skrebbel
+]
added on the 2004-01-21 17:10:45 by skrebbel skrebbel
Hehe, you're so funny ;)
added on the 2004-01-21 18:35:03 by avx avx
i'll quit it now. or well at least when it doesn't make sense.
added on the 2004-01-21 18:57:06 by skrebbel skrebbel
Ok, and I will cancel my preparations to summon the fiery hordes of bugs from the deepest extent of the address space, from ring 0 of the hellcore itself, at you.
We got a truce here, m8? :p
added on the 2004-01-21 20:05:42 by avx avx

login

Go to top