Thread: DOS graphics help!!

  1. #1
    Registered User kiss_psycho's Avatar
    Join Date
    Feb 2003

    Question DOS graphics help!!

    Can neone possiby tell me the mode number to be passed on to the setmode() function to initialize high resolution graphics mode in C. 0x13 mode number increases the number of available colors to 256, but lowers the resolution to 320/200 pixels, significantly lower than even stangard BGI (640/480). But in 0x13 mode I can access video memory directly, at locaton 0xA000 which makes the refreshing of the screen super quick, compared with the slow BGI. I tried using different mode numbers, but the results are erratic. Sometimes resolution increases at the cost of the Y axis and (1152/150) pixels are allI get.

    Actually this is to improve a cricket game I made in BGI graphics. Higher resolution and a wider range of colors than the miserly 16 of BGI would do wonders for the game and the sport.
    Definition of Programmer : A red-eyed mumbling mammal capable of conversing with inanimate objects.

    Happy Hunting...
    The Root

  2. #2
    Registered User
    Join Date
    Sep 2002
    Don't cross post!

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    We dont allow cross posts......please be patiant and someone will answer your post on the C++ board

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dos graphics?
    By elnerdo in forum C++ Programming
    Replies: 10
    Last Post: 04-23-2005, 12:45 AM
  2. Graphics for DOS under Dev-C++
    By bubux in forum C Programming
    Replies: 16
    Last Post: 07-08-2002, 01:24 PM
  3. Dos graphics header
    By Vicious in forum A Brief History of
    Replies: 7
    Last Post: 05-14-2002, 12:24 PM
  4. Extremely Simple Graphics In Dos
    By Unregistered in forum A Brief History of
    Replies: 2
    Last Post: 03-07-2002, 07:25 PM
  5. VC++ graphics in dos.
    By StormySpike in forum C++ Programming
    Replies: 5
    Last Post: 09-28-2001, 10:24 AM