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

From: "Vermin" <ratspl AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Setting mode 13h
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <jcXi5.1824$aK5.30439@news1.online.no>
Date: Sat, 5 Aug 2000 18:31:02 +0200
NNTP-Posting-Host: 130.67.75.48
X-Complaints-To: news-abuse AT online DOT no
X-Trace: news1.online.no 965492623 130.67.75.48 (Sat, 05 Aug 2000 18:23:43 MET DST)
NNTP-Posting-Date: Sat, 05 Aug 2000 18:23:43 MET DST
Organization: Telenor Online Public Access
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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??


- Raw text -


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