Archived

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

Poltras

Graphic Mode...

Recommended Posts

Into VC++ 6.0 Is there a way to either: - Create a Win32 Console that accepts to switch to graphic mode in software using assembler or a graphic library? - Create a DOS program? - Or to switch the compiler to another compiler than the VC++ one? I want to create a DOS program that will be able to go to graphic mode, but wish to program using VC++ 6.0 (once you have touched the interface...)

Share this post


Link to post
Share on other sites
In fact, and it may seem weird first view, I don''t want mode 13h (although if X is setted I can switch to any).

But I tested it in ASM (MOV AH,0x13;INT 0x10) and it doesn''t work at all

Please if someone knows, tell me!

Share this post


Link to post
Share on other sites
you cannot use interrupts with Win32 console or GUI programs because they are protected mode applications with an IPL (interrupt privelage level) to low to allow use with interrupts. any attempt will cause a general protection fault. you can, however use interrupts from a ".VXD" (virtual device driver). if you want to use mode 13h, you will either have to use DIrectX, write a DOS app (16/32-bit), or write a ".VXD".

Share this post


Link to post
Share on other sites