Vista won't support full screen fb Dos apps?

General FreeBASIC programming questions.
thriller
Posts: 57
Joined: Mar 10, 2006 6:30

Vista won't support full screen fb Dos apps?

Post by thriller »

I tested some apps compiled with gfx and -target dos .17, they seem not working under windows vista.
Can it be solved?
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

dos <> windows

You don't expect a program to work on an OS it's not compiled for, do you? Why would you want to do that anyway?
cha0s
Site Admin
Posts: 5319
Joined: May 27, 2005 6:42
Location: USA
Contact:

Post by cha0s »

Please, relieve modern OS's of the burden of DOS! *starts anti-DOS demonstration*

/me burns a DOS.

...okay I'm done. No idea about the actual problem.
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Post by 1000101 »

It's probably along the lines of the DPMI limitation under Vista. Basically Microsoft is trying to tell you to drop the dead donkey.
Plasma
Posts: 208
Joined: May 27, 2005 5:22
Location: Earth
Contact:

Post by Plasma »

The problem is actually the new WDDM video driver interface used in Vista, which doesn't support int 10h. Apparently if you use XP video drivers DOS graphics work ok, but you won't have Aero.
KristopherWindsor
Posts: 2428
Joined: Jul 19, 2006 19:17
Location: Sunnyvale, CA
Contact:

Post by KristopherWindsor »

I remember when a member of the QB Forum tried QBasic on a beta version of Vista, and QB didn't go full-screen there, either. Either the display methods don't work with DOS emulation, or the DOS emulator has been redone to prevent full-screen. Either way, FB is not the problem. :-)
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Post by anonymous1337 »

Yeah, most DOS apps haven't worked for me since Windows XP, and I don't know why I would want DOS to work on XP anyways. Hey guys, Mac + DOS on Windows + Linux ftw!
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

BadVista

Post by DOS386 »

Vista won't support full screen fb Dos apps?

Can it be solved?
YES. Select the target correctly: DOS for DOS, Windows for Windows.

This in NOT a FB's fault ;-)

Or do you run applications compiled for Linux-x64 on Windows 3.11 ?
KristopherWindsor
Posts: 2428
Joined: Jul 19, 2006 19:17
Location: Sunnyvale, CA
Contact:

Post by KristopherWindsor »

My QB Programs worked in XP because I didn't use the low-level tricks. :D
Mindless
Posts: 110
Joined: Jun 25, 2005 14:50
Location: USA

Post by Mindless »

You could always run it in DOSBox...
Veggiet
Posts: 156
Joined: Apr 17, 2006 19:41

Post by Veggiet »

hmm. I probably has something to do with the graphics drivers. for example, I can play lots of DOS games full-screen on my pc running XP, but on my dad's xp computer the dos program starts but the moment it tries to switch to fullscreen it exits to the desktop, the only differences I can think of are that his is the Media Edition, with Nvidia graphics card and LCD monitor, mine has an on-board graphics, no special-edition, and crt monitior, which is really a shame because I think he played a lot more dos games than I do, although I do enjoy them every now and then, Commander keen etc...
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

If you really need to run DOS programs, get yourself a 486/Pentium I/II. Those machines are in the €0 to €10 price range nowadays.
thriller
Posts: 57
Joined: Mar 10, 2006 6:30

Post by thriller »

ikkejw wrote:If you really need to run DOS programs, get yourself a 486/Pentium I/II. Those machines are in the €0 to €10 price range nowadays.
haha, thanks for your advice.

But I really meant if we test our dos progs under vista, they may just not work.

And even qemu also does not work.

Ok, that's not problem of FB at all. I just wanted to ask how can we solve it.

thanks.
joseywales72
Posts: 206
Joined: Aug 27, 2005 2:02
Location: Istanbul, Turkey

Post by joseywales72 »

But I really meant if we test our dos progs under vista, they may just not work.

And even qemu also does not work.
It seems that the development on Qemu stalled somehow. But VirtualBox uses Qemu code and is GPL. I use it regulary on Linux (PCLinuxOS 2007) and Windows 2000 and it rocks. I ran FB compiled DOS programs in VirtualBox emulated FBDOS.
My two cents.
yetifoot
Posts: 1710
Joined: Sep 11, 2005 7:08
Location: England
Contact:

Post by yetifoot »

Maybe you have an old version of QEMU? I remember the windows ports being a little slow to happen. I've used it sucessfully to run DOS, Windows, and Linux as virtual machines, that was using 0.7.x on windows IIRC, and on linux it all worked even better and faster, as I used the kernel module. (kqemu)
Post Reply