Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Ralf Quint via Freedos-user

On 8/5/2023 5:08 PM, zerofive--- via Freedos-user wrote:
This question may been asked a million times but I just can't figure 
it out, and googling it gives no results (except telling me that I 
need to use `mode` and some parameters but this just wouldn't give me 
what I am trying to achieve)
But I found out that `NANSI.SYS` contains a paramter which (I think) 
allows me to set at least 640x480 resolution. I also included it 
(nansi.sys) in FDCONFIG.SYS with parameters `/t18` but it doesnt seem 
to work. Any idea on what could be the issue or I need to do it the 
other way?


What screen resolution? By all practical means, DOS runs in text mode, 
80x25 characters. What is it that you want to change to?



Ralf

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread zerofive--- via Freedos-user
A VGA resolution (?), 640x480 resolution so the text doesn't look messy when I am cURLing a website, for example, or when the --help parameter is too long.

 
 

Sent: Sunday, August 06, 2023 at 4:17 PM
From: "Ralf Quint via Freedos-user" 
To: freedos-user@lists.sourceforge.net
Cc: "Ralf Quint" 
Subject: Re: [Freedos-user] How do I change screen resolution?


On 8/5/2023 5:08 PM, zerofive--- via Freedos-user wrote:



This question may been asked a million times but I just can't figure it out, and googling it gives no results (except telling me that I need to use `mode` and some parameters but this just wouldn't give me what I am trying to achieve)
But I found out that `NANSI.SYS` contains a paramter which (I think) allows me to set at least 640x480 resolution. I also included it (nansi.sys) in FDCONFIG.SYS with parameters `/t18` but it doesnt seem to work. Any idea on what could be the issue or I need to do it the other way? 



What screen resolution? By all practical means, DOS runs in text mode, 80x25 characters. What is it that you want to change to?

 

Ralf

 
___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Aitor Santamaría via Freedos-user
Hello,

I would use MODE CON. After all, you want to reconfigure the console, and
that is what MODE CON is for.

Aitor


On Sun, 6 Aug 2023 at 02:10, zerofive--- via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> This question may been asked a million times but I just can't figure it
> out, and googling it gives no results (except telling me that I need to use
> `mode` and some parameters but this just wouldn't give me what I am trying
> to achieve)
> But I found out that `NANSI.SYS` contains a paramter which (I think)
> allows me to set at least 640x480 resolution. I also included it
> (nansi.sys) in FDCONFIG.SYS with parameters `/t18` but it doesnt seem to
> work. Any idea on what could be the issue or I need to do it the other way?
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread EdzUp via Freedos-user
Hi all, I could cobble together a Command line app to chuck the system into
VGA/SVGA resolutions :)

-Ed
EdzUp

On Sun, 6 Aug 2023, 12:09 Aitor Santamaría via Freedos-user, <
freedos-user@lists.sourceforge.net> wrote:

> Hello,
>
> I would use MODE CON. After all, you want to reconfigure the console, and
> that is what MODE CON is for.
>
> Aitor
>
>
> On Sun, 6 Aug 2023 at 02:10, zerofive--- via Freedos-user <
> freedos-user@lists.sourceforge.net> wrote:
>
>> This question may been asked a million times but I just can't figure it
>> out, and googling it gives no results (except telling me that I need to use
>> `mode` and some parameters but this just wouldn't give me what I am trying
>> to achieve)
>> But I found out that `NANSI.SYS` contains a paramter which (I think)
>> allows me to set at least 640x480 resolution. I also included it
>> (nansi.sys) in FDCONFIG.SYS with parameters `/t18` but it doesnt seem to
>> work. Any idea on what could be the issue or I need to do it the other way?
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Ralf Quint via Freedos-user

On 8/6/2023 2:51 AM, zerofive--- via Freedos-user wrote:
A VGA resolution (?), 640x480 resolution so the text doesn't look 
messy when I am cURLing a website, for example, or when the --help 
parameter is too long.
There seem to be a serious misconception on your end. FreeDOS, like any 
DOS, works only in text mode, so you can't just select any graphics mode 
on the console. The text modes "look" is determined by the characters 
set in the BIOS of the modes available, which in short, would be 80x25 
on a monochrome (Hercules) adapter (MODE MONO) and both in 
monochrome/"black&white" with 80x25 and 40x25 for ANY color adapter 
(CO40/CO80, BW40/BW80).


