| delorie.com/archives/browse.cgi | search | 
| From: | "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk> | 
| Newsgroups: | comp.os.msdos.djgpp | 
| Subject: | Re: Protected mode stuff | 
| Date: | Fri, 25 Jun 1999 08:49:01 +0100 | 
| Organization: | (Posted via) Netcom Internet Ltd. | 
| Message-ID: | <7kvc8e$18g$1@taliesin.netcom.net.uk> | 
| References: | <37726CD9 DOT F67562F8 AT calderathin DOT com> | 
| NNTP-Posting-Host: | hgty.capgemini.co.uk | 
| X-Trace: | taliesin.netcom.net.uk 930296910 1296 194.42.240.2 (25 Jun 1999 07:48:30 GMT) | 
| X-Complaints-To: | abuse AT corp DOT netcom DOT net DOT uk | 
| NNTP-Posting-Date: | 25 Jun 1999 07:48:30 GMT | 
| X-Newsreader: | Microsoft Outlook Express 4.72.3155.0 | 
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3155.0 | 
| Lines: | 16 | 
| To: | djgpp AT delorie DOT com | 
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp | 
| Reply-To: | djgpp AT delorie DOT com | 
Jared Stevens wrote in message <37726CD9 DOT F67562F8 AT calderathin DOT com>...
>Does anybody know of anyplace that would have some sample code for a
>program that just jumps into pmode prints something on the screen or
>something, and then goes back to real mode and exits?
>Jared Stevens
I DJGPP this'll do that
#include <iostream.h>
int main () {
   cout << "Hello world\n";
   return 0;
}
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |