Watcom WCL386 and Mode X? (SOLVED) (Developers)
I've been dinking around with WCL386 for something I'm trying to get off the ground, and it needs the ability to run in a 320x240x256 60 Hz video mode. OK, I've figured out how to set that up, and I'm running in it. And OK, DOSBOX works, and QEMU works. But I decided on a lark to test my code in other emulators (I don't currently have a working box to run the code natively on), and MAME and VirtualBox GPF when I try to write to VGA memory - which I currently do by simply setting up a pointer to 0x000A0000 and offsetting that, which I understand to be how it's supposed to be done with DOS/4GW.
I guess this isn't the right way to do it?
ETA:
Found the problem, and it was a stupid side effect of code conversion.
I forgot to remove a "far" from a pointer declare. DERP!
Complete thread:
- Watcom WCL386 and Mode X? (SOLVED) - usotsuki, 26.11.2022, 23:45
- Watcom WCL386 and Mode X? (SOLVED) - Guti, 29.11.2022, 06:56