delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/05/18:34:16

From: Walter Luke <NightWatchman AT Sacrilege DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to jump to graphic mode
Date: Fri, 05 Dec 1997 17:38:03 -0500
Organization: Shadows http://shadows.sacrilege.com
Lines: 24
Message-ID: <66a065$p6c@bgtnsc01.worldnet.att.net>
References: <665loo$hee AT argos DOT tel DOT hr>
Reply-To: NightWatchman AT Sacrilege DOT com
NNTP-Posting-Host: 12.68.12.58
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vlatko Surlan wrote:

> Nothing more to ask really, just how to jump to graphic mode under djgpp??

   This is how I do it:

void mode(int mode_code) {

union REGS r;

r.h.al = mode_code;
r.h.ah = 0;
int86(0x10, &r, &r);

}


--
Walter Luke aka "Night Watchman"

mailto:NightWatchman AT Sacrilege DOT com
Visit Shadows at http://shadows.sacrilege.com


- Raw text -


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