Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
usotsuki

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

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!

Guti

Homepage

29.11.2022, 06:56

@ usotsuki
 

Watcom WCL386 and Mode X? (SOLVED)

Would be nice if you could post the "before" and "after" so we can learn something.

---
Visit my personal blog at https://www.javiergutierrezchamorro.com

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