Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Recursive interrupts in protected mode

Maybe a fresh face will be able to see the problem. I have some protected mode code that calls a software interrupt. No problem, it enters the handler just fine. In the midst of that handler, it calls itself as an interrupt, but with a different parameter to execute a different subset. Problem is, when it makes that second interrupt call, the machine ends up rebooting. Anyone know why this would be happening? Stack is okay, I checked that. On top of that, the interrupt handler was just called, so I know the IDT entry is kosher. Ideas?


Comments

  • Never mind, I found my error. (grumble grumble overwriting the IDT grumble grumble)


  • Shawn CarterShawn Carter Member Posts: 0

    _____ | http://forcoder.org | free video tutorials and ebooks about || Visual Basic .NET, Visual Basic, C++, Swift, Go, Objective-C, PHP, JavaScript, PL/SQL, Assembly, MATLAB, Ruby, Scratch, Python, C, C#, Java, Perl, Delphi, R Julia, Erlang, Crystal, Dart, F#, Rust, Awk, VBScript, Ada, Hack, ABAP, Prolog, Scheme, Apex, Lisp, Fortran, SAS, Transact-SQL, D, COBOL, ML, Alice, Logo, Bash, LabVIEW, Scala, Lua, Clojure, Kotlin, FoxPro || _____________

Sign In or Register to comment.