First post, by superfury
I'm thinking about finishing the basics of my 80286+ protected mode. One problem I'm struggling about is the task switching and it's exception handling mechanism. Currently all exceptions are handled during the current task. As long as no task switch occurs nothing's wrong there. But how should I handle task switches throwing exceptions throwing exceptions (throwing exceptions ...)? What should be the best way to handle this?
x86 protection handling: https://bitbucket.org/superfury/unipcemu/src/ … le-view-default
Multitasking handling (submodule of protected mode system): https://bitbucket.org/superfury/unipcemu/src/ … ing.c?at=master
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io