First post, by superfury
I've built a little wrapper to allow interrupt 10h in my emulator to be hooked to a BIOS using the standard addresses (C000:3 entry point and the interrupt after all the Dosbox ROMs(character fonts and misc data)). The entry point handler simply sets the interrupt 10h vector in the IVT. The interrupt 10h vector points to a little procedure which executes an 'internal call' into the BIOS_int10 function in my emulator (using special opcode 0xFE /6, like Dosbox does).
Interrupt 10h handler:
https://bitbucket.org/superfury/x86emu/src/9e … t10.c?at=master
The callback generator/execution:
https://bitbucket.org/superfury/x86emu/src/9e … ger.c?at=master
It seems to run fine partway, but after detecting the CPU&VGA, it hangs.
It also seems to use 40x24x16 text mode instead of 80x24x16 text mode?
Anyone knows what's going wrong here?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io