VOGONS


First post, by Alessio

User metadata
Rank Newbie
Rank
Newbie

Hi all,
First I must say, I did not much with the dosbox and also MS dos in the past.
But now I have to get an older program for a machine control (so it's not a game) to run on a Win2000 machine.
I tried with dosbox 0.63 and after a silly problem it worked... I thought

In my screen there are some lines cut off. The title doesn't appear (only when I refresh the screen by hitting enter it appears for less than a second) and at the bottom there must be a line with the description of the different function keys.

When I press e.g. the F2 key, it works partly, but the screen isn't refreshed. (I think that's one of the problems) So I have the 3 or 4 lines of the new screen thrown over the text of the first screen (see Dosbox_screen2)

As the command "mode con cols=80 rows=50" seems not to work in dosbox I ask for help, if anyone knows a way to enlarge the screen size.

I have disabled all sounds on one machine but not on the other, but the problem is the same...
here's a part of the config where video settings are made:

fullscreen=false fulldouble=false fullfixed=false fullresolution=1024x768 output=surface hwscale=0.1 […]
Show full quote

fullscreen=false
fulldouble=false
fullfixed=false
fullresolution=1024x768
output=surface
hwscale=0.1

Sorry, if I forgot anything important, just tell me ;). The cpu and all that stuff doesn't seem to have an effect on the problem as i tried this program on two completely different machines.

Greetz Alessio

Reply 1 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Try some cvs build or wait for the next dosbox version, if it doesn't
work there, maybe you find/have some demo version of the program
that can be tested.

Reply 2 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie

ok, sorry for this really stupid question, but what is a cvs build? I thought that this is for linux?

Reply 3 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There are prebuilt windows executables as well, see
http://cvscompile.aep-emu.de/dosbox.htm
or have a look at the development forum here (cvs builds
are derived from the currently developed sources).

Reply 4 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie

Thanks a lot, I'll try it immediately!

Reply 5 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie

i downloaded such a cvs build, (20060317) and a part of the problem is solved, but still my screen is too small.
The refresh is done right.

Reply 6 of 22, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

This could be a bug (limitation) in DOSBox. As far as I have experienced, the built-in BIOS emulation doesn't handle text modes with more than 25 lines correctly (regarding scrolling and other text output functions). You could try to use a DOS boot image. Since you are not running a game, other solutions might be difficult - DOSBox is focused on games, and application problems are not always handled.

Reply 7 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

In real dos, did you type "mode con cols=80 rows=50" before running
the program, if so what happened when you left out the mode command
(did it look like what you get in dosbox now?)

Reply 8 of 22, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Get the mode.com from Freedos, it works with Dosbox (except that the blinking cursor disappears)

1+1=10

Reply 9 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie
wd wrote:

In real dos, did you type "mode con cols=80 rows=50" before running
the program, if so what happened when you left out the mode command
(did it look like what you get in dosbox now?)

yes, I think, but I know, that it was necessary to type the mode command, but because it was in the autoexec nobody thought about a problem ;)

Reply 10 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

As HAL said, in this case you can try mode.com from freedos,
which should work fine for mode switching. You can create a
batch file then that loads mode.com with those parameters and
starts the program, so it doesn't impose much difficulty to the users.

Reply 11 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie

yes, i try that at the moment. I just had another mode.com, but as I saw, it was for the wrong DOS version unfortunately.

Reply 12 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie

hmm... i have now a functionable mode.com, but it seems, that just the support for the parameter "con" is not loaded.

Reply 13 of 22, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

mode con cols... works anyway.

1+1=10

Reply 14 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Nah, just the codepage switching is not supported. Did you try that
mode con cols=... thing? What does it display then?

Reply 15 of 22, by Alessio

User metadata
Rank Newbie
Rank
Newbie

nothing, but doesn't work... nothing is changed - or could it be, that the box needs a restart after this change?

Reply 16 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

No, restarting dosbox will start up in 80/25 again. Are you sure you
have the freedos mode.com? As it seems to work for HAL. Maybe
try a different version.

Reply 17 of 22, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Yes indeed.

Reply 18 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Tried it, too, works the same way as in the pictures HAL posted.

Reply 19 of 22, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

There's a freeware utility called "tm.com" that can set about any text mode, including quite exotic ones.

http://tm.adoxa.cjb.net/