You can NOT select any graphics resolution (like the VGA 640x480) on the 
console/command prompt. DOS is by all means text based and any graphics 
mode would be set by a DOS application only, including but not limited 
to GUIs like GEM or Windows (1.x, 2.x, 3.x) but it is those applications 
responsibility to handle drivers, resolutions and selected fonts...



Ralf

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Ralf Quint via Freedos-user

On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
Hi all, I could cobble together a Command line app to chuck the system 
into VGA/SVGA resolutions :)


-Ed
EdzUp


And what would this going to be accomplishing?


Ralf




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Jim Hall via Freedos-user
On Sun, Aug 6, 2023, 7:40 AM EdzUp via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi all, I could cobble together a Command line app to chuck the system
> into VGA/SVGA resolutions :)
>


But this is just a special case of the MODE command, which can already set
the screen to use (for example) 50 lines.
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Frantisek Rysanek via Freedos-user
Hi there,

nice to see that you're trying to tweak old software to fit on modern 
screens... still I have a cold shower for you :-) Sorry about it.

Not sure where DOS borrowed its "terminal" / console code, whether 
CP/M or UNIX... the fact is, that in the way of "support", the DOS 
console lacks quite a bit of flexibility, compared to modern terminal 
emulators running in the windowing GUI. Namely, DOS doesn't seem to 
support or understand an arbitrary number of rows or columns. As 
others have pointed out, the choice is quite limited:

https://gitlab.com/FreeDOS/base/mode/-/blob/master/SOURCE/MODE/MODECON
.C?ref_type=heads#L266

https://gitlab.com/FreeDOS/base/mode/-/blob/master/SOURCE/MODE/MODECON
.C?ref_type=heads#L151

http://wiki.freedos.org/wiki/index.php/Mode

So much for support on part of DOS, which practically means the 
command line itself, plus maybe some apps that rely on DOS for the 
console display (which ones are those?)

A part of the problem is, that most software for DOS handles the 
video resolution and video output itself, directly with the hardware, 
typically using the VGA+VESA BIOS services to configure a resolution 
(if more than the classic 80x25 text mode is supported by the app).

Some software understands 43 or 50 rows too - various Borland 
TurboVision TUI's and some file managers, if memory serves.
But, that's about it.

The source code to FreeDOS "mode" command speaks even about 60 rows 
text mode support, which is interesting. Some 2 decades ago, I 
sometimes used that in Linux at the text-mode console.
Type vga=ask at the kernel command line, etc.

The other key aspect is, that without detailed knowledge of your 
proprietary video hardware, you likely need to select one of the 
graphics modes offered by the VESA BIOS services. On graphical cards 
of the general "SuperVGA category", i.e. more modern derivatives of 
the legacy original VGA, the VESA BIOS typically offers a plethora of 
high-res graphical modes (addressed per pixel) and also some text 
modes, addressed by the character. There was also a resident 
extension called UNIVBE, which could add support for some modes on 
some popular hardware that shipped with a shoddy VESA option ROM.

And this selection of VESA BIOS modes, is exactly what you get 
offered by the Linux "vga=ask", and what you can use in DOS, if your 
software supports the higher VESA VBE modes.

To get a listing of available VESA modes in DOS, I recall a tool 
called VESATEST. Or was it VTEST ? Possibly this one:
https://archive.org/details/msdos_VESA24_2_shareware
Apparently that was written in 1993.

Also my friend Rayer has written something:
http://rayer.g6.cz/programm/programe.htm#VESATEST
The current version is from 2018...

If the VTEST shows you a text mode with 60 rows and about 132 
characters, you can try supplying that one to "MODE CON COLS= 
LINES=".
But it will only work in the pure DOS prompt.
As already mentioned, various apps will mostly not respect this 
setting, and will set the video mode based on their own respective 
historical preference.

I've just stumbled over a page that points to various 
VESA/VBE-related proggies for DOS:
https://dosdriver.de/graph.php

You may also find or write some tool to ask the BIOS for just any 
supported VESA mode, including graphical, and exit to DOS without 
switching the mode back to 80x25. Sometimes you'd end up in this 
state after a game has crashed gracefully enough to return.
You can see the command.com working, characters do get displayed, the 
graphical modes often do support the BIOS text-mode output routines 
too - but the cursor probably won't blink, you may still be limited 
to 80x25 text-mode characters, and there are possibly other 
downsides, including the risk of a sudden freeze.
Also, the DOS console code is not aware of the actual resolution of 
the screen, and keeps running in 80x25 characters (or whatever it was 
before).

Times they are a changin'. While a character terminal with an 8x8 or 
8x14 font size on a full HD display may look like punk to us 
greybeards, the same font size on a 4k display is clearly a case of 
"why bother".
Technically no problem in Linux, and yes I have tried.

Frank



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread zerofive--- via Freedos-user
Hello there,

 

So there is no way to change to VGA resolution? That is unfortunate. But thanks for telling me!
I wanted to change the resolution as a part of my desktop "customization", but I guess that will not be possible.
Thanks for all the help!

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Felix Miata via Freedos-user
zerofive--- composed on 2023-08-06 02:08 (UTC+0200):

> This question may been asked a million times but I just can't figure it out, 
> and 
> googling it gives no results (except telling me that I need to use `mode` and 
> some parameters but this just wouldn't give me what I am trying to achieve)
> But I found out that `NANSI.SYS` contains a paramter which (I think) allows 
> me 
> to set at least 640x480 resolution. I also included it (nansi.sys) in 
> FDCONFIG.SYS with parameters `/t18` but it doesnt seem to work. Any idea on 
> what 
> could be the issue or I need to do it the other way?

For those who haven't seen them before, attached are the video config files used
by Borland's Paradox for DOS and Quattro Pro for DOS. The actually produce the
mode menuitems found in the apps, besides their use for setting selected modes.
These were modified by me decades ago, first to better facilitate use of Tseng
proprietary 132 column SVGA text modes, and later ATI's. With Tseng I was 
usually
using 132x30. With ATI I switched to 132x43. I'm still using both apps mostly
using the DOS built into OS/2, and Radeon X600 PCIe GPU on a Core2Duo E6400, but
every now & then checking to see if PC DOS 2000 still boots and runs them.

IIRC, I never found a way to get any SVGA text modes to work with any Intel or
NVidia GPU. I don't think I even tried with NVidia.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
##
#
# 
# WARNING!
# Do not attempt to modify this file unless you absolutely know what
# you are doing.  Improper changes to this file could cause permanent
# damage your display adapter and/or monitor!
# 
#
# Adapter Node Format:
#
#  Menu Choice, first item of sub-menu, last item of sub-menu, 0
#
# Leaf Node Format:
#
#  Menu Choice, Mode, AX, BX
#
#   Mode: 0 = Auto detect (use existing mode or set to 2, 3, or 7)
# 2 = EGA/VGA adapter 80x25 black & white
#  3 = EGA/VGA adapter 80x25 color
# 7 = Monochrome
# 0x0FF = Use AX,BX values with INT 10
# 0x102 = EGA/VGA adapter 43/50 line black & white
# 0x103 = EGA/VGA adapter 43/50 line color
#
# Note: This resource file is NOT format-compatible with
#   Quattro/PRO VIDEO.RSC.
#
# Comments on changes from distribution file:
#
# The inital menu group is unmodified. Next among menu
# choices are the VESA modes. None of these were in the
# distribution file. Next come several card brand names.
# Several brand listings from the distribution file have
# been dropped. They are instead covered among the last
# listed, which are based upon the graphics chip rather than
# card brand names, eliminating some duplication.
#
# Most modern graphics cards, probably all, support at least
# one of the VESA modes. Probably most have non-standard
# modes that may or may not be shared with other cards
# and/or chips. The non-standard modes may be more suitable
# for particular needs not supported by the VESA modes.
# Examples of brands with no non-VESA modes are Elsa and
# Matrox.
#
# Because overlap among different chips is less than 100%,
# all modes in each last group are not necessarily supported
# by every chip in the group.
#
# 1999/04/07
#
##

77 # total number of menu items
21   # number of root menu items
5   # number of root menu leaves

A: Auto-detect,0,0,0 #  0  root leaf
B: Monochrome,7,0,0  #  1  root leaf
C: CGA/EGA/VGA: 80x25,3,0,0  #  2  root leaf
D: EGA/VGA: 80x43/50,0x103,0,0   #  3  root leaf
,,, #  4  separator line
F: VESA SVGA Text Modes,21,25,0  #  5  root item
,,, #  6  separator line
H: Ahead Systems VGA Wizard,26,29,0   #  7 root item
I: ATI VGA Wonder,30,31,0 #  8 root item
J: Compaq Integrated (132 column) VGS,32,36,0 #  9 root item
K: Everex Viewpoint VGA/EV-673 VGA,37,42,0# 10 root item
L: Genoa Systems Super VGA,43,45,0# 11 root item
M: Oak Technologies,46,49,0   # 12 root item
N: Sigma VGA Legend/HP16,50,51,0  # 13 root item
O: STB PowerGraph VGA,52,53,0 # 14 root item
P: Video-7 VRAM VGA,54,56,0   # 15 root item
,,, # 16  separator line
W: Cirrus

[Freedos-user] How do I change screen resolution?

2023-08-06 Thread Jose Senna via Freedos-user
 If this is of any help, you can set an
80x28 resolution in VGA by selecting
an 8x14 pixel font, instead of the more
common 8x16. Some even look better.
 It is also possible to set the screen
mode to an SVGA or higher resolution,
but not all modes support BIOS text
functions, and you need these for DOS
output. What will work depends on the
video card.




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread EdzUp via Freedos-user
Technically it would put the screen into a VGA/SVGA resolutions so text
output would be in that resolution till you used CLS when it would return
back to the original resolution.

There is also high Res text mode.

-Ed
EdzUp

On Sun, 6 Aug 2023, 15:38 Ralf Quint via Freedos-user, <
freedos-user@lists.sourceforge.net> wrote:

> On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
> > Hi all, I could cobble together a Command line app to chuck the system
> > into VGA/SVGA resolutions :)
> >
> > -Ed
> > EdzUp
>
> And what would this going to be accomplishing?
>
>
> Ralf
>
>
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread EdzUp via Freedos-user
Try this as an example http://www.edzup.co.uk/images/EVGAMODE.zip

