What I am trying to do is play around with bios interrupts, while reading TYAC. I can't seem to declare the register structs. here is the code that i use:
i get the errors:Code:#include <dos.h> void current_date( int *month, int *day, int *year) { union REGS inregs, outregs; /* ... */ }
4 C:\dev\c\BiosFunctions\currentDate.c
storage size of `inregs' isn't known
any suggestions?
thanks