Borland 5.5 - Graphics??

This is a discussion on Borland 5.5 - Graphics?? within the C++ Programming forums, part of the General Programming Boards category; Hi Does anybody know how to use graphics in borland c++ 5.5, I just want to get to screen 13h ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    28

    Borland 5.5 - Graphics??

    Hi

    Does anybody know how to use graphics in borland c++ 5.5, I just want to get to screen 13h but most examples on the web don't seem to work!

    Thanks...
    ...

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Mode13


    int main()
    {

    //Set up mode13 graphics mode
    asm mov ax, 13h;
    asm int 10h;

    //Return to text mode
    asm mov ax, 03h;
    asm int 10h;

    return 0;
    }


    You cannot use the Win32 compiler to compile this code, use the DOS compiler (bcc -ml 'filename'), or select DOS (standard) under TARGETEXPERT - PLATFORM.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 10:57 AM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 09:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 06:06 PM
  4. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 12:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21