From: Myhailo Danylenko <isbear@ukrpost.net>
To: linux-msdos@vger.kernel.org
Subject: DOSEMU on SDL/DirectFB
Date: Sat, 23 Dec 2006 21:03:37 +0200 [thread overview]
Message-ID: <20061223190337.GA12424@lair> (raw)
Hello,
I'm trying to use dosemu with SDL as video backend, but runs into troubles.
Hardware:
* Processor: Celeron 600 (Coppermine)
* RAM: 128 Mb
* Video: Riva TNT 8 Mb
Software:
* Linux lair 2.6.19-lair11 #4 Sat Dec 16 01:10:56 EET 2006 i686 pentium3 i386 GNU/Linux
* glibc 2.4
* gcc (GCC) 4.1.1
* GNU ld version 2.17
* slsh version 0.7.7-1; S-Lang version: 2.0.7
* DirectFB 1.0.0rc2 multi (kernel framebuffer driver - rivafb)
* SDL 1.2.11
* No X installed
* No GPM installed
Since 1.2.2 has no sdl interface, I'd use first 1.3.4,
then svn-20061223, using dosemu-freedos-b9r5a-bin
There are compilation instructions:
tar -xjvf ../../Packages/dosemu-20061223.tar.bz2
mkdir build
cd build
unset -v CFLAGS CXXFLAGS LDFLAGS
../dosemu-20061223/configure --prefix=/usr --sysconfdir=/etc \
--with-fdtarball=../../Packages/dosemu-freedos-b9r5a-bin.tgz \
--enable-experimental --enable-debug --enable-cpuemu
make
make install
In text mode dosemu runs good.
But if I try run it with -S, it fails with:
...
SDL DirectFB_SetVideoMode: 720x400@16, flags: 0x00000011
ERROR: general protection at 0xffff: 0
I compiled it with debug support, so, there are logs
(/etc/dosemu.conf is unchanged, except $_cpu_emu):
# in /etc/dosemu.conf $_cpu_emu = "off"
dosemu -S -D +9a -o dosemu-debug.log
http://isbear.ho.com.ua/files/dosemu-logs/dosemu-debug.log.bz2
# in /etc/dosemu.conf $_cpu_emu = "vm86"
dosemu -S -D +9a -o dosemu-debug-cpuemu-vm86.log
http://isbear.ho.com.ua/files/dosemu-logs/dosemu-debug-cpuemu-vm86.log.bz2
# in /etc/dosemu.conf $_cpu_emu = "full"
dosemu -S -D +9a -o dosemu-debug-cpuemu-full.log
http://isbear.ho.com.ua/files/dosemu-logs/dosemu-debug-cpuemu-full.log.bz2
# in /etc/dosemu.conf $_cpu_emu = "vm86sim"
dosemu -S -D +9a -o dosemu-debug-cpuemu-vm86sim.log
http://isbear.ho.com.ua/files/dosemu-logs/dosemu-debug-cpuemu-vm86sim.log.bz2
# in /etc/dosemu.conf $_cpu_emu = "fullsim"
dosemu -S -D +9a -o dosemu-debug-cpuemu-fullsim.log
http://isbear.ho.com.ua/files/dosemu-logs/dosemu-debug-cpuemu-fullsim.log.bz2
And there is log of empty console session:
# in /etc/dosemu.conf $_cpu_emu = "off"
dosemu -t -D +9a -o dosemu-debug-slang.log
http://isbear.ho.com.ua/files/dosemu-logs/dosemu-debug-slang.log.bz2
Before exit (with -D +9a this is very noticeable :)) dosemu some
time runs in graphical mode - so, at least, it successfully
initializes videomode. Other applications (mplayer, links, zdoom)
uses DirectFB without problems, so, I think, this is not DFB issue.
Thanks for any suggestions,
Myhailo Danylenko
P.S. Please, excuse me for my bad English, if so.
P.P.S. Happy holidays! *<]:o)
reply other threads:[~2006-12-23 19:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20061223190337.GA12424@lair \
--to=isbear@ukrpost.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.