Usage: EVGAMODE [mode]

where mode is either 640x480, 800x600 or 1024x768. If you use CLS it will
return to the previous resolution as the mode is just a temporary change :).

-Ed
EdzUp

On Sun, Aug 6, 2023 at 6:22 PM EdzUp  wrote:

> Technically it would put the screen into a VGA/SVGA resolutions so text
> output would be in that resolution till you used CLS when it would return
> back to the original resolution.
>
> There is also high Res text mode.
>
> -Ed
> EdzUp
>
> On Sun, 6 Aug 2023, 15:38 Ralf Quint via Freedos-user, <
> freedos-user@lists.sourceforge.net> wrote:
>
>> On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
>> > Hi all, I could cobble together a Command line app to chuck the system
>> > into VGA/SVGA resolutions :)
>> >
>> > -Ed
>> > EdzUp
>>
>> And what would this going to be accomplishing?
>>
>>
>> Ralf
>>
>>
>>
>>
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>>
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread zerofive--- via Freedos-user
Hello! Just tested it.
It changes the resolution, but now I just don't see anything. I tried doing Ctrl+C exiting it but to no avail :(
Any reason why could this happen?

 
 

Sent: Monday, August 07, 2023 at 9:26 AM
From: "EdzUp via Freedos-user" 
To: "Discussion and general questions about FreeDOS." 
Cc: "EdzUp" 
Subject: Re: [Freedos-user] How do I change screen resolution?


Try this as an example http://www.edzup.co.uk/images/EVGAMODE.zip

 

Usage: EVGAMODE [mode]

 

where mode is either 640x480, 800x600 or 1024x768. If you use CLS it will return to the previous resolution as the mode is just a temporary change :).

 

-Ed

EdzUp

 


On Sun, Aug 6, 2023 at 6:22 PM EdzUp  wrote:


Technically it would put the screen into a VGA/SVGA resolutions so text output would be in that resolution till you used CLS when it would return back to the original resolution.
 

There is also high Res text mode.

 

-Ed

EdzUp

 


On Sun, 6 Aug 2023, 15:38 Ralf Quint via Freedos-user,  wrote:

On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
> Hi all, I could cobble together a Command line app to chuck the system
> into VGA/SVGA resolutions :)
>
> -Ed
> EdzUp

And what would this going to be accomplishing?


Ralf




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user



