اخواني الاعزاء :
كتبت هذا الكود في التربو سي بلس بلس فلم يترجمه واورد خطأ
typedef unsigned char byte;
typedef unsigned short word;
byte *VGA=(byte *)0xA000000L; /* this points to video memory. */
word *my_clock=(word *)0x0000046C; /* this points to the 18.2hz system clock. */
ثم غيرته الى الكود التالي
char far *Vid_RAM;
FP_SEG( Vid_RAM ) = 0xA000;
FP_OFF( Vid_RAM ) = 0x0000;
ولكن لم يعمل ايضا
لاادري ما هو الخطا
ارجو تعاونكم في التوضيح علما بان البرنامج 16بت
