How do I… Use BIOS calls? Write ISRs? Create TSRs?
These are very particular to specific systems (PC compatibles running MS-DOS, most likely). You’ll get much better information in a specific newsgroup such as comp.os.msdos.programmer or its FAQ list; another excellent resource is Ralf Brown’s interrupt list. comp.lang.c FAQ list · Question 19.40c Q: I’m trying to compile this program, but the compiler is complaining that “union REGS” is undefined, and the linker is complaining that int86 is undefined. A: Those have to do with MS-DOS interrupt programming. They don’t exist on other systems. comp.lang.c FAQ list · Question 19.40d Q: What are “near” and “far” pointers? A: These days, they’re pretty much obsolete; they’re definitely system-specific. They had to do with 16-bit programming under MS-DOS and perhaps some early versions of Windows. If you really need to know, see a DOS- or Windows-specific programming reference.
These are very particular to a particular system. 19.40c: I’m trying to compile a program in which “union REGS” and int86() are undefined. A: Those have to do with MS-DOS interrupt programming. 19.41: But I can’t use all these nonstandard, system-dependent functions, because my program has to be ANSI compatible! A: That’s an impossible requirement. Any real program requires at least a few services which ANSI doesn’t define. Section 20.
Related Questions
- I want to write a program which can create a JPEG- compressed movie file compatible with the Cosmo Compress board, SGIs hardware JPEG accelerator. How do I do this?
- How long does it take to write a project? How long does it take to create a PBL classroom?
- How do I... Use BIOS calls? Write ISRs? Create TSRs?