Thread: EGA mode
View Single Post
Old Jan 21st, 2006, 10:40 PM   #5
Kaja Fumei
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 134
Rep Power: 3 Kaja Fumei is on a distinguished road
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".
Kaja Fumei is offline   Reply With Quote