Archived

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

cohen1

Console mode graphics

Recommended Posts

i don''t know what you mean by graphic library for the console (and i don''t think there is one), but there are some api functions that you can use to manipulate the cursor/cursor position and therefore draw "directly" to the screen.
unfortunately i can''t remember them, nor do i have a documentation here.
look for something like GetStdHandle and search your way thru msdn

hope that helps
ridcully

Share this post


Link to post
Share on other sites
there is no graphics library for Console mode... its real messed in the head... its not realy a dos application and its not realy a windows app... its some where in between....
You can''t go graphics of any kind in it....

Great Milenko

Words Of Wisdom:
"Never Stick A Pretzel In Your Butt It Might Break Off In There."


http://www.crosswinds.net/~milenko
http://www.crosswinds.net/~pirotech

Share this post


Link to post
Share on other sites
Or learn that changing certain values at address 0xA000 and the following 64000 bytes can be rewarding (this is for most systems, not all)


-Chris Bennett ("Insanity" of Dwarfsoft)

Check our site:
http://www.crosswinds.net/~dwarfsoft/
Check out our NPC AI Mailing List :
http://www.egroups.com/group/NPCAI/
made due to popular demand here at GDNet :)

Share this post


Link to post
Share on other sites
Don't worry, NuffSaid, it's not your computer. Win32 programs, which is what console programs in VC 6.0++ are, are not allowed to access I/O ports(even memmory mapped) or use interrupts.

Edited by - Sheltem on July 31, 2000 4:05:08 AM

Share this post


Link to post
Share on other sites
Console applications are just as much Win32 applications as GUI Win32 applications. They just use the console subsystem (obviously, since Windows 9x and Me have DOS in them DOS has a hand in making them work when run on those platforms, but that has nothing to do with the application itself).

Share this post


Link to post
Share on other sites
VC++''s console apps don''t support graphics. They are just 32-bit tex-only mode programs with little to no use.

If you want a good 32-bit DOS compiler, get DJGPP and Allegro as was suggested before. Get it at DJGPP Website

From->~Lucas();

Share this post


Link to post
Share on other sites