First post, by vladstamate
- Rank
- Oldbie
I am in protected mode, all is set up correctly. IRQ0 (timer) happens. How does the stack look like? I expected it to be like this, but I think that is wrong. Either I am off by 1 or wrong order.
[ESP+4] <= EIP of where the CPU was when the IRQ fired
[ESP+8] <= CS (descriptor) of where the CPU was when the IRQ fired
[ESP+12] <= EFLAGS
[ESP+16] <= ESP of where the CPU was when the IRQ fired
[ESP+20] <= ES descriptor
That does not seem correct right?
How does the stack look like immediately after an IRQ in PM is fired?
YouTube channel: https://www.youtube.com/channel/UC7HbC_nq8t1S9l7qGYL0mTA
Collection: http://www.digiloguemuseum.com/index.html
Emulator: https://sites.google.com/site/capex86/
Raytracer: https://sites.google.com/site/opaqueraytracer/