it never works...

This is a discussion on it never works... within the Game Programming forums, part of the General Programming Boards category; No matter any tutorials or documents i try, the code to move into mode 13h NEVER works. I use Bloodshed ...

  1. #1
    Ryce
    Guest

    Angry it never works...

    No matter any tutorials or documents i try, the code to move into mode 13h NEVER works.

    I use Bloodshed Dev C++(i didnt like the ide in DJGPP and my compiles never worked )

    I would realy appreciat a link to some tested and working code for C++ to move into that mode, and even to plot down a pixel. Any help is very much appreciated!

  2. #2
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

  3. #3
    Ryce
    Guest

    Unhappy never mind the links

    Sorry that didnt help a bit.

    please if you could jsut plop some code that YOU know for a fact works. So i can get the errors and see why i cant do graphics.

    I've tried all sorts of code and nothing ever seems to work in all sorts of compilers(DJGPP, Dev C++, msvc++)

    If you could list the code, and the compiler you compiled it in.
    IT would be very help fll to see why i get errors and you guys dont. Thanks!

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    you cannot do mode 13h graphics with a windows compiler such as dev-c or visual c. You need a dos compiler like djgpp.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    i believe msvc and dev-c are both windows, yes... (i've tried dev-c, because i liked the editor... but it does not allow for interrupts, so i couldn't use it...) i have no exp. with msvc...

    oh, and i do recommend DJGPP if you're looking for 13h-ing... and you need easy memory access... (for ex, if you're making a videogame... no need to be fuddling around with memory modules...) i suppose you'd have to get more comfortable with programming and using the compiler before you port all your stuff... but have a go at it. i must say that DJGPP is the most well supported compiler i've ever found... and it's also free! it also has Allegro, a game programming library... good luck!

    www.delorie.com/djgpp

    PS i use the editor from BC45, so i don't know how to advice you on an editor or IDE of your own...

    hth!
    hasafraggin shizigishin oppashigger...

  6. #6
    Ryce
    Guest

    Talking ok gotcha but..

    Hey so now i know you NEED a DOS compiler so that isnt a problem anymore. The only thing i didn tlike about rhide ide was the compiler built in didnt work. oh well!

    thx alot for ther help!

    Im into OpenGL programming now though!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can anybody show me why this works??
    By tzuch in forum C Programming
    Replies: 2
    Last Post: 03-29-2008, 10:03 AM
  2. fprintf works in one function but not in the other.
    By smegly in forum C Programming
    Replies: 11
    Last Post: 05-25-2004, 04:30 PM
  3. Works only part of the time?
    By scr0llwheel in forum C++ Programming
    Replies: 1
    Last Post: 01-07-2003, 08:34 PM
  4. Programs works one way, not another. VC++ 6.0 help.
    By Cheeze-It in forum Windows Programming
    Replies: 4
    Last Post: 12-10-2002, 10:29 PM
  5. Thanks Stoned_Coder! ALT key works!!
    By johnnyd in forum C Programming
    Replies: 0
    Last Post: 03-11-2002, 10:39 AM

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