Results 1 to 6 of 6

Thread: High res graphics in DOS

  1. #1

    Thread Starter
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226

    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?
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  2. #2
    Zaei
    Guest
    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.

  3. #3
    pjvdg
    Guest
    What are you trying to program in DOS?

    Thank you for your vb-related question

  4. #4
    Zaei
    Guest
    DOS based ray CASTER, probably... =)

    Z.

  5. #5
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  6. #6
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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
  •  



Click Here to Expand Forum to Full Width