delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/14:15:57

From: maverick <ncrap AT hol DOT gr>
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
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019