At 10:21 AM 8/17/2010, [email protected] wrote: >Thanks for the response Matuesz. > >I have the watcom compiler already installed on my debian box. So I would > >like to stay with C. > > > >I am also very familiar with C and C++ plus numerous other languages. > >I would like to know what is the C equivalent of "SCREEN 12". > > > >I assume it would be some bios interrupt. > > > >I have the game Prince of Persia. Do you know which screen mode that > >game uses? Sorry, but i think you go about this all the wrong way. (Free)DOS doesn't know squat about graphics, it's all up to the compiler (interpreter) that you use how you enable the graphics mode and how the library of that language is accessing the video RAM. And games like PoP certainly do not use BIOS interrupts for graphics, as that would be far too slow...
In general, there exist a number of screen modes, including graphic ones, that can be enabled by a BIOS call to INT10h/00, but a lot of what is beyond the text modes is non-standard and depending on the video card being used, check out the RBIL for what all might be available... And check your compiler's docs for what kind of graphics are supported... Ralf ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
