Date: Thu, 19 Jul 2001 15:23:48 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Sterten AT aol DOT com cc: djgpp AT delorie DOT com Subject: Re: pokeb peekb In-Reply-To: <5f.18129a39.288824a1@aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 19 Jul 2001 Sterten AT aol DOT com wrote: > OK, I knew, that I had perhaps to include a main() Definitely! > long int ScreenPrimary=0xb8000; Don't do that, you might be mighty wrong! Instead, do this: #include This will pull in the correct definition of ScreenPrimary. > looks fine and easy now , but took me quite some time ! You wanted to do something extremely system-dependent, and you didn't even know that a C program must have a main function. That's quite a steep learning curve, if you ask me.