Mail Archives: djgpp/1999/02/22/08:54:31
Date sent: Mon, 22 Feb 1999 13:34:57 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Laurynas Biveinis <lauras AT softhome DOT net>
Copies to: djgpp AT delorie DOT com
Subject: Re: Help : cannot switch screen mode
> Is this the exact source you compiled? I don't think so: there's no
> function _dpmi_int in the DJGPP's library, it's __dpmi_int (with two
> leading underscores). So this source should not even compile. Please
> post the *exact* source that you compiled, and the exact command line
> you used to compile and link it.
Well, this was the EXACT source. I tried compiling it under RHIDE
and then under DOS window using:
gcc mode13.c -o mode13.exe
and compiler accepted this silently. I got following warning only
when added -Wall:
mode13.c: In function `main':
mode13.c:8: warning: implicit declaration of function `_dpmi_int'
So I added extra leading underscores and now it works without
problems.
Thanx for your help and time.
P.S. BTW I had a problem which I cannot reproduce now: when I
added missing underscores to my source in RHIDE which was
running in window, I still received SIGSEGV, and when I tried to run
it in fullscreen mode, I got black screen, and only Ctrl-Alt-Del could
escape from it. After reboot everything worked OK.
- Raw text -