Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Watcom WCL386 and Mode X? (SOLVED) (Developers)

posted by usotsuki, 26.11.2022, 23:45
(edited by usotsuki on 27.11.2022, 00:09)

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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 76 users online (0 registered, 76 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum