Graphic Mode...
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...)
I''m pretty sure there''s a way to set mode 13h in a console app. I don''t know how to do it though.
JoeMont001@aol.com www.polarisoft.n3.net
JoeMont001@aol.com www.polarisoft.n3.net
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!
But I tested it in ASM (MOV AH,0x13;INT 0x10) and it doesn''t work at all
Please if someone knows, tell me!
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".
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement