How do you reset a processor which is operating in protected mode? Can you please issue the code?
Thank you!
Protected mode question...
-
knicos
RE:Protected mode question...
I do it with a triple fault, but im sure there is a better way.
To do this, set the IDT descriptor to 0 length and call any interrupt.
To do this, set the IDT descriptor to 0 length and call any interrupt.
-
pkd
RE:Protected mode question...
Boot:
mov dx,0x64
mov al,0xfe
out dx,al
jmp Boot ;Just in case
I use this code to reset I think it might be a better way then calling a triple fault.
When I read up about i think they said there are 4 ways to reset and some of them might not work on all systems, so i hope this works.
pkd
mov dx,0x64
mov al,0xfe
out dx,al
jmp Boot ;Just in case
I use this code to reset I think it might be a better way then calling a triple fault.
When I read up about i think they said there are 4 ways to reset and some of them might not work on all systems, so i hope this works.
pkd
-
hartyl
RE:Protected mode question...
then, is there any (easy?) way to shut down the computer (i mean, turn of the atx power supply)? some ins and outs?
greets, hartyl
greets, hartyl
-
pkd
RE:Protected mode question...
I think you need to use the APM protected mode interface to do this.
Look up int 15 AX = 5303h in the interupt list,
I haven't tried it yet (Currently bug hunting)
It requires you to setup 3 selectors, and then to call the functions through the Entry Point that is returned.
hope this helps
pkd
Look up int 15 AX = 5303h in the interupt list,
I haven't tried it yet (Currently bug hunting)
It requires you to setup 3 selectors, and then to call the functions through the Entry Point that is returned.
hope this helps
pkd