www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/05/22:24:44

Date: Sun, 6 Aug 2000 07:21:54 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: kalum AT roadrunner DOT grendel DOT net
To: Marp <marp AT 0 DOT 0 DOT 0 DOT 0>
cc: djgpp AT delorie DOT com
Subject: Re: Setting mode 13h
In-Reply-To: <8mhshc$fq3$1@slb7.atl.mindspring.net>
Message-ID: <Pine.LNX.4.21.0008060721140.14282-100000@roadrunner.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 5 Aug 2000, Marp spoke the following immortal words,

> "Vermin" <ratspl AT hotmail DOT com> wrote in message
> news:jcXi5.1824$aK5 DOT 30439 AT news1 DOT online DOT no...
> > I've been coding gfx for a couple of years, but I've just(!) started
in
> > DJGPP. In Asm, all you do to set mode 13h is
> >
> > mov ax,13h
> > int 10h
> >
> 
> Be careful about using assembly code written for real mode. Although
this
> particular code would work under dpmi, it probably would not work in
other
> protected mode environments.

Actually the code should work on *all* dos protected mode environments,
because they all *have* to pass the call to real mode, and the bios will
take on from there onwards, and this call also doesn't involve any segment
registers so theres no problem here.

Best Wishes,
Grendel

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)


- Raw text -


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