|
1. Try "union _REGS" instead of "union REGS"
2. Try "_int86" instead of "int86".
3. You need to include stdlib.h to use atoi()
4. You either need to declare prototypes for modeget and modeset before they are used (or you could just move main to the bottom of the file).
5. modeget is declared to return a int. If you forgot to return the value, put it in. If there is nothing to return, the return type should be "void".
|