אני עובר בדבלופר לסי ++ הגדרתי את האוגרים בצורה הזו משום שהם לא מוגדרים
ב- dos.h
struct BYTEREGS
{ unsigned char al,ah,bl,bh;
unsigned char cl,ch,dl,dh;
};
struct WORDREGS
{ unsigned int ax,bx,cx,dx;
unsigned int si,di,cflag,flags;
};
union REGS
{ struct WORDREGS x;
struct BYTEREGS h;
};
union REGS regs;
וכאשר אני קורא לפסיקה בצורה הזו -int86(0x10,®s,®s
אני מקבל שגיאה - impicit declaration of function int int86
תודה לכל מי שיכול לעזור!