I'm a student, trying to write a little c++ app to talk to the serial port. It's clear that the function int86() lives in dos.h, but all I see in there when I open dos.h in an editor is what looks like a function prototype
int _Cdecl int86( int __intno,
union REGS *__inregs,
union REGS *__outregs );
That's everything in the whole file regarding int86(). I was hoping to see some code that might show what int86 does. This is just curiosity. I know how to use int86 to set and get data from the registers, I just wish I knew what it actually does to accomplish it. I'm just a student, so I only know that header files contain the functions you might need in your program, so you have to #include what you need, but when I've looked inside they are pretty much beyond me to understand at this point. Some stuff I can follow, but I'm puzzled on this one.
Anyone want to give me some coaching?
int _Cdecl int86( int __intno,
union REGS *__inregs,
union REGS *__outregs );
That's everything in the whole file regarding int86(). I was hoping to see some code that might show what int86 does. This is just curiosity. I know how to use int86 to set and get data from the registers, I just wish I knew what it actually does to accomplish it. I'm just a student, so I only know that header files contain the functions you might need in your program, so you have to #include what you need, but when I've looked inside they are pretty much beyond me to understand at this point. Some stuff I can follow, but I'm puzzled on this one.
Anyone want to give me some coaching?