DOSEMU on SDL/DirectFB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux