Message-Id: <199902221353.IAA30583@delorie.com> From: "Laurynas Biveinis" To: djgpp AT delorie DOT com Date: Mon, 22 Feb 1999 14:55:17 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Help : cannot switch screen mode References: <199902212039 DOT PAA00064 AT delorie DOT com> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp AT delorie DOT com Date sent: Mon, 22 Feb 1999 13:34:57 +0200 (IST) From: Eli Zaretskii To: Laurynas Biveinis 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.