From: "Vicious Wanker" 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: 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 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,®s,®s); > > What's wrong?? > textmode(0x13); U dfat nuff said!