delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/06/15:00:18.2

From: "Vicious Wanker" <wackosoft AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Vs: Setting mode 13h
Date: Sat, 5 Aug 2000 22:16:24 +0300
Organization: Clinet Internet Services
Lines: 26
Message-ID: <8mkbsk$78e$2@news.clinet.fi>
References: <jcXi5.1824$aK5 DOT 30439 AT news1 DOT online DOT no>
NNTP-Posting-Host: mb-u10ip041.mbnet.fi
X-Trace: news.clinet.fi 965587668 7438 194.100.165.110 (6 Aug 2000 18:47:48 GMT)
X-Complaints-To: abuse AT clinet DOT fi
NNTP-Posting-Date: 6 Aug 2000 18:47:48 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Vermin <ratspl AT hotmail DOT com> kirjoitti
viestissä: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
>
> 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??
>

textmode(0x13);
U dfat
nuff said!




- Raw text -


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