PDA

Click to See Complete Forum and Search --> : High res graphics in DOS


mlewis
May 3rd, 2001, 04:33 AM
OK, so its a little out of date, but DOS is still a cool way to do stuff. Anyway, all I need is some C/C++ code that will place an SVGA or VESA 2.0 compatible card into say 800x600x256 mode or higher if possible, then do some "stuff" and return to normal.

Can anyone help w/ this?

Zaei
May 3rd, 2001, 11:49 AM
You should probably go looking around older coding sites, and look
for the interrupts that go with the resolution that you want. You
will probably end up playing with a bit of assembly. There is a demo
coding column over at flipCode that deals with 320x200, so you may
want to look there for starters. Im not sure if they have released
source for the original Quake, but there isn't a bit of hardware
acceleration in the original, so you may want to look there.

Z.

pjvdg
May 3rd, 2001, 11:58 AM
What :confused: are you trying to program in DOS?

Thank you for your vb-related question :D

Zaei
May 3rd, 2001, 03:13 PM
DOS based ray CASTER, probably... =)

Z.

HarryW
May 3rd, 2001, 04:13 PM
I know Parksie had some code to get a pointer to video memory in DOS some time last year - try asking your question in the C/C++ forums, I'm sure someone knows. I'm not so sure about the resolution... 800 x 600 should be available (that's the lowest SVGA res after all) but I don't know how much higher it will go.

Anyway, ask in the C/C++ forums.

Sastraxi
May 3rd, 2001, 04:37 PM
You need a graphics library, there are tons of links to them on QBASIC.COM. If this isn't the language you are looking for, I can't help you out. But if it is motor there. :D