|
-
May 3rd, 2001, 04:33 AM
#1
Thread Starter
Frenzied Member
High res graphics in DOS
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?
-
May 3rd, 2001, 11:49 AM
#2
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.
-
May 3rd, 2001, 11:58 AM
#3
What are you trying to program in DOS?
Thank you for your vb-related question
-
May 3rd, 2001, 03:13 PM
#4
DOS based ray CASTER, probably... =)
Z.
-
May 3rd, 2001, 04:13 PM
#5
Frenzied Member
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.
Harry.
"From one thing, know ten thousand things."
-
May 3rd, 2001, 04:37 PM
#6
Good Ol' Platypus
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.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|