2

I need to intercept CR0 editing in real mode and to execute my code before CPU enters in protected mode. Is it possible and if yes, how I can do this?

Michael Petch
  • 46,082
  • 8
  • 107
  • 198
Still Dead
  • 61
  • 6
  • 4
    In real mode I don't believe so. In a VM86 task emulating real mode an attempt to switch to protected mode throws an exception that can be caught. – Michael Petch Nov 14 '15 at 16:45
  • @Michael, I don't think that's a good idea, but it seems like it's the only way to do that. Thanks. – Still Dead Nov 15 '15 at 15:55

0 Answers0