___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread EdzUp via Freedos-user
That is weird, here I get a dos prompt and can use DOS in the new
resolution :/

On Sun, Aug 6, 2023 at 9:38 PM zerofive--- via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hello! Just tested it.
> It changes the resolution, but now I just don't see anything. I tried
> doing Ctrl+C exiting it but to no avail :(
> Any reason why could this happen?
>
>
> *Sent:* Monday, August 07, 2023 at 9:26 AM
> *From:* "EdzUp via Freedos-user" 
> *To:* "Discussion and general questions about FreeDOS." <
> freedos-user@lists.sourceforge.net>
> *Cc:* "EdzUp" 
> *Subject:* Re: [Freedos-user] How do I change screen resolution?
> Try this as an example http://www.edzup.co.uk/images/EVGAMODE.zip
>
> Usage: EVGAMODE [mode]
>
> where mode is either 640x480, 800x600 or 1024x768. If you use CLS it will
> return to the previous resolution as the mode is just a temporary change :).
>
> -Ed
> EdzUp
>
> On Sun, Aug 6, 2023 at 6:22 PM EdzUp  wrote:
>
>> Technically it would put the screen into a VGA/SVGA resolutions so text
>> output would be in that resolution till you used CLS when it would return
>> back to the original resolution.
>>
>> There is also high Res text mode.
>>
>> -Ed
>> EdzUp
>>
>> On Sun, 6 Aug 2023, 15:38 Ralf Quint via Freedos-user, <
>> freedos-user@lists.sourceforge.net> wrote:
>>
>>> On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
>>> > Hi all, I could cobble together a Command line app to chuck the system
>>> > into VGA/SVGA resolutions :)
>>> >
>>> > -Ed
>>> > EdzUp
>>>
>>> And what would this going to be accomplishing?
>>>
>>>
>>> Ralf
>>>
>>>
>>>
>>>
>>> ___
>>> Freedos-user mailing list
>>> Freedos-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>>
>> ___ Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread zerofive--- via Freedos-user
Were you testing it on a Virtual Machine or on a real hardware?

 
 

Sent: Sunday, August 06, 2023 at 9:13 AM
From: "EdzUp via Freedos-user" 
To: "Discussion and general questions about FreeDOS." 
Cc: "EdzUp" 
Subject: Re: [Freedos-user] How do I change screen resolution?


That is weird, here I get a dos prompt and can use DOS in the new resolution :/
 


On Sun, Aug 6, 2023 at 9:38 PM zerofive--- via Freedos-user  wrote:




Hello! Just tested it.
It changes the resolution, but now I just don't see anything. I tried doing Ctrl+C exiting it but to no avail :(
Any reason why could this happen?

 
 

Sent: Monday, August 07, 2023 at 9:26 AM
From: "EdzUp via Freedos-user" 
To: "Discussion and general questions about FreeDOS." 
Cc: "EdzUp" 
Subject: Re: [Freedos-user] How do I change screen resolution?


Try this as an example http://www.edzup.co.uk/images/EVGAMODE.zip

 

Usage: EVGAMODE [mode]

 

where mode is either 640x480, 800x600 or 1024x768. If you use CLS it will return to the previous resolution as the mode is just a temporary change :).

 

-Ed

EdzUp

 


On Sun, Aug 6, 2023 at 6:22 PM EdzUp  wrote:


Technically it would put the screen into a VGA/SVGA resolutions so text output would be in that resolution till you used CLS when it would return back to the original resolution.
 

There is also high Res text mode.

 

-Ed

EdzUp

 


On Sun, 6 Aug 2023, 15:38 Ralf Quint via Freedos-user,  wrote:

On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
> Hi all, I could cobble together a Command line app to chuck the system
> into VGA/SVGA resolutions :)
>
> -Ed
> EdzUp

And what would this going to be accomplishing?


Ralf




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user



___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user





___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread EdzUp via Freedos-user
I was testing in virtualbox.

On Sun, 6 Aug 2023, 22:17 zerofive--- via Freedos-user, <
freedos-user@lists.sourceforge.net> wrote:

