From: Sterten AT aol DOT com Message-ID: <5f.18129a39.288824a1@aol.com> Date: Thu, 19 Jul 2001 07:55:13 EDT Subject: Re: pokeb peekb To: eliz AT is DOT elta DOT co DOT il CC: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 3.0 16-bit for Windows sub 60 Reply-To: djgpp AT delorie DOT com I wrote: >#include >#include >#include > >_farpokeb (_dos_ds, ScreenPrimary + 12*160 + 80, 1); > > > >D:\GCC203>gcc video3.c -o video3.out OK, I knew, that I had perhaps to include a main() . (but wasn't sure) I tried this before with one of the other versions but failed. Now I got your version working: #include #include #include int main() { long int ScreenPrimary=0xb8000; _farpokeb (_dos_ds, ScreenPrimary + 12*160 + 80, 1); } // D:\GCC203>gcc video3.c -o video3.out looks fine and easy now , but took me quite some time !