From: "Frantisek Rysanek" <Frantisek.Rysanek@post.cz>
To: linux-msdos@vger.kernel.org
Subject: DOSEMU VGA graphics on a FrameBuffer (Was: Re: DosEMU, Ghost: VGA screen garbled...)
Date: Sun, 20 Sep 2009 22:25:09 +0200 [thread overview]
Message-ID: <4AB6ABC5.20163.44CC0F@Frantisek.Rysanek.post.cz> (raw)
In-Reply-To: <4AB3DB56.2060102@pobox.com>
On 18 Sep 2009 at 21:11, Alain Mouette wrote:
>
> Would it be possible to run dosemu over a simple system like framebuffer?
>
> I am interested in making a simple linux, with something like BusyBox,
> only to run dos programs...
>
> Alain
>
While I was looking for some solutions to my problem, I noticed
there's vgaemu - the emulator that's used to display VGA graphics in
a window under XWindows. Immediately it occurred to me that it might
be useful to run run vgaemu outside of X, in "console mode", i.e.
rendering its output into a (Linux standard) framebuffer.
According to some notes in the documentation, this is possible if you
compile DOSEMU with support for SDL (configure --with-SDL, if memory
serves). The SDL library can work without X and in that case, it
renders its output into a framebuffer device. Obviously you need to
have SDL installed in the build system first (and included in your
target distro). SDL support is a DOSEMU plugin and you need to
explicitly ask for that at compile time (configure time, really) as
well as at runtime, by including the -S cmdline switch.
I do have that compiled in, but I haven't gotten as far as actually
testing that feature, because others have pointed out a better way of
making VGA graphics work for me :-)
BTW, what graphics hardware do you have in mind? Have you met some
framebuffer graphics device coupled to an x86 CPU, that is not VGA
compatible? Okay, I know the VGA compatibility can have glitches...
If you did have some such VGA-incompliant graphics device, you might
face other challenges, such as getting a Linux kernel framebuffer
graphics driver for that, or direct support (driver) in SDL...
Good luck with your DOSEMU mini-distro. I suggest that you include a
bootloader option to boot plain DOS (FreeDOS?) straight on bare metal
:-)
Frank Rysanek
next prev parent reply other threads:[~2009-09-20 20:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 22:47 DosEMU, Ghost: VGA screen garbled Frantisek Rysanek
2009-09-15 6:46 ` Frantisek Hanzlik
2009-09-15 7:41 ` Frantisek Rysanek
2009-09-15 11:53 ` Richard
2009-09-17 9:06 ` Frantisek Rysanek
2009-09-18 16:00 ` Bart Oldeman
2009-09-18 19:11 ` Alain Mouette
2009-09-20 20:25 ` Frantisek Rysanek [this message]
2009-09-21 18:58 ` DOSEMU VGA graphics on a FrameBuffer (Was: Re: DosEMU, Ghost: VGA screen garbled...) Alain Mouette
2009-09-20 20:05 ` Linux vs. DOSEMU geometry " Frantisek Rysanek
2009-09-24 15:42 ` Bart Oldeman
2009-10-05 21:52 ` Frantisek Rysanek
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=4AB6ABC5.20163.44CC0F@Frantisek.Rysanek.post.cz \
--to=frantisek.rysanek@post.cz \
--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