Author Topic: Dosbox and Dosbox-X  (Read 4015 times)

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 409
  • Karma: +33/-0
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #15 on: February 12, 2026, 09:06:54 pm »
Hello Jochen

Windows 98 runs, but I can not control the mouse.

I just switched dosbox-x.conf that comes on the package to connect to the .img.

Regards
I can't reproduce your problem. I click in the Dosbox-X window, the mouse gets captured and then drag around windows etc.
But, at least, I know now, I have to fix the video capture ;-)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5639
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Dosbox and Dosbox-X
« Reply #16 on: February 12, 2026, 10:15:19 pm »
Thanks for giving it a try. Maybe it is some limitation with the VirtualBox mouse. I will give it a try on real hardware and post back.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Pete

  • Hero Member
  • *****
  • Posts: 1446
  • Karma: +17/-0
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #17 on: February 17, 2026, 12:57:40 am »
Hi All

Posting to correct my previous statement that dosbox-x runs fullscreen.
It does not.

If I start dosbox-x windowed and then use F12+F to switch to fullscreen dosbox-x blanks the whole screen but only runs in the top left corner.
I get the same result when starting dosbox-x in fullscreen.

What should I change in the following [sdl] section settings to get dosbox-x running fullscreen? - Note: output=overlay does not work at all, surface and openglnb both give the above result.

fullscreen=false
fulldouble=false
fullresolution=original
aspect=true
windowresolution=original
# output=surface
# output=overlay
output=openglnb
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-SVN.map
usescancodes=true



Regards

Pete

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5700
  • Karma: +149/-1
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #18 on: February 17, 2026, 02:25:03 am »
Hi Pete. look at the beginning of dosbox.conf,
Code: [Select]
#   fullresolution: What resolution to use for fullscreen: original, desktop or a fixed size (e.g. 1024x768).
#                     Using your monitor's native resolution with aspect=true might give the best results.
#                     If you end up with small window on a large screen, try an output different from surface.
[\code]

Unluckily, any attempt to use other then "fullresolution=original" so far causes a crash. Only tried desktop and 1024x768. Otherwise, like you I get a small display, maybe 640x480 in the upper left.
Need to research what else can be used for "output" besides surface.

Pete

  • Hero Member
  • *****
  • Posts: 1446
  • Karma: +17/-0
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #19 on: February 18, 2026, 04:55:46 am »
Hi Dave

Yet again dosbox(-x).conf gives an answer for output options:-

#            output: What video system to use for output (surface = software (SDL_Surface); openglnb = OpenGL nearest; openglpp = OpenGL perfect; ttf = TrueType font output).
#                      Possible values: default, surface, overlay, ttf, opengl, openglnb, openglhq, openglpp, ddraw, direct3d.


So far default, surface, ddraw and the opengl* variants all give the same result: dosbox-x does not run fullscreen; overlay results in dosbox-x crashing on startup.


Regards

Pete

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5700
  • Karma: +149/-1
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #20 on: February 18, 2026, 06:42:20 am »
Yes, I saw that after. Unluckily the only ones that make sense for our platform are surface and ttf. TTF does sorta work and fills up the desktop when choosing full screen. Not sure what would happen using a graphical mode.
Seems there are limits to the SDL surface, at least with Panorama.

Pete

  • Hero Member
  • *****
  • Posts: 1446
  • Karma: +17/-0
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #21 on: February 19, 2026, 02:18:41 am »
Hi Dave

Yes ttf nearly uses the fullscreen; trying to run heretic results in the game occupying the top left corner of the screen though.

Wonder what has changed between dosbox and dosbox-x with regard to the surface option as surface works fine in dosbox.


Regards

Pete

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 409
  • Karma: +33/-0
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #22 on: February 19, 2026, 09:30:15 am »
Yes, I saw that after. Unluckily the only ones that make sense for our platform are surface and ttf. TTF does sorta work and fills up the desktop when choosing full screen. Not sure what would happen using a graphical mode.
Seems there are limits to the SDL surface, at least with Panorama.
The dosbox-x code is limiting the ability. the SDL bitblt function is not used at that point.
But if you maximizes the window, SDL (I think) will scale it up, not respecting the aspect ratio. The Windows port will not allow you to maximize the window, most likely because of that.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 409
  • Karma: +33/-0
    • View Profile
Re: Dosbox and Dosbox-X
« Reply #23 on: February 19, 2026, 09:31:52 am »
Hi Dave

Yes ttf nearly uses the fullscreen; trying to run heretic results in the game occupying the top left corner of the screen though.

Wonder what has changed between dosbox and dosbox-x with regard to the surface option as surface works fine in dosbox.


Regards

Pete
I don't know exactly, I would have to diff the code to look why.
This also bugged me, but I have no solution at the moment.