Date: Sun, 6 Aug 2000 07:21:54 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: kalum AT roadrunner DOT grendel DOT net To: Marp cc: djgpp AT delorie DOT com Subject: Re: Setting mode 13h In-Reply-To: <8mhshc$fq3$1@slb7.atl.mindspring.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Sat, 5 Aug 2000, Marp spoke the following immortal words, > "Vermin" 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 :)