delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/03/30/15:15:36.1

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: please help me with VBE
Date: Tue, 30 Mar 2010 12:52:34 -0700 (PDT)
Organization: http://groups.google.com
Lines: 34
Message-ID: <dd23e39c-7974-4353-80fb-c68a4b598528@j21g2000yqh.googlegroups.com>
References: <515911 DOT 46482 DOT qm AT web45104 DOT mail DOT sp1 DOT yahoo DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1269978755 27009 127.0.0.1 (30 Mar 2010 19:52:35 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 30 Mar 2010 19:52:35 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: j21g2000yqh.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22
Version/10.51,gzip(gfe)
Bytes: 2492
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Mar 29, 4:41=A0pm, Pablo Marty <tigrepotrazosalv DOT  DOT  DOT  AT yahoo DOT com DOT ar>
wrote:
>
> I stole this, from 2 pages, from one the structs and from the other the c=
ode

What exactly is it supposed to do??   :-/

> I thought that with VBE my game would run faster under DOSBox than
> with VESA, because VBE treat the screen as just one array, ignoring the
> bank switching (or something like that)

Only old VESA 1.2 uses bankswitching. VESA 2.0 doesn't need it, and
99% of all cards support 2.0 these days (not true back in mid 90s).

Allegro should automatically choose the best graphics mode for you ...
if you let it. However, DOSBox is a full cpu emulator, hence it's
inherently slower than NTVDM + V86 mode (which no longer supports
graphics). The best you can do is close unnecessary background
processes and turn up the "cycles" (repeatedly press Ctrl-F12, I
think). Or try DOSEMU under Linux (much faster, V86 mode!!).

> I couldn't compile it .... does someone know where to find it more detail=
ed,
> or just the complete code without errors to use linear framebuffer with V=
BE?
> And about FreeDOS it's impossible install it without killing the actual s=
ystem ....
> I'll have to use DOSBox

What installed? VESA should be built into your BIOS. You can even
alternately use UNIVBE for older machines. (confused by the confusion)

- Raw text -


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