> Were you testing it on a Virtual Machine or on a real hardware?
>
>
> *Sent:* Sunday, August 06, 2023 at 9:13 AM
> *From:* "EdzUp via Freedos-user" 
> *To:* "Discussion and general questions about FreeDOS." <
> freedos-user@lists.sourceforge.net>
> *Cc:* "EdzUp" 
> *Subject:* Re: [Freedos-user] How do I change screen resolution?
> That is weird, here I get a dos prompt and can use DOS in the new
> resolution :/
>
> On Sun, Aug 6, 2023 at 9:38 PM zerofive--- via Freedos-user <
> freedos-user@lists.sourceforge.net> wrote:
>
>> Hello! Just tested it.
>> It changes the resolution, but now I just don't see anything. I tried
>> doing Ctrl+C exiting it but to no avail :(
>> Any reason why could this happen?
>>
>>
>> *Sent:* Monday, August 07, 2023 at 9:26 AM
>> *From:* "EdzUp via Freedos-user" 
>> *To:* "Discussion and general questions about FreeDOS." <
>> freedos-user@lists.sourceforge.net>
>> *Cc:* "EdzUp" 
>> *Subject:* Re: [Freedos-user] How do I change screen resolution?
>> Try this as an example http://www.edzup.co.uk/images/EVGAMODE.zip
>>
>> Usage: EVGAMODE [mode]
>>
>> where mode is either 640x480, 800x600 or 1024x768. If you use CLS it will
>> return to the previous resolution as the mode is just a temporary change :).
>>
>> -Ed
>> EdzUp
>>
>> On Sun, Aug 6, 2023 at 6:22 PM EdzUp  wrote:
>>
>>> Technically it would put the screen into a VGA/SVGA resolutions so text
>>> output would be in that resolution till you used CLS when it would return
>>> back to the original resolution.
>>>
>>> There is also high Res text mode.
>>>
>>> -Ed
>>> EdzUp
>>>
>>> On Sun, 6 Aug 2023, 15:38 Ralf Quint via Freedos-user, <
>>> freedos-user@lists.sourceforge.net> wrote:
>>>
 On 8/6/2023 5:39 AM, EdzUp via Freedos-user wrote:
 > Hi all, I could cobble together a Command line app to chuck the system
 > into VGA/SVGA resolutions :)
 >
 > -Ed
 > EdzUp

 And what would this going to be accomplishing?


 Ralf




 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user
>>>
>>> ___ Freedos-user mailing
>> list Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
> ___ Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Sved, yet another text editor

2023-08-06 Thread Mateusz Viste via Freedos-user
Because I felt that the world needed another DOS text editor, I have 
spent past month's evenings on a new project named SVED.


SVED (short for "the SvarDOS editor") is designed for basic editing of 
configuration files and such. It is NOT meant to be a full-featured text 
editor. On the pro side, it has a low memory footprint and is only a 
couple kilobytes big, which makes it a good fit for bootdisks or systems 
with extremely limited resources.


 - runs comfortably on a 8086-class PC with 256 KiB of RAM
 - auto-detects color and monochrome video modes
 - supports unusual text modes like 80x43, 80x50, 40x25...
 - multilingual UI
 - only 7 KiB of disk footprint
 - screen estate dedicated to text (no stupid frames, menus and such)
 - loads files larger than 64 KiB
 - no line length limit
 - can load up to 10 files simultaneously
 - handles CR/LF and LF line endings and can convert between them

http://svardos.org/sved

Mateusz


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Ralf Quint via Freedos-user

On 8/6/2023 1:37 PM, zerofive--- via Freedos-user wrote:

