VOGONS


First post, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

I see this problem in Circuit S3 demo by Analogue:
it clears interrupts, it enters protected mode, it executes rep movsb.
Before the mov finishes, an int 08 occurs, which is serviced.
This causes flags/cs/eip to be placed on the stack which overwrites (due to poor coding by Simm) the previous return address, and the demo won't run. I don't understand how why int 08 runs with interrupts cleared.

Reply 2 of 2, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I don't understand how why int 08 runs with interrupts cleared.

Most likely there's an exception in-between that enables interrupts so the
int8 happens during the exception handler. Be sure to put some logging into
the dosbox CPU_Interrupt() function.