Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying hard to run Dosbox... But no go
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Sun Aug 06, 2006 11:11 pm    Post subject: Trying hard to run Dosbox... But no go Reply with quote

Hi,
For some time I am trying to run Dosbox 0.65 to play old dos games, for this purpose I tried many things, on x86, on amd64, different SDL video drivers, etc...
I got it working on x86, with SDL configured to use svgalib. I did this by defining environment variable SDL_VIDEODRIVER=svgalib. Other drivers always gave me problems.

But here is the important part, I run console-only, i.e No X11, Xfree etc... Inside X it would probably work (with SDL_VIDEODRIVER=x11), but it's no good for me.

With svgalib, at least I made some progress and got Dosbox running, but the keyboard was completely messed up! It was like the keys were shifted to the left and up... x was ' , e was [, j was Enter and stuff like that. I tried editing /etc/vga/libvga.config, checked and tried using different keymaps, but nothing worked...

It also worked with DirectFB on amd64, but the same problem as above, messed up keyboard map.

With SDL_VIDEODRIVER=fbcon, I always get "Can't init SDL, no available video devices", no matter what I do. Libraries are installed, I have given video group access to the user (it's the same with the root user anyway). The SDL web page FAQ mentions some workarounds for this, but none of them worked. And yes, I have the framebuffer for my card (nvidia fx5200) compiled in kernel and working properly.

Please help, if you managed to get it working with any of the svgalib, fbcon, ggi, directfb drivers, share how you did it. Thanks
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Mon Aug 07, 2006 4:40 pm    Post subject: Reply with quote

<removed>

Last edited by bLUEbYTE84 on Fri Aug 25, 2006 6:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
MdaG
l33t
l33t


Joined: 09 Nov 2004
Posts: 945
Location: Stockholm, Sverige

PostPosted: Mon Aug 07, 2006 7:46 pm    Post subject: Reply with quote

Is it possible to run DOSBox without running X first?
Back to top
View user's profile Send private message
KURILSHIK
n00b
n00b


Joined: 27 Aug 2014
Posts: 2
Location: RU-U-USSIA

PostPosted: Fri Aug 29, 2014 1:42 pm    Post subject: Re: Trying hard to run Dosbox... But no go Reply with quote

bLUEbYTE84 wrote:

With svgalib, at least I made some progress and got Dosbox running, but the keyboard was completely messed up! It was like the keys were shifted to the left and up... x was ' , e was [, j was Enter and stuff like that. I tried editing /etc/vga/libvga.config, checked and tried using different keymaps, but nothing worked...

It also worked with DirectFB on amd64, but the same problem as above, messed up keyboard map.

With SDL_VIDEODRIVER=fbcon, I always get "Can't init SDL, no available video devices", no matter what I do. Libraries are installed, I have given video group access to the user (it's the same with the root user anyway). The SDL web page FAQ mentions some workarounds for this, but none of them worked. And yes, I have the framebuffer for my card (nvidia fx5200) compiled in kernel and working properly.

Please help, if you managed to get it working with any of the svgalib, fbcon, ggi, directfb drivers, share how you did it. Thanks

Good day.
I am fan of console and all-old. And i have trying run DOSbox( ver. 0.74) in console without X11 to. I tried play in old amazing dos game "Prehistoric2". With version 0.74 of dosbox I had same problem as have topicstarter- crazy keyboard, segfoult, freez and etc. I tried turn different options, but less success. And only version -.9999 of dosbox truly help me!.
But exist same rules. For svgalib - in file /etc/vga/libvga.config need set "chipset VESA" (uncomment this line), and change "Helper /dev/svga" to "Helper /dev/svga0", because in my system there was this name of svga device . Next, in file /root/.dosbox/dosbox-SVN.conf (default dosbox configure file) set next: "usescancodes=false" "scaler=normal2x". That all. Sorry, not all. Fbcon i am use with comand "export SDL_VIDEODRIVER=fbcon" and 16bit color depth. Svgalib - "export SDL_VIDEODRIVER=fbcon" 8bit or 16bit color depth of framebuffer.
Hope, it information may be will help somebody.
Back to top
View user's profile Send private message
KURILSHIK
n00b
n00b


Joined: 27 Aug 2014
Posts: 2
Location: RU-U-USSIA

PostPosted: Fri Aug 29, 2014 1:51 pm    Post subject: Reply with quote

MdaG wrote:
Is it possible to run DOSBox without running X first?

Yes. Because dosbox used sdl library, and that, in turn, can be used to display graphics framebuffer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum