News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

int 10h

Started by cman, March 19, 2007, 07:41:49 PM

Previous topic - Next topic

cman

What interupts can be used in DOS box programs? I belive I've used a few in inline assembler for VC++ with no problems , but things like graphics interupts don't seem to work for me ( int 10h ). I was trying to write equivalents of Borlands gotoxy () , ect. functions when I found this is not I could'nt do this ( I know how to do this with console APIs , though ) . Thanks for any tips... :bg

MichaelW

QuoteWhat interupts can be used in DOS box programs?

It would depend on the version of Windows. Under Windows 9x any "normal" interrupt service should be fully functional. Under Windows NT/2000/XP I know that some of the system timer services do not work, and Interrupt 13h cannot access the hard disk drive, even for reading. AFAIK everything else should work OK. I can't recall ever seeing a problem with Interrupt 10h that could not be corrected with appropriate PIF settings.
eschew obfuscation