www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/05/12:30:27.1

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Setting mode 13h
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <81goosgb68ap8kddp1h9q7kjic3hncdrhv@4ax.com>
References: <jcXi5.1824$aK5 DOT 30439 AT news1 DOT online DOT no>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 33
X-Trace: /bV2//aTgxcZJqvm41szwji55V/pkF2AowmNt/8U9tzJ4gW78HvwXo8R1n1+whBw92+eQHDw5oN6!MrlJZh9y9N29F7BRjsQXUO3K54qDnfxOOZyZxgxzHLhdOcCSwVdrDcaj+WWxl7t8LdwWhHRVXuVm!7Y4=
X-Complaints-To: abuse AT gtei DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 05 Aug 2000 16:25:49 GMT
Distribution: world
Date: Sat, 05 Aug 2000 16:25:49 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 5 Aug 2000 18:31:02 +0200, "Vermin" <ratspl AT hotmail DOT com>
wrote:

>I've been coding gfx for a couple of years, but I've just(!) started in
>DJGPP.

http://www.talula.demon.co.uk/allegro/

>In Asm, all you do to set mode 13h is
>
>mov ax,13h
>int 10h

Correct, under real mode.

>But it doesn't seem to be that simple in DJGPP...
>I've tried the following piece of code with no luck:
>
>union REGS regs;
>regs.x.ax=0x13;
>int86(0x10,&regs,&regs);
>
>What's wrong??

C:\>info libc a __dpmi_int

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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