www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/24/16:55:46

Message-ID: <007601bc80e0$f2fc9380$4ff8c6c3@johan>
From: "Johan Henriksson" <johan DOT he AT telia DOT com>
To: <djgpp AT delorie DOT com>
Subject: Re: Protected mode stuff
Date: Tue, 24 Jun 1997 22:52:57 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

from Johan Henriksson   Second: jhe75 AT hotmail DOT com
Primary mail: jhe AT epsilon DOT tninet DOT se
Leadprogrammer and FX-specialist at Real software
http://realsoftware.cjb.net         #UIN 12035895
*****************************************************************
-----Original Message-----
From: Jared Stevens <stevja AT calderathin DOT com>
To: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: Thursday, June 24, 1999 8:34 PM
Subject: Protected mode stuff


>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
>

int main(void)
{
printf("foobar");
return(0);
}

DJGPP goes into pmode at start, thanks to the stub. And of course, it shuts
it down too. Nice and easy.


- Raw text -


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