Archived

This topic is now archived and is closed to further replies.

Betrayer_of_Code

Help?? (drawing in C++ (not oGL or Dx))

Recommended Posts

I am fairly far along and I was wondering if there is a way to draw in C++, i dont want openGl or Dx yet, I want to learn this way first. I would appreciate the help (+ a link to some tutorias on it) Homepage Luck is a Horse to ride like any other...Luckily im not a gambler, I dont know how to ride. For any total noob out there Here is a like to my tutorials, thry them out

Share this post


Link to post
Share on other sites
Mulligan    378
Yup, c++ has no drawing capabilities whatsoever. What I would suggest is to dive into Win32. Yes it is a steep hill to climb when you just want to draw lines or points, but it in inherently necessary. Once you get the basics of Win32, you''ll have no problem drawing away.

Share this post


Link to post
Share on other sites
Shannon Barber    1681
It depends on your environment.

If you have a DOS compiler, you can just set a far char* to 0xA0000000 and start writing to the frame-buffer. For it to show up on the screen, you need to make some mystical interupt call, I think 10, with the VGA mode you want in ah. google for mode 19 graphics (or mode 13h).

If you are using a Windows compiler, then you need to use DirectDraw to get access to the frame buffer.

Share this post


Link to post
Share on other sites