VOGONS


First post, by vidumec

User metadata
Rank Newbie
Rank
Newbie

For some reason i want to use dosbox in 320x240 ( or 320x200 ). I have tried many different ways of achieving this, but the font in terminal was always too small. I know that DosBox is running in 80x45 text mode or something close to that. Now i want to make it run in 40x25. I looked through different topics and the only thing i found was some *.com file ( TSR program as i understood ) which allowed me to change text mode to 80x25. Maybe someone can make the same program which will switch textmode to 45x25? 😕 Hope there is a way of achieving this without downloading beta builds or compiling my own. Thanks!

Ivan.

Reply 1 of 8, by VileR

User metadata
Rank l33t
Rank
l33t

If you want a 320x200 text mode,

1) use machine=cga / tandy / pcjr.
2) change to 40 columns like you would in real DOS. The FreeDOS "mode.com" might be handy.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 2 of 8, by vidumec

User metadata
Rank Newbie
Rank
Newbie

Oh man that worked! Downloaded mode.com from freedos and used "mode CO40" with machine=cga and it worked like a charm! Exactly what i needed! Thank you a lot!

Reply 3 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You can use 40 column text mode with ega and vga machine types; cga is not necessary, unless you insist on the 8-line font (which can be used in vga with lines emulation). I don't think 40 columns will be very useful, though, because most apps won't properly adapt to it, and many commands like DIR will wrap around and be hard to read.

Reply 4 of 8, by vidumec

User metadata
Rank Newbie
Rank
Newbie

I am running dosbox ( 0.73 - ported to Symbian platform ) on my Nokia smartphone ( E72 with qwerty keyboard ) and i just wanted to play Nethack MS-DOS version. My screen size is 320x240 and with 80x45 mode everything was to small and unreadable - it was like the resolution of the window was 640x480 and was shrank to fit my screen size, but now it is just perfect ( almost, since 40x25 = 320x200 px. So I'm either loosing 40 px or the image is just stretched a little bit. But i'm fine with that ). With machine=VGA the actual resolution stays the same ( 640x480 or something like that ).

Reply 5 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Ah, for fullscreen native 320x200, I see why cga is needed. EGA is 350 lines, VGA is 400 lines, usually. The version of Nethack I have wants to display 80 columns, and clips the screen in half in 40 column text mode; but there might be some screen size option in the docs that isn't mentioned in its config file.

Reply 6 of 8, by VileR

User metadata
Rank l33t
Rank
l33t

personally, I find VGA 40-col text almost unreadable even at its native resolution (640x400)... the stretchiness just hurts to look at with the default character set. I always use CGA for 40-column text games, much easier on the eyes.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 7 of 8, by vidumec

User metadata
Rank Newbie
Rank
Newbie

I downloaded nethack ms-dos version from official site. It runs pretty well in 40x25 everything fits to the screen, the map just pages when i come 2 or 3 symbols close to the edge of it. The hud and other stuff works just fine! There is only one clipping occurence, i don't see the status like "Burdened" or "Weak" - just not enough place for it, but it's not so important since it's said in the messages 😁

PS: But the font still could be a little bit bigger...

Reply 8 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

But the font still could be a little bit bigger...

No it can't. The font is tied to the video mode.