delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/06/07:30:47

From: "Stefan Viljoen" <rylan AT intekom DOT co DOT za>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Setting mode 13h
Date: Sun, 6 Aug 2000 13:25:57 +0200
Organization: The South African Internet Exchange
Lines: 31
Message-ID: <8mji39$fvh$13@ctb-nnrp2.saix.net>
References: <jcXi5.1824$aK5 DOT 30439 AT news1 DOT online DOT no>
NNTP-Posting-Host: pc53-01-p79.nt.saix.net
X-Trace: ctb-nnrp2.saix.net 965561257 16369 155.239.176.79 (6 Aug 2000 11:27:37 GMT)
X-Complaints-To: abuse AT saix DOT net
NNTP-Posting-Date: 6 Aug 2000 11:27:37 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
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> 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
>
> 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??

Don't know - if you have NASM check out my programming page
http://home.intekom.com/rylan/prog.html - this has exactly the info you need
for assembly graphics programming under DJGPP in protected mode in
320x200x256 VGA mode.

Stefan Viljoen
--
Starwars Forever!!!

mailto:Stefan_Viljoen AT excite DOT com
http://home.intekom.com/rylan/


- Raw text -


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