Jump to content

have a question about Protected mode switch

- - - - -

  • Please log in to reply
No replies to this topic

#1
fantasticbag

fantasticbag

    Newbie

  • Members
  • PipPip
  • 10 posts
Hi. I am trying to write a small operating system just as a personal project, for the fun u know? but here is the thing. i am trying to switch the processor into protected mode with a small application i developed using a borrowed boot sector. here is the code i managed to piece together from the intel documentation:

alot of this came from the tutorial "Write your own toy os" as well. I am loading this program at 0050:0000 and I am using Microsoft Virtual PC to test it. replica handbags Replica Louis vuitton handbags|Wholesale replica handbags|Designer replica bags|--fantastic-replica.netI am assembling it using NASM. Whenever I run this code, the VM says that an unrecoverable processor error has occurred. It happens right at the switch to protected mode at the jump to clear the prefetch buffer. anyone have an idea what's wrong?

Edited by fantasticbag, 05 January 2010 - 01:45 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users