Would it be possible to write a Win32 console program and use it just like a DOS program (ie all the low level features such as interrupt re-direction and direct video buffer access)?
Would it be possible to write a Win32 console program and use it just like a DOS program (ie all the low level features such as interrupt re-direction and direct video buffer access)?
No, not really, becouse of a few things:
1.) Protected mode - windows programs cannot access video buffer memory, interrupts, ect.
2.) If you make a "DOS" program and run it in windows, its an [I]enumation, not the real thing.
SPH
****ing great! What the hell is the point in that, then? Why is Microsoft so intent on killing off DOS support. A cool game I made in DOS won't work in 2000 because it uses an alternate ISR for the keyboard.
Its because DOS having complete control of something is not good for a proper Multitasking OS.....Originally posted by samGwilliam
****ing great! What the hell is the point in that, then? Why is Microsoft so intent on killing off DOS support. A cool game I made in DOS won't work in 2000 because it uses an alternate ISR for the keyboard.
Anyway.....just implement the key handlers with some WINAPI functions or DirectInput
I know ........ all about Windows specific coding
Good time to learn....Originally posted by samGwilliam
I know ........ all about Windows specific coding
Post some code and see if anyone can give you the answer quickly
This is the details on the api way.
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