Page 1 of 1

"jmp $" commnd is generating a general protection exception

Posted: Sun Mar 28, 2004 12:00 am
by aks
i am developing a simple os for prototyping purposes. i have until now enabled paging and written the enabled the PIC controller.the IDT entries have also been made. i have also enabled the interrupts. now if i give a jmp $ statement a general protection interrupt is generated. could anyone plz tell me the reason?

RE:

Posted: Sun Mar 28, 2004 12:00 am
by hartyl
there must be an other reason for the GPF sincd the jmp $ does nothing (really nothing), but hang.
try:

cli
jmp $

maybe an hardware is generated, the idt somehow wrong and we got the #GPF. i'm entirely sure that the jmp $ is not the reason - you may post code.

greets, hartyl

RE:

Posted: Sun Mar 28, 2004 12:00 am
by ASHLEY4
Try duping letters to screen, to see how far your os gets.

ASHLEY4.