Hello! Just tested it.
It changes the resolution, but now I just don't see anything. I tried 
doing Ctrl+C exiting it but to no avail :(

Any reason why could this happen?


Because you don't pay attention to the replies you get.

DOS is using *text *mode, you just can't select a*graphics *mode and 
expect to get text output in that mode. *Text* mode and *graphics* mode 
are, as far as DOS and most DOS based applications are concerned, two 
_mutually exclusive modes of operation_.
And btw,  80x25 character text mode in fact is technically a 640x480 
"VGA mode" (using the standard 8x16 character matrix, 80x8=640 and 
25*16-480).



Ralf

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Jerome Shidel via Freedos-user
First…

There seems to be a general misunderstanding that DOS only supports 80x25 
columns. While it is possible that an extremely lazy programmer would hard code 
for that resolution, most did not. Even back in the early days the display 
could be in 40x25, 80x43, 80x50 and numerous other text resolutions. Through 
the use of special text mode fonts, most VGA cards could even support different 
font heights producing very unusual display resolutions such as 80x20, 80x16, 
40x22, etc. Therefore it was always a bad idea to hard code support for a 
single display resolution into software. 

Overall, the operating system software provided with FreeDOS, MS-DOS and the 
others work fine in all text mode resolution as long as they have BIOS support. 
 As for other none-base software, you may have mixed results. It just depends 
on skill of the programmer and how much effort they put into that aspect of 
their software.

The real issue lays with BIOS support of text modes over 80 columns. 

Back in the 386/486 days, many cards supported “high resolution” graphics 
modes. Since DOS was still a primary market for such cards, many vendors 
included support for higher resolution text modes in the BIOS (like 132x43). 
Those higher resolution modes generally worked fine under DOS.

As Windows and graphical desktops in general became popular, the card 
manufacturers changed their focus away from text mode. With each iteration, 
fewer and fewer cards included support for high resolution text modes in the 
BIOS.

The newer the video card, the less likely it is to support text modes with over 
80 columns. Out of the older hardware I have laying around, my 486 has the most 
text modes and PentiumPro only has a few extras. But, all the newer stuff 
doesn’t have any. Sure they have way more graphics modes, but none of the newer 
stuff includes any high resolution text modes. 

If you want to see what text video modes are supported by your hardware, try 
LISTVESA. As the name suggests, it will show all the VESA modes supported by 
the card. 


http://ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/pkg-html/listvesa.html
 


Although VESA is the generally the standard way to discover such modes in DOS, 
some vendors were known to provide access to additional modes using the 
standard BIOS mode change function. Those can be problematic to discover.

For example, DOSBox has a couple such modes. It provides a 132x25 as mode 0x55 
(I think) and mode 132x43 as mode 0x54 (I think). 

A tool to easily change to those standard, additional or VESA modes is the 
VMODE utility. It is part of V8Power Tools. However, earlier versions did not 
support those additional modes that were non-standard (like 0x55). So, make 
sure you have the latest version of V8Power Tools. The newest version can 
switch to standard, additional and VESA modes.

https://fd.lod.bz/repos/current/pkg-html/v8power.html 


:-)

Jerome

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Jerome Shidel via Freedos-user


> On Aug 6, 2023, at 5:25 PM, EdzUp via Freedos-user 
>  wrote:
> 
> I was testing in virtualbox.

Like PC speaker emulation…. I don’t think provides any support for higher 
resolution text modes.




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I change screen resolution?

2023-08-06 Thread Mateusz Viste via Freedos-user

On 8/6/23 23:34, Ralf Quint via Freedos-user wrote:
DOS is using *text *mode, you just can't select a*graphics *mode and 
expect to get text output in that mode.


BIOS text output functions still work in most graphic modes, hence 
having a DOS shell running in graphic mode is nothing unusual. Of course 
problems may arise for text applications that make assumptions about the 
terminal size or that write directly to VRAM without re-setting a proper 
text mode.


And btw,  80x25 character text mode in fact is technically a 640x480 
"VGA mode"


It's 720x400.


(using the standard 8x16 character matrix, 80x8=640


On VGA there's this cool ninth's bit that improves readability quite a lot.


25*16-480).

Does not compute.


Mateusz


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Sved, yet another text editor

2023-08-06 Thread Bret Johnson via Freedos-user
> Because I felt that the world needed another DOS text editor, I have
> spent past month's evenings on a new project named SVED.

> SVED (short for "the SvarDOS editor") is designed for basic editing
> of configuration files and such. It is NOT meant to be a full-
> featured text editor. On the pro side, it has a low memory footprint
> and is only a couple kilobytes big, which makes it a good fit for
> bootdisks or systems with extremely limited resources.
>
>  - runs comfortably on a 8086-class PC with 256 KiB of RAM
>  - auto-detects color and monochrome video modes
>  - supports unusual text modes like 80x43, 80x50, 40x25...
>  - multilingual UI
>  - only 7 KiB of disk footprint
>  - screen estate dedicated to text (no stupid frames, menus and
 such)
>  - loads files larger than 64 KiB
>  - no line length limit
>  - can load up to 10 files simultaneously
>  - handles CR/LF and LF line endings and can convert between them

Does it have copy/cut/paste functionality?


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user