VOGONS


DOSBox problems with Aero, and QBasic

Topic actions

First post, by WeirdClayJisKOOL

User metadata
Rank Newbie
Rank
Newbie

i am using DOSBox in windows vista 64 and it works great. i only have two minor problems. the first is more of an annoyance. when DOSBox runs it doesn't affect the aero interface, until i go into full screen mode, then it reverts it to vista basic. the weird thing is, when i go back to the normal screen again, it stays in the basic theme until DOSBox is closed, and then it goes back to aero. is there a way for it to not switch it to basic at all?

my second problem has to do with QBasic. when I run QBasic 4.5, or 7.1 in DOSBox, and I go to open a file, it doesn't let me access any of my files. when i click on them it just shows the drives as being empty. i can still open files in 4.5 if i have them in the default directory (but it gets to be messy with all the files) and i cant get to anything at all in 7.1. is there anything i can do about this?

i apologize in advance if these are complete n00b questions, but i just started using DOSBox yesterday. thanks for your help!

Reply 1 of 20, by kruwi

User metadata
Rank Member
Rank
Member

Which directory do you mean when you refer to the "default directory"? Which directory is it that you mount as your "emulated" c-drive? Dosbox will only have access to the folders (and the files) of your hardddrive that you have mounted as your emulated c:drive. Have you already read the Dosbox-README?

P.S.: I have also already tried out to run qbasic in dosbox: It functions perfectly. Just mount the right folders ... 😉 😉

Visit the end of the internet: www.groskreutz.de

Reply 2 of 20, by WeirdClayJisKOOL

User metadata
Rank Newbie
Rank
Newbie

ok that makes sense, thanks

any word on aero?

Reply 3 of 20, by kruwi

User metadata
Rank Member
Rank
Member

Not from me, sorry, I'm on Linux.

Visit the end of the internet: www.groskreutz.de

Reply 4 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

considering that dosbox was the earlier then aero,
I would say that aero is having problems with dosbox. 😉

seriously though. I don't know. It's probably related to SDL. That handles the videomode switches for us. but if it's a bug ? dunno

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 20, by WeirdClayJisKOOL

User metadata
Rank Newbie
Rank
Newbie

well i don't mean to like blame it on dosbox. but i know like when i ran limewire or azeures it would do that but it was a java problem, and when i would run trilian it would do that but it was a quicktime problem. so i thought maybe somebody would know if there's a seperate thing i need to update to keep it from doing that.

Reply 6 of 20, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Well then maybe it's an SDL problem. Try other sdl games and if they
behave the same complain to them.
Actually there seem to be a little too much "it's a java/quicktime/whatever"
problems, maybe it's just that aero which is initially messed. Wonder why
people can't live without that thing...

Reply 8 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Nice find DosFreak 😀 So now the question is, how to get SDL to do the GDI thing.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 9 of 20, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

Does it happen with surface output as well? That uses GDI, doesn't it?

My site: Ramblings on mostly tech stuff.

Reply 10 of 20, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

GDI/Directdraw isn't accelerated in Vista like it is in XP either. Not sure how much it would effect DosBox speed though.

Might do some testing tonight.

Last edited by DosFreak on 2007-02-03, 16:07. Edited 1 time in total.

How To Ask Questions The Smart Way
Make your games work offline

Reply 12 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

So a set SDL_VIDEODRIVER=windib before starting DOSBox should work?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 13 of 20, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it's something to test for the next version of DOSBox.
There windib is avoided as much as possible.

Water flows down the stream
How to ask questions the smart way!

Reply 14 of 20, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

I've been testing with Vista 64bit...

Aero is never disabled when DosBox is windowed.

I never really understood the big deal with why people care about Aero being disabled anyway. The only time I notice is when that huge ass balloon pops up saying that it dropped back to basic or if the transparency around Windows is on a desktop background or other Window where I can actually tell that transparency is not being used....or if I try to use Flip3D (which only works when Aero is enabled). That's it. It's really not that big of a deal.

DosBox works fine in Surface mode in windows/fullscreen which is DosBox default anyway. It also works fine in overlay in windows/fullscreen too without affecting Aero.

With 1/23 CVS ddraw does not work. Error in console states that it could not create ddraw surface and revert back to "normal" but DosBox screen remains black.

With yhkwong's build ddraw works but it disables Aero.

oh, using yhkwong's build if I enable direct3d and switch to fullscreen then DosBox crashes. This is with Vista 64bit using Aero and WDDM drivers.

How To Ask Questions The Smart Way
Make your games work offline

Reply 15 of 20, by WeirdClayJisKOOL

User metadata
Rank Newbie
Rank
Newbie

the reason aero is so good is because of performance. when aero is enabled, everything you see on the screen is rendered with both the cpu and the graphics card. without aero it's all on the cpu like all other versions of windows were. thats why you need a good graphics card to run aero, and thats why you can do much more advanced things without slowing down performance. so running aero is much more than looks its performance. and it's also a hassle when it keeps switching.

Reply 16 of 20, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

Using Vista 32bit and my build, aero is still alive with any output(surface, ddraw, direct3d, opengl, openglhq, etc.,). Fullscreen does not change the interface. After installing the latest version of ati driver, opengl acceleration is supported.

Reply 17 of 20, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

It gets stranger.....

Vista 64bit
Intel 945GM graphics card

yhkwong's 1/21

Output=surface/overlay/ddraw

DosBox-Windowed=Aero is good
DosBox fullscreen then to Windowed=Aero turned off

output=direct3d
DosBox-Windowed=Aero is good
DosBox fullscreen then to windowed=DosBox crashes on switching to fullscreen. Error in console: "D3D: Failed to reset device!"

How To Ask Questions The Smart Way
Make your games work offline

Reply 18 of 20, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Yeah I know about the D3D problems in Vista, but I didn't pay much attention to it. I don't think I'm gonna switch to Vista anytime soon...

http://www.si-gamer.net/gulikoza

Reply 19 of 20, by TeaRex

User metadata
Rank Member
Rank
Member
WeirdClayJisKOOL wrote:

the reason aero is so good is because of performance. when aero is enabled, everything you see on the screen is rendered with both the cpu and the graphics card. without aero it's all on the cpu like all other versions of windows were.

Totally off topic but that isn't quite true. Windows acceleration functions implemented in hardware on graphics cards have been around since the Win3.1 days. Though of course these were much more basic, drawing lines, filling rectangles, and such stuff.

tearex