public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Cc: Simon Bridger <623402@despammed.com>
Subject: Re: Changing an app to use linux framebuffer
Date: Sun, 01 Dec 2002 15:21:05 +0300	[thread overview]
Message-ID: <3DE9FEB1.7070706@yahoo.com> (raw)

Hello.

Simon Bridger wrote:
> I want to use it in a console window. Unfortunately I get a message 
> telling me there is no vesa driver.
Known problem:(
This largely depends on your video
card however.
Get a card where the extended registers
are accessable via the VGA registers -
and you have VESA. Old S3 and SiS cards
will do.
With a modern cards you are in troubles.

> Autotrax uses plug-in graphic drivers, and we have the source for 
> these, and can easily change them.
Will not help.

> Is there any way of  changing them to write directly into the linux 
> kernel frame buffer?
There was a patch somewhere in the net
which does this using SDL, but this patch
seems to be dropped by its author:(
This was also an emulation however, so,
while being full-screen, it is still slow.

> Or indirectly through some calls in the  DOSEMU system?
None currently available to deal with
a frame buffer AFAIK.

> Or to get the VESA drivers working?
That was my goal during the 4 month
recently. I've got VESA working, but,
as the kernel have only 128 bit for
the IO bitmap, you can't use an ioperm()
syscall to open all the necessary extended
registers of the card. So the
trap/iopl()/decode_instr technique was
used. This turned out to be even *much*
slower than an xdos:(
Fortunately the 2.5 kernels have a lazy
IO bitmap allocation scheme, so that the
size can be increased without any overhead.
I haven't played with 2.5 kernels yet.
If you really need to get VESA a go, you
have to enlarge an IO bitmap to 8K there
and I'll give you a code that enables
VESA under dosemu.
This work must be done sooner or later
by someone anyway. I don't have time to
play with a 2.5 kernel currently.


             reply	other threads:[~2002-12-01 12:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-01 12:21 Stas Sergeev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-02 11:21 Changing an app to use linux framebuffer Stas Sergeev
2002-12-02  9:55 Simon Bridger
2002-12-02 21:59 ` Bart Oldeman
2002-12-03  8:49   ` Simon Bridger
2002-12-03 16:31     ` Bart Oldeman
2002-12-01  3:49 Simon Bridger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DE9FEB1.7070706@yahoo.com \
    --to=stssppnn@yahoo.com \
    --cc=623402@despammed.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox