When i try to enter in protected mode, doesn't work, why?
where i wrong?
the source is attached.
protected mode doesn't work
protected mode doesn't work
- Attachments
-
- kernel.zip
- source
- (2.64 KiB) Downloaded 26 times
Re: protected mode doesn't work
Hi,
I have not yet looked at your code, but what is "doesn't work"? Does the machine hang? Does it triple fault? What final register values are displayed on your emulator console? Are you even using an emulator?
Also, if there's relevant mode switching code, perhaps you could post that in code tags instead of the entire zip.
Cheers,
Adam
I have not yet looked at your code, but what is "doesn't work"? Does the machine hang? Does it triple fault? What final register values are displayed on your emulator console? Are you even using an emulator?
Also, if there's relevant mode switching code, perhaps you could post that in code tags instead of the entire zip.
Cheers,
Adam
Re: protected mode doesn't work
Hi,
I believe doing a triple fault, after the boot(kernel "loaded"), qemu restart it continuosly.
I use qemu for windows
I believe doing a triple fault, after the boot(kernel "loaded"), qemu restart it continuosly.
I use qemu for windows
- summersong
- Member
- Posts: 32
- Joined: Sat Mar 26, 2011 5:26 am
- Location: Moscow
Re: protected mode doesn't work
Bochs has debugger and detailed log.