From: "Vermin" 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: 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,®s,®s); What's wrong??