delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/29/21:36:27

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking)
Date: Sun, 30 Apr 2000 05:08:48 +0400
Organization: MTU-Intel ISP
Lines: 34
Message-ID: <390B87A0.2DDBDC4F@mtu-net.ru>
References: <200004281112 DOT NAA29833 AT acp3bf DOT physik DOT rwth-aachen DOT de> <3909D92B DOT CC80284C AT pop DOT gis DOT net> <3909DD56 DOT 7BD63105 AT mtu-net DOT ru> <390A01E6 DOT D8D52F3 AT pop DOT gis DOT net> <390a1086 DOT 51973341 AT news DOT freeserve DOT net> <390A4777 DOT AAB7D23D AT pop DOT gis DOT net> <390a90a7 DOT 84781911 AT news DOT freeserve DOT net> <390B0535 DOT CF457B4D AT pop DOT gis DOT net> <390B139D DOT 725ECE26 AT mtu-net DOT ru> <390B7DBE DOT 8512A53 AT pop DOT gis DOT net>
NNTP-Posting-Host: 212.188.110.3
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 957057052 2780 212.188.110.3 (30 Apr 2000 01:10:52 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 30 Apr 2000 01:10:52 GMT
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: en,ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Joseph Rose wrote:
> 
> "Alexei A. Frounze" wrote:
> 
> > Joseph Rose wrote:
> > > BTW, How do I change the screen mode without an INT 10h or int86x?
> >
> > Either using __dpmi_int() or outportb() (if you know what to output to the gfx
> > card) :)).
> >
> 
> I mean what do I output to the card?  I have a minimal documentation of the card's
> registers, but I don't have certain necessary ratios or a categorized list of
> registers to affect for a particular purpose.  

Unfortunately, seems that only designers know how to switch to a particular
text/gfx mode. Even I don't know how to switch to any VGA mode using VGA
registers, although I worked with those registers quite long and I have some
books about all this stuff.

Why do you need to setup a mode w/o BIOS?

> BTW, doesn't __dpmi_int switch to
> real or virtual mode and do an interrupt (INT ##)?

Yes, it does. :) int*86*() also does the same because your program runs in
PMode, so you must do a switch to RM/VM in order to access BIOS services. 

bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

- Raw text -


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