* DOSEMU on SDL/DirectFB
@ 2006-12-23 19:03 Myhailo Danylenko
0 siblings, 0 replies; only message in thread
From: Myhailo Danylenko @ 2006-12-23 19:03 UTC (permalink / raw)
To: linux-msdos
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-23 19:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-23 19:03 DOSEMU on SDL/DirectFB Myhailo Danylenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox