First post, by superfury
My current version of x86EMU seems to overwrite it's own code (If I start Windows 3.0 inside of it, the VGA stops working because it's counter gets an impossible value instead of predefined constant). So it seems to be overwriting it's own code somewhere, but the Visual C++ debugger, nor the MinGW debugger can find it? How do I find the source of this invalid memory access?
https://bitbucket.org/superfury/x86emu.git
When I try to debug it using Visual Studio 2015 community, it tells me (after manually setting a breakpoint in the VGA) that the value (which is defined as a constant) set is an impossible high (32-bit) value. It also refuses to throw exceptions where the overwrite of the code happens, wherever this is I don't know and can't figure out.
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io