From: maverick Newsgroups: comp.os.msdos.djgpp Subject: _AX Undeclared? Date: Tue, 24 Mar 1998 20:13:52 +0200 Organization: Hellas on Line - Pipex Intl Lines: 21 Message-ID: <3517F7E0.86F5993@hol.gr> NNTP-Posting-Host: pluto.hol.gr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit Cache-Post-Path: pluto.hol.gr!unknown AT port14 DOT ath2 DOT ppp DOT hol DOT gr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi I just started exploring djgpp and I got one (among the others) little question: I'm trying to compile something out of Denthor's demo coding series, which is: void setMCGA() { _AX = 0x0013; geninterrupt(0x10); } and all I get is an error :[ '_AX' undeclared ( first use this function)] Uh? Is this got to do something with pmode gcc operates in? How it can be done then? You see, I just switched to C/C++. (Was coding in asm and I want to combine the two of them.) Any help and/or web-reading material will be appreciated. thx \remove R from mail/