[Freedos-user] How to make FreeDOS display correctly the ã character

2024-04-26 Thread Jose Senna via Freedos-user
 Frantisek Rysanek said:

> If that's true, I would call this a 
> bug in the FreeDOS EGA.CPX ...?
> Just fabulating, I haven't 
> analyzed this deeper.

It is not a bug in FreeDOS, but a bug in 
codepage 850. ã is missing from it in 
every DOS I looked at.




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


Re: [Freedos-user] How can I make FreeDOS display correctly the â

2024-04-26 Thread Frantisek Rysanek via Freedos-user
>  I also had this problem, For some reason, the ã
> is missing from codepage 850.

If that's true, I would call this a bug in the FreeDOS EGA.CPX ...?
Just fabulating, I haven't analyzed this deeper.

Frank


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


Re: [Freedos-user] How can I make FreeDOS display correctly the â

2024-04-25 Thread Joao Silva via Freedos-user
Hello.

Thank you, i'll switch on my laptop.

On Fri, Apr 26, 2024 at 1:18 AM Jose Senna via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

>  I also had this problem, For some reason, the ã
> is missing from codepage 850. I use codepage 860
> instead, which is the "official" Portuguese codepage.
>  Or you may use Windows-1252 codepage, if this is
> available.
>
>
>
> ___
> 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] How can I make FreeDOS display correctly the â

2024-04-25 Thread Jose Senna via Freedos-user
 I also had this problem, For some reason, the ã
is missing from codepage 850. I use codepage 860 
instead, which is the "official" Portuguese codepage.
 Or you may use Windows-1252 codepage, if this is
available. 



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


Re: [Freedos-user] How can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Joao Silva via Freedos-user
Hello.

So, whats the code for Portugal Portuguese?

Thank you.

On Thu, Apr 25, 2024 at 6:43 PM Jim Hall via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Davi Ramos wrote:
> >> > The "ã" is a very common character in Portuguese. It shows up in words
> >> > such as "não", "alçapão", and "órgão".
> >> >
> >> > The system's keyboard and layout are already configured to "br" (for
> >> > Brazilian Portuguese) and working perfectly. Other accentuated
> >> > characters display just fine. That is the case of "á", "à", "ô".
> >> > However, "ã" shows as something else entirely. Image below:
> >> > oIh6TW8.png
> >> >
> >> > How can I get FreeDOS to correctly display those characters?
>
>
> Vacek Nules wrote:
> >
> > Hi Davi,
> >
> > Your codepage is probably set to CP437, which does not contain the
> > "ã" character. Change your codepage to CP850 (or CP858 if you also
> > need the Euro sign) and try again.
>
>
> That's what I was going to suggest too. Looks like Brazilian
> Portuguese is codepage 850? So I think Davi also needs to enter these
> commands to set up the display for 850:
>
> display con=(ega,850,1)
> mode con cp prep=((850) C:\freedos\cpi\ega.cpx)
>
>
> ___
> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Davi Ramos via Freedos-user
That did it! "ã" and other tilde-accentuated characters are displaying
perfectly now. Thanks!

Although I cannot say I understand the fix, it did work and now all
tilde-accentuated characters work fine everywhere in FreeDOS.

I had to change "fdos" to "freedos" since that is how the directory is
actually called on this version.  I added the fix to FDAUTO.BAT, which I
assume is FreeDOS version of AUTOEXEC.BAT.

LH DISPLAY CON=(EGA,,1)
> MODE CON CP PREP=((858) C:\FREEDOS\cpi\EGA.CPX)
> MODE CON CP SEL=858


Is that an okay place to put those settings?

Thanks!

On Thu, Apr 25, 2024 at 3:41 PM Eric Auer via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

>
> Hi Robert and Davi,
>
> >> The system's keyboard and layout are already configured to "br" (for
> >> Brazilian Portuguese) and working perfectly. Other accentuated
> >> characters display just fine. That is the case of "á", "à", "ô".
> >> However, "ã" shows as something else entirely. Image below:
> >> oIh6TW8.png
> >>
> >> How can I get FreeDOS to correctly display those characters?
>
> You probably have to load DISPLAY and use MODE to set the codepage
> to load a font which has all accented characters at the place where
> your already Brazilian keyboard configuration expects them :-)
>
> See the HTMLHELP system for details. There should also be some
> examples on the web. It should work similar to this:
>
> First, load the DISPLAY thing. You can do this in your autoexec
> to load it automatically at boot, or manually at the prompt:
>
> LH DISPLAY CON=(EGA,,1)
> rem or maybe for example DISPLAY CON=(EGA,858,1) or similar?
>
> Second, use MODE CON CODEPAGE (shorthand MODE CON CP also
> works) to first prepare (shorthand PREP) and then select
> (shorthand SEL) the codepage for your country.
>
> In my example the codepage is 858, which happens to be in
> EGA.CPX, which is a compressed version of EGA.CPI - some
> less common codepages will probably be in other CPX files.
>
> MODE CON CP PREP=((858) C:\FDOS\cpi\EGA.CPX)
>
> MODE CON CP SEL=858
>
> You can do those two MODE invocations in autoexec or at
> the prompt as well. You can use MODE /? for help, too.
>
> The internet says that Brazilians prefer codepage 860 :-)
>
> Regards, Eric
>
> > 1) How do you enter "ã"?
> > 2) Is that a separate key on your keyboard?
> > 3) What does
> > https://bootablecd.de/fdhelp-internet/en/hhstndrd/base/keycode.htm
> > produce, when you hit that key or key combo?
>
> Interesting questions :-) Maybe all falls into place with CP860.
>
>
>
>
> ___
> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Davi Ramos via Freedos-user
Unfortunately, after entering the following:

display con=(ega,850,1)

mode con cp prep=((850) C:\freedos\cpi\ega.cpx)


There was no alteration in the displaying of "ã".


On Thu, Apr 25, 2024 at 3:43 PM Jim Hall via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Davi Ramos wrote:
> >> > The "ã" is a very common character in Portuguese. It shows up in words
> >> > such as "não", "alçapão", and "órgão".
> >> >
> >> > The system's keyboard and layout are already configured to "br" (for
> >> > Brazilian Portuguese) and working perfectly. Other accentuated
> >> > characters display just fine. That is the case of "á", "à", "ô".
> >> > However, "ã" shows as something else entirely. Image below:
> >> > oIh6TW8.png
> >> >
> >> > How can I get FreeDOS to correctly display those characters?
>
>
> Vacek Nules wrote:
> >
> > Hi Davi,
> >
> > Your codepage is probably set to CP437, which does not contain the
> > "ã" character. Change your codepage to CP850 (or CP858 if you also
> > need the Euro sign) and try again.
>
>
> That's what I was going to suggest too. Looks like Brazilian
> Portuguese is codepage 850? So I think Davi also needs to enter these
> commands to set up the display for 850:
>
> display con=(ega,850,1)
> mode con cp prep=((850) C:\freedos\cpi\ega.cpx)
>
>
> ___
> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Davi Ramos via Freedos-user
I tried the commands. "MODE CON CP SELECT=858" and "MODE CON CP
SELECT=850". The "ã" still displays as that weird character.

On Thu, Apr 25, 2024 at 3:39 PM Vacek Nules via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi Davi,
>
> Your codepage is probably set to CP437, which does not contain the "ã"
> character. Change your codepage to CP850 (or CP858 if you also need the
> Euro sign) and try again.
>
> Cheers,
> Vacek
>
>
> Robert Riebisch via Freedos-user  ezt
> írta (időpont: 2024. ápr. 25., Csü 20:29):
>
>> Hi Davi,
>>
>> > The "ã" is a very common character in Portuguese. It shows up in words
>> > such as "não", "alçapão", and "órgão".
>> >
>> > The system's keyboard and layout are already configured to "br" (for
>> > Brazilian Portuguese) and working perfectly. Other accentuated
>> > characters display just fine. That is the case of "á", "à", "ô".
>> > However, "ã" shows as something else entirely. Image below:
>> > oIh6TW8.png
>> >
>> > How can I get FreeDOS to correctly display those characters?
>>
>> 1) How do you enter "ã"?
>> 2) Is that a separate key on your keyboard?
>> 3) What does
>> 
>> produce, when you hit that key or key combo?
>>
>> Cheers,
>> Robert
>> --
>> BTTR Software   https://www.bttr-software.de/
>> DOS ain't dead  https://www.bttr-software.de/forum/
>>
>>
>> ___
>> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Davi Ramos via Freedos-user
Sorry, but how can I change my codepage? I don't really know what that is.

Thanks!

On Thu, Apr 25, 2024 at 3:39 PM Vacek Nules via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi Davi,
>
> Your codepage is probably set to CP437, which does not contain the "ã"
> character. Change your codepage to CP850 (or CP858 if you also need the
> Euro sign) and try again.
>
> Cheers,
> Vacek
>
>
> Robert Riebisch via Freedos-user  ezt
> írta (időpont: 2024. ápr. 25., Csü 20:29):
>
>> Hi Davi,
>>
>> > The "ã" is a very common character in Portuguese. It shows up in words
>> > such as "não", "alçapão", and "órgão".
>> >
>> > The system's keyboard and layout are already configured to "br" (for
>> > Brazilian Portuguese) and working perfectly. Other accentuated
>> > characters display just fine. That is the case of "á", "à", "ô".
>> > However, "ã" shows as something else entirely. Image below:
>> > oIh6TW8.png
>> >
>> > How can I get FreeDOS to correctly display those characters?
>>
>> 1) How do you enter "ã"?
>> 2) Is that a separate key on your keyboard?
>> 3) What does
>> 
>> produce, when you hit that key or key combo?
>>
>> Cheers,
>> Robert
>> --
>> BTTR Software   https://www.bttr-software.de/
>> DOS ain't dead  https://www.bttr-software.de/forum/
>>
>>
>> ___
>> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Davi Ramos via Freedos-user
1. I enter "ã" by typing the "~ ^" followed by the "a" key. Resulting in
"ã".
2. Yes, it is a separate key on my keyboard. By itself, that key will
generate the tilde. With shift, it generates the "little hat" (circumflex),
which is used in words such as "ângulo" or "acadêmico". The circumflex
displays perfectly on FreeDOS, the tilde ("~") does not.
3. "keycode" generates "Bad command or filename". I'm not sure how to
install this command, I'm looking at fdimples and it is not immediately
obvious :/. Is there a way to get it installed I am not aware of?

Thanks!

On Thu, Apr 25, 2024 at 3:31 PM Robert Riebisch via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi Davi,
>
> > The "ã" is a very common character in Portuguese. It shows up in words
> > such as "não", "alçapão", and "órgão".
> >
> > The system's keyboard and layout are already configured to "br" (for
> > Brazilian Portuguese) and working perfectly. Other accentuated
> > characters display just fine. That is the case of "á", "à", "ô".
> > However, "ã" shows as something else entirely. Image below:
> > oIh6TW8.png
> >
> > How can I get FreeDOS to correctly display those characters?
>
> 1) How do you enter "ã"?
> 2) Is that a separate key on your keyboard?
> 3) What does
> 
> produce, when you hit that key or key combo?
>
> Cheers,
> Robert
> --
> BTTR Software   https://www.bttr-software.de/
> DOS ain't dead  https://www.bttr-software.de/forum/
>
>
> ___
> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Frantisek Rysanek via Freedos-user
Let me suggest the following hypothesis:

Your FreeDOS and graphical hardware is running with the HW-default 
code page, known as Code Page 437.
https://en.wikipedia.org/wiki/Code_page_437

Whereas, you're trying to display text encoded in CP850.
https://en.wikipedia.org/wiki/Code_page_850
CP850, aka PC Latin 1, which is not the same as ISO Latin 1.

Perhaps your keyboard is already switched to produce CP850.

You probably need to run some program(s) to load the right codepage 
into the graphics card. I don't have a ready-made and tested recipe 
for you... could be something like:

In config.sys:
COUNTRY=055,850,C:\FDOS\BIN\COUNTRY.SYS

In autoexec.bat:
DISPLAY CON=(EGA,850,2)
MODE CON CP PREP=(437,850) C:\FDOS\BIN\EGA.CPX)
MODE CON CP SEL=850
   maybe also:
CHCP 850

Further reading:
https://gitlab.com/FreeDOS/base/cpidos/-/tree/master/DOC/CPIDOS
http://home.mnet-online.de/willybilly/fdhelp-internet/en/hhstndrd/base
/display.htm
http://home.mnet-online.de/willybilly/fdhelp-internet/en/hhstndrd/comm
and/chcp.htm
http://home.mnet-online.de/willybilly/fdhelp-internet/en/hhstndrd/base
/cpidos.htm
http://home.mnet-online.de/willybilly/fdhelp-internet/en/hhstndrd/cnfi
gsys/country.htm
https://marc.info/?l=freedos-dev=99788711909602  (examples look 
more like MS-DOS than FreeDOS)

Frank

> 
> The "ã" is a very common character in Portuguese. It shows up in 
> words such as "não", "alçapão", and "órgão". 
> 
> The system's keyboard and layout are already configured to "br" (for 
> Brazilian Portuguese) and working perfectly. Other accentuated 
> characters display just fine. That is the case of "á", "à", "ô". 
> However, "ã" shows as something else entirely. Image below:
> oIh6TW8.png
> 
> How can I get FreeDOS to correctly display those characters?
> 
> Thanks!




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


Re: [Freedos-user] How can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Jim Hall via Freedos-user
Davi Ramos wrote:
>> > The "ã" is a very common character in Portuguese. It shows up in words
>> > such as "não", "alçapão", and "órgão".
>> >
>> > The system's keyboard and layout are already configured to "br" (for
>> > Brazilian Portuguese) and working perfectly. Other accentuated
>> > characters display just fine. That is the case of "á", "à", "ô".
>> > However, "ã" shows as something else entirely. Image below:
>> > oIh6TW8.png
>> >
>> > How can I get FreeDOS to correctly display those characters?


Vacek Nules wrote:
>
> Hi Davi,
>
> Your codepage is probably set to CP437, which does not contain the
> "ã" character. Change your codepage to CP850 (or CP858 if you also
> need the Euro sign) and try again.


That's what I was going to suggest too. Looks like Brazilian
Portuguese is codepage 850? So I think Davi also needs to enter these
commands to set up the display for 850:

display con=(ega,850,1)
mode con cp prep=((850) C:\freedos\cpi\ega.cpx)


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


Re: [Freedos-user] How can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Eric Auer via Freedos-user


Hi Robert and Davi,


The system's keyboard and layout are already configured to "br" (for
Brazilian Portuguese) and working perfectly. Other accentuated
characters display just fine. That is the case of "á", "à", "ô".
However, "ã" shows as something else entirely. Image below:
oIh6TW8.png

How can I get FreeDOS to correctly display those characters?


You probably have to load DISPLAY and use MODE to set the codepage
to load a font which has all accented characters at the place where
your already Brazilian keyboard configuration expects them :-)

See the HTMLHELP system for details. There should also be some
examples on the web. It should work similar to this:

First, load the DISPLAY thing. You can do this in your autoexec
to load it automatically at boot, or manually at the prompt:

LH DISPLAY CON=(EGA,,1)
rem or maybe for example DISPLAY CON=(EGA,858,1) or similar?

Second, use MODE CON CODEPAGE (shorthand MODE CON CP also
works) to first prepare (shorthand PREP) and then select
(shorthand SEL) the codepage for your country.

In my example the codepage is 858, which happens to be in
EGA.CPX, which is a compressed version of EGA.CPI - some
less common codepages will probably be in other CPX files.

MODE CON CP PREP=((858) C:\FDOS\cpi\EGA.CPX)

MODE CON CP SEL=858

You can do those two MODE invocations in autoexec or at
the prompt as well. You can use MODE /? for help, too.

The internet says that Brazilians prefer codepage 860 :-)

Regards, Eric


1) How do you enter "ã"?
2) Is that a separate key on your keyboard?
3) What does
https://bootablecd.de/fdhelp-internet/en/hhstndrd/base/keycode.htm
produce, when you hit that key or key combo?


Interesting questions :-) Maybe all falls into place with CP860.




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


Re: [Freedos-user] How can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Vacek Nules via Freedos-user
Hi Davi,

Your codepage is probably set to CP437, which does not contain the "ã"
character. Change your codepage to CP850 (or CP858 if you also need the
Euro sign) and try again.

Cheers,
Vacek


Robert Riebisch via Freedos-user  ezt
írta (időpont: 2024. ápr. 25., Csü 20:29):

> Hi Davi,
>
> > The "ã" is a very common character in Portuguese. It shows up in words
> > such as "não", "alçapão", and "órgão".
> >
> > The system's keyboard and layout are already configured to "br" (for
> > Brazilian Portuguese) and working perfectly. Other accentuated
> > characters display just fine. That is the case of "á", "à", "ô".
> > However, "ã" shows as something else entirely. Image below:
> > oIh6TW8.png
> >
> > How can I get FreeDOS to correctly display those characters?
>
> 1) How do you enter "ã"?
> 2) Is that a separate key on your keyboard?
> 3) What does
> 
> produce, when you hit that key or key combo?
>
> Cheers,
> Robert
> --
> BTTR Software   https://www.bttr-software.de/
> DOS ain't dead  https://www.bttr-software.de/forum/
>
>
> ___
> 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 can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Robert Riebisch via Freedos-user
Hi Davi,

> The "ã" is a very common character in Portuguese. It shows up in words
> such as "não", "alçapão", and "órgão".
> 
> The system's keyboard and layout are already configured to "br" (for
> Brazilian Portuguese) and working perfectly. Other accentuated
> characters display just fine. That is the case of "á", "à", "ô".
> However, "ã" shows as something else entirely. Image below:
> oIh6TW8.png
> 
> How can I get FreeDOS to correctly display those characters?

1) How do you enter "ã"?
2) Is that a separate key on your keyboard?
3) What does

produce, when you hit that key or key combo?

Cheers,
Robert
-- 
BTTR Software   https://www.bttr-software.de/
DOS ain't dead  https://www.bttr-software.de/forum/


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


[Freedos-user] How can I make FreeDOS correctly display the "ã" character?

2024-04-25 Thread Davi Ramos via Freedos-user
The "ã" is a very common character in Portuguese. It shows up in words such
as "não", "alçapão", and "órgão".

The system's keyboard and layout are already configured to "br" (for
Brazilian Portuguese) and working perfectly. Other accentuated characters
display just fine. That is the case of "á", "à", "ô". However, "ã" shows as
something else entirely. Image below:
[image: oIh6TW8.png]

How can I get FreeDOS to correctly display those characters?

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


Re: [Freedos-user] How to try FDT2404 (Latest test version) on QEMU the hard way + kvm fixed

2024-04-05 Thread Paul Dufresne via Freedos-user
It turn out that using kvm was giving me the illusion of using kvm... but I 
missed the warning saying
that kvm was not loaded, and that it was falling back on tcg  don't know 
really what it is.
The reason was that "Intel virtualization technology" option in "BIOS" was 
disabled.
After enabling it, now qemu-system-i386 -enable-kvm works... I hope for real.
So qemu-system-i386 -enable-kvm make it more obvious that you need to fix 
something than by using kvm.

Also... it seems that setup need the cdrom (dvd) to be working... as it seems 
to install from it.

My guess was that because I was using -machine pc-i440fx-4.2 I was forcing the 
use of cdrom...
Somehow, the cdrom drive was empty, but setup was finding the emulated hard 
disk containing the content of the cdrom...
and used that instead of the cdrom... at least this is my hypothesis why it 
worked, and not anymore now that I don't use -macine.

So now I come back to use 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-LiveCD.zip
instead of 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip

I installed with (admittedly more complex than needed):

qemu-system-i386 -enable-kvm -m 32 -cpu 486 -device 
ide-hd,drive=myhd,bootindex=2 -drive 
file=2404.qcow2,format=qcow2,if=none,id=myhd,media=disk -device 
ide-cd,drive=mydvd,bootindex=1 -drive 
file=T2404LIVE.iso,format=raw,id=mydvd,if=none,media=cdrom 

And as this use a menu to choose what to boot with, there is no real need to 
exchange bootindex values.

But to have sound and networking, I just used (added previous message 
parameters to previous line):
qemu-system-i386 -enable-kvm -m 32 -cpu 486 -device 
ide-hd,drive=myhd,bootindex=2 -drive 
file=2404.qcow2,format=qcow2,if=none,id=myhd,media=disk -device 
ide-cd,drive=mydvd,bootindex=1 -drive 
file=T2404LIVE.iso,format=raw,id=mydvd,if=none,media=cdrom -audiodev 
pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd -machine 
pcspk-audiodev=mysnd -vga cirrus -display sdl -net nic,model=pcnet -net user

You can get control back from emulated machine with Ctrl-Alt-G (as shown in 
upper window) and allows you to close the window.

Hope it can help someone while not confusing too many!


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


Re: [Freedos-user] How to try FDT2404 (Latest test version) on QEMU

2024-04-05 Thread Jim Hall via Freedos-user
Jim Hall wrote:
[..]
>  > Then I create a virtual disk where I can install FreeDOS T2404. I'll
>  > set this up as 500MB, which is plenty big for what I do:
>  >
>  > $ qemu-img create -f qcow2 2404.qcow2 500M

Paul Dufresne wrote:
> I was prefering raw, because I was using:
> https://www.seei.biz/how-to-mount-raw-images-img-images-on-linux/
> to mount raw disk, and exchange data between the host and the emulated 
> machine.
>
> But I discovered qemu-nbd... that allows the same with qcow2 image too.
> So I guess I will adopt qcow2.


I use qcow2 because it's a bit more efficient, and a little faster.
(Not that speed matters much here .. my 3-yr old desktop PC is still
*way* more powerful than a 1990s '486 or Pentium PC.)

I use guestfstools to "mount" the virtual disk from Linux. Works
great. It's basically this:

guestmount -a "$img" -m /dev/sda1 "$mnt"

In other words:

mkdir /tmp/freedos
guestmount -a mystuff.qcow2 -m /dev/sda1 /tmp/freedos

..and that will "mount" the first (only) partition in my virtual disk,
and make it accessible at /tmp/freedos.

> Now, as I understand, the size of the file for qcow2, is way less than the 
> size specified...
> because allocation is done only when needed... so I would suggest to oversize 
> the value...
> maybe 3G?

That's a lot. FreeDOS (like any DOS) is not big. What are you putting
in that virtual disk? My "C:" virtual disk is 500MB, and that's much
larger than I need to install OpenWatcom plus editors and tools. My
"D:" virtual disk is like 200MB.


Jim


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


Re: [Freedos-user] How to try FDT2404 (Latest test version) on QEMU

2024-04-05 Thread Paul Dufresne via Freedos-user
 Le ven., 05 avr. 2024 11:38:28 -0400 Jerome Shidel via Freedos-user  wrote 


 > Hi Paul,
 > Just a side note about installing using the FullUSB.
 > 
 > One of my DOS test machines is an Acer One netbook with a 1Ghz Atom 
 > processor and an ancient 30Gb SSD. This machine has no CD/DVD drive. It does 
 > boot from the FullUSB when written to a flash drive. It takes about 5 
 > minutes from start to finish (boot, partition, reboot, install, reboot) to 
 > do a Full install without sources. 
 > 
My about 40 mins [did not really check the clock]  in an emulated (kvm) was 
Full install with sources.

Also... using FullUSB just because not liking [understand less] the iso format.
I take/took for granted, that USB key format is the same as an hard disk... so 
used the USB key image on an emulated hard disk.
But I realize that I could use the USB key image on an emulated USB key:
https://qemu-project.gitlab.io/qemu/system/devices/usb.html

 > Although it can only use one at a time, modern versions of FDIMPLES can use 
 > different local package repositories. 
 > 
 > You could have different repos on different drives. Or, even multiple ones 
 > on the same drive in different paths.
 > 
 > When FDIMPLES starts, it checks the current drive for a repository in one of 
 > the standard paths. If it does not find one, it searches existing drives C: 
 > through Z: for a repository. 
 > 
 > You can also tell it to check a specific drive (and/or alternate path) for a 
 > repo at startup. 
 > 
 > For example,
 > 
 > C:\>fdimples e:
 > C:\>fdimples d:\repo-1
 > 
 > etc.  
 > 

So, I guess this tend to suggest the follwing approach for most people: (almost 
obvious, but was not really told to me before)

Have C: be the target hard disk, have D: be the installation disk...

on installation, boot D:  , do a minimal installation, then on usage boot C: 
but with D: present, 
do fdimples D: to add needed packages.

People that need packages only present on Bonus disk should add the E: drive 
with the Bonus image, and use
fdimples e:
to add packages from the bonus disk.


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


Re: [Freedos-user] How to try FDT2404 (Latest test version) on QEMU

2024-04-05 Thread Paul Dufresne via Freedos-user
 Le ven., 05 avr. 2024 09:52:10 -0400 Jim Hall via Freedos-user  wrote: 

 > Then I create a virtual disk where I can install FreeDOS T2404. I'll
 > set this up as 500MB, which is plenty big for what I do:
 > 
 > $ qemu-img create -f qcow2 2404.qcow2 500M
I was prefering raw, because I was using:
https://www.seei.biz/how-to-mount-raw-images-img-images-on-linux/
to mount raw disk, and exchange data between the host and the emulated machine.

But I discovered qemu-nbd... that allows the same with qcow2 image too.
So I guess I will adopt qcow2.
Now, as I understand, the size of the file for qcow2, is way less than the size 
specified...
because allocation is done only when needed... so I would suggest to oversize 
the value...
maybe 3G?

 > And then I boot the FreeDOS 1.3 LiveCD using QEMU. To install, I don't
 > need much, so I set up FreeDOS to use 32MB memory. I use -enable-kvm
 > with QEMU 8.1.3 on Fedora Linux 39.
On Ubuntu 23.10, with QEMU 
paul@starman:~/FDT2404$ kvm -enable-kvm -m 32 -hda T2404FULL.img
WARNING: Image format was not specified for 'T2404FULL.img' and probing guessed 
raw.
 Automatically detecting the format is dangerous for raw images, write 
operations on block 0 will be restricted.
 Specify the 'raw' format explicitly to remove the restrictions.
Could not access KVM kernel module: No such file or directory
kvm: failed to initialize kvm: No such file or directory

but the following works:
kvm -m 32 -hda T2404FULL.img

paul@starman:~/FDT2404$ qemu-system-i386 --version
QEMU emulator version 8.0.4 (Debian 1:8.0.4+dfsg-1ubuntu3.23.10.3)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers

https://www.qemu.org/docs/master/system/invocation.html
says: "Older options like -hda are essentially macros which expand into -drive 
options for various drive interfaces. The original forms bake in a lot of 
assumptions from the days when QEMU was emulating a legacy PC, they are not 
recommended for modern configurations."

 > $ qemu-system-i386 -enable-kvm -m 32 -cdrom T2404LIVE.iso -hda
 > 2404.qcow2 -boot order=d
This works with iso file, and d means to boot cdrom... but this means d cannot 
be used to boot with second hard drive ... which is needed when I
choose to use FullUSB image. So I tend to prefer the "new way":

"Instead of -hda, -hdb, -hdc, -hdd, you can use:
qemu-system-x86_64 -drive file=file,index=0,media=disk
qemu-system-x86_64 -drive file=file,index=1,media=disk
qemu-system-x86_64 -drive file=file,index=2,media=disk
qemu-system-x86_64 -drive file=file,index=3,media=disk "

"qemu-system-x86_64 -drive if=ide,index=1,media=cdrom"

"index=index
This option defines where the drive is connected by using an index in the 
list of available connectors of a given interface type.
 compare with bootindex=index later in this message.

media=media
This option defines the type of the media: disk or cdrom."

So rather than -boot order=d I would prefer to use:
https://www.qemu.org/docs/master/system/bootindex.html

I was saying than rather to use mount -o loop,offset= line to mount RAW images, 
it is probably better to use:
https://gist.github.com/shamil/62935d9b456a6f9877b5
that works with qcow2.
That was not working on VanillaOS... but seems to work on Ubuntu 23.10.
(bit unclear when you need to use sudo on these lines)...
https://www.baeldung.com/linux/mount-qcow2-image might be clearer.

So... I was using the same arguments you use... but try to change to more 
modern parameters, because of deprecation warnings/messages.


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


Re: [Freedos-user] How to try FDT2404 (Latest test version) on QEMU

2024-04-05 Thread Jerome Shidel via Freedos-user
Hi Paul,

Just a side note about installing using the FullUSB.

One of my DOS test machines is an Acer One netbook with a 1Ghz Atom processor 
and an ancient 30Gb SSD. This machine has no CD/DVD drive. It does boot from 
the FullUSB when written to a flash drive. It takes about 5 minutes from start 
to finish (boot, partition, reboot, install, reboot) to do a Full install 
without sources. 

That machine will also boot from a USB floppy drive. 

Another side note…

You could create a second partition on the USB stick and copy the files from 
the Bonus CD to to that.

Although it can only use one at a time, modern versions of FDIMPLES can use 
different local package repositories. 

You could have different repos on different drives. Or, even multiple ones on 
the same drive in different paths.

When FDIMPLES starts, it checks the current drive for a repository in one of 
the standard paths. If it does not find one, it searches existing drives C: 
through Z: for a repository. 

You can also tell it to check a specific drive (and/or alternate path) for a 
repo at startup. 

For example,

C:\>fdimples e:
C:\>fdimples d:\repo-1

etc.  

:-)

Jerome

> On Apr 4, 2024, at 11:45 PM, Paul Dufresne via Freedos-user 
>  wrote:
> 
> Hi! Especially to Lunduke fans having their "second part" of DOS week... 
> about one year and a half after first part.
> So from April 3 to April 10 2024.
> I am not a paid subscriber to lunduke.locals.com and just observing it from 
> far.
> 
> I decided to retry FreeDOS after not using it for too many months.
> 
> And as I do in this time... I search back the messages I have previously left 
> on the list to help me know how to launch qemu...
> as I don't think the wiki have an article about it...
> But it has been a long time... and I am seeding a new message for the next 
> time(s).
> 
> So FDT2404 is out: "
> ###
> FreeDOS 2404-Test ("FreeDOS T2404")
> ###
> 
> Warning: This is a FreeDOS development build and is for testing purposes.
> It may exhibit behavior vary different from a release build and may not be
> suitable for regular use. For general use, please consider using the latest
> release build available at http://freedos.org
> "
> 
> And can be found at:
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/readme.txt
> 
> This time, I  have chosen to use 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip
> rather than the usual 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-LiveCD.zip
> Mostly, I find a disk image, a more simple and logical format that a CDROM or 
> DVD image format (iso file).
> 
> So with an iso file I would use -cdrom image.iso... but the FullUSB.zip 
> contains an .img file, that I will use the same
> qemu parameter as the hard drive destination image: -drive 
> format=raw,file=$DISK where DISK=T2404FULL.img
> 
> Steps goes about like this:
> Download and extract 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip
>  in FDT2404 directory.
> cd FDT2404
> qemu-img create fdos.img 1000M
> DESTDISK=fdos.img
> INSTALLDISK=FDT2404FULL.img
> 
> At install time, I present first INSTALLDISK, then DESTDISK:
> qemu-system-i386 -cpu 486 -name FreeDOS -machine pc-i440fx-4.2 -m 64 -drive 
> format=raw,file=$INSTALLDISK -drive format=raw,file=$DESTDISK -audiodev 
> pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd -machine 
> pcspk-audiodev=mysnd -vga cirrus -display sdl -net nic,model=pcnet -net user
> 
> After installation, I present first DESTDISK containing the installed 
> FreeDOS, and then INSTALLDISK (not so much needed anymore):
> qemu-system-i386 -cpu 486 -name FreeDOS -machine pc-i440fx-4.2 -m 64 -drive 
> format=raw,file=$DESTDISK -drive format=raw,file=$INSTALLDISK -audiodev 
> pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd -machine 
> pcspk-audiodev=mysnd -vga cirrus -display sdl -net nic,model=pcnet -net user
> 
> Information given at boot seems to say E: is the INSTALLDISK... but it is 
> really D: ... I don't know why.
> 
> Games seems to work often better than it did in my memory.
> Was it on VirtualBox that color palette was wrong?
> 
> Also... Magic Mirror game seems to start... and I did not remember to have 
> seen it working before.
> 
> For me DHCP seems not really working... but I run this on Vanilla  OS ... 
> with apx run $command  and so I think maybe it does not work because the 
> virtual machine
> is running inside the Ubuntu sub-machine (an other virtual machine as far as 
> I know).
> 
> So it seems to be the gist of what I wanted to say.
> 
> 
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> 

Re: [Freedos-user] How to try FDT2404 (Latest test version) on QEMU

2024-04-05 Thread Jim Hall via Freedos-user
I run FreeDOS in QEMU on Linux, so I can show you what I do.

First, I unzip the LiveCD ISO image so I can use it:

$ unzip FDT2404-LiveCD.zip '*.iso'
Archive:  FDT2404-LiveCD.zip
  inflating: T2404LIVE.iso


Then I create a virtual disk where I can install FreeDOS T2404. I'll
set this up as 500MB, which is plenty big for what I do:

$ qemu-img create -f qcow2 2404.qcow2 500M
Formatting '2404.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off
compression_type=zlib size=524288000 lazy_refcounts=off
refcount_bits=16


And then I boot the FreeDOS 1.3 LiveCD using QEMU. To install, I don't
need much, so I set up FreeDOS to use 32MB memory. I use -enable-kvm
with QEMU 8.1.3 on Fedora Linux 39.

$ qemu-system-i386 -enable-kvm -m 32 -cdrom T2404LIVE.iso -hda
2404.qcow2 -boot order=d


That gets me into the installer, which will always boot from the
LiveCD because I used order=d. Install FreeDOS as you would normally.

After I install, I use a slightly different command line to boot
FreeDOS. This gives me two things: 1. I have a separate hard disk
image with all my personal stuff, and 2. I add SB16 and AdLib support
so I can play games. This is the script I use to run FreeDOS: (quoted
with ">")


> #!/bin/bash
> # wrapper to run FreeDOS in a QEMU virtual machine
>
> # to create an empty disk image, do this:
> # qemu-img create -f qcow2 freedos.qcow2 500M
>
> # '-display' options can be 'sdl' or 'gtk' or 'curses'
> # '-soundhw pcspk' is no longer supported
>
> qemu-system-i386 -enable-kvm -m 32 -boot menu=on -device sb16 -device adlib \
> -hda /usr/local/tmp/freedos/2404/2404.qcow2 \
> -hdb $HOME/lib/freedos/mystuff.qcow2 \
> -cdrom /usr/local/tmp/freedos/2404/T2404BNS.iso "$@"



A note on the paths: I keep my FreeDOS install (my virtual C: drive)
in /usr/local/tmp because I don't need to back it up. If it's outside
my home directory, I don't bother backing it up when I backup my
computer. (I can just download it again and re-install it.) But I have
my personal stuff under my home directory (in $HOME/lib/freedos) so
that gets backed up.

Also: this shows that I have the BonusCD loaded on the virtual system.
After I install, the first thing I do is switch to the BonusCD so I
can install the compilers and editors I use.


On Thu, Apr 4, 2024 at 11:01 PM Paul Dufresne via Freedos-user
 wrote:
>
> Hi! Especially to Lunduke fans having their "second part" of DOS week... 
> about one year and a half after first part.
> So from April 3 to April 10 2024.
> I am not a paid subscriber to lunduke.locals.com and just observing it from 
> far.
>
> I decided to retry FreeDOS after not using it for too many months.
>
> And as I do in this time... I search back the messages I have previously left 
> on the list to help me know how to launch qemu...
> as I don't think the wiki have an article about it...
> But it has been a long time... and I am seeding a new message for the next 
> time(s).
>
> So FDT2404 is out: "
> ###
> FreeDOS 2404-Test ("FreeDOS T2404")
> ###
>
> Warning: This is a FreeDOS development build and is for testing purposes.
> It may exhibit behavior vary different from a release build and may not be
> suitable for regular use. For general use, please consider using the latest
> release build available at http://freedos.org
> "
>
> And can be found at:
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/readme.txt
>
> This time, I  have chosen to use 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip
> rather than the usual 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-LiveCD.zip
> Mostly, I find a disk image, a more simple and logical format that a CDROM or 
> DVD image format (iso file).
>
> So with an iso file I would use -cdrom image.iso... but the FullUSB.zip 
> contains an .img file, that I will use the same
> qemu parameter as the hard drive destination image: -drive 
> format=raw,file=$DISK where DISK=T2404FULL.img
>
> Steps goes about like this:
> Download and extract 
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip
>  in FDT2404 directory.
> cd FDT2404
> qemu-img create fdos.img 1000M
> DESTDISK=fdos.img
> INSTALLDISK=FDT2404FULL.img
>
> At install time, I present first INSTALLDISK, then DESTDISK:
> qemu-system-i386 -cpu 486 -name FreeDOS -machine pc-i440fx-4.2 -m 64 -drive 
> format=raw,file=$INSTALLDISK -drive format=raw,file=$DESTDISK -audiodev 
> pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd -machine 
> pcspk-audiodev=mysnd -vga cirrus -display sdl -net nic,model=pcnet -net user
>
> After installation, I present first DESTDISK containing the installed 
> FreeDOS, and then INSTALLDISK (not so much needed anymore):
> qemu-system-i386 -cpu 486 -name FreeDOS -machine 

[Freedos-user] How to try FDT2404 (Latest test version) on QEMU

2024-04-04 Thread Paul Dufresne via Freedos-user
Hi! Especially to Lunduke fans having their "second part" of DOS week... about 
one year and a half after first part.
So from April 3 to April 10 2024.
I am not a paid subscriber to lunduke.locals.com and just observing it from far.

I decided to retry FreeDOS after not using it for too many months.

And as I do in this time... I search back the messages I have previously left 
on the list to help me know how to launch qemu...
as I don't think the wiki have an article about it...
But it has been a long time... and I am seeding a new message for the next 
time(s).

So FDT2404 is out: "
###
FreeDOS 2404-Test ("FreeDOS T2404")
###

Warning: This is a FreeDOS development build and is for testing purposes.
It may exhibit behavior vary different from a release build and may not be
suitable for regular use. For general use, please consider using the latest
release build available at http://freedos.org
"

And can be found at:
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/readme.txt

This time, I  have chosen to use 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip
rather than the usual 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-LiveCD.zip
Mostly, I find a disk image, a more simple and logical format that a CDROM or 
DVD image format (iso file).

So with an iso file I would use -cdrom image.iso... but the FullUSB.zip 
contains an .img file, that I will use the same
qemu parameter as the hard drive destination image: -drive 
format=raw,file=$DISK where DISK=T2404FULL.img

Steps goes about like this:
Download and extract 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/FDT2404-FullUSB.zip
 in FDT2404 directory.
cd FDT2404
qemu-img create fdos.img 1000M
DESTDISK=fdos.img
INSTALLDISK=FDT2404FULL.img

At install time, I present first INSTALLDISK, then DESTDISK:
qemu-system-i386 -cpu 486 -name FreeDOS -machine pc-i440fx-4.2 -m 64 -drive 
format=raw,file=$INSTALLDISK -drive format=raw,file=$DESTDISK -audiodev 
pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd -machine 
pcspk-audiodev=mysnd -vga cirrus -display sdl -net nic,model=pcnet -net user

After installation, I present first DESTDISK containing the installed FreeDOS, 
and then INSTALLDISK (not so much needed anymore):
qemu-system-i386 -cpu 486 -name FreeDOS -machine pc-i440fx-4.2 -m 64 -drive 
format=raw,file=$DESTDISK -drive format=raw,file=$INSTALLDISK -audiodev 
pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd -machine 
pcspk-audiodev=mysnd -vga cirrus -display sdl -net nic,model=pcnet -net user

Information given at boot seems to say E: is the INSTALLDISK... but it is 
really D: ... I don't know why.

Games seems to work often better than it did in my memory.
Was it on VirtualBox that color palette was wrong?

Also... Magic Mirror game seems to start... and I did not remember to have seen 
it working before.

For me DHCP seems not really working... but I run this on Vanilla  OS ... with 
apx run $command  and so I think maybe it does not work because the virtual 
machine
is running inside the Ubuntu sub-machine (an other virtual machine as far as I 
know).

So it seems to be the gist of what I wanted to say.


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


[Freedos-user] How To Install FreeDOS 1.3 To a Huge SD Card Without the Need of Another Installation Drive-Manual Installation Without Using the Installer.

2024-02-09 Thread Sabina Zelená-Yahoo! Mail . Hub via Freedos-user
Title: Webpage not available

  
  Greetings,I needed to do,what is in the following howto,so I just tested this method as working & consulted with Mr.Hall,who advised to share my experience & howto based on it with the rest of the FreeDOS community,so for the other users I will recapitulate the steps for custom installation of FreeDOS 1.3 to a huge SD card:0.)U must love DOS.1.)Download images of FreeDOS 1.3 & extract files(by any program,which can access files within ISO/IMG),U wish to implement into Your custom installation or download particular files separately from FreeDOS.org .1.5)Download Rufus,if U already not have it.2.)Insert the target SD card & open Rufus.3.)Select the target SD card in Rufus,select to make it bootable by its INTEGRATED FreeDOS image by a checkbox named FreeDOS(do not use none of external IMG/ISO files,but Rufus' internal FreeDOS),select the smallest cluster size,it allows(for 512GB drive it is 8KB,for 1TB drive it is 16KB,for larger it is 32KB) & start formatting.3.5)If U r doing so with 1TB or 2TB drive,now is a good time to go to toilet or make yourself a coffee(in case of the latter I encourage U to use soy milk,not the real 1 to save the environment & not torture the Cows;if U r like Capt.Janeway & U will make Yourself Coffee,Black,Cows r safe already)‎.4.)Now U have a bootable FreeDOS SD card with some older version of FreeDOS,upgrade it to FreeDOS 1.3 by opening Total Commander(or similar file manager),in which in 1 panel open the target drive & in the other panel find the downloaded files of FreeDOS 1.3,select system files(Command.com ,Kernel.sys ) of FreeDOS 1.3 & copy these over those older,Rufus placed to the target drive(do not skip the part with Rufus,otherwise the files would not be in 1st sectors & would not boot).Now U will have the minimal FreeDOS 1.3 installation on Your target drive.5.)Reboot to the target drive to test its bootability,if OK,reboot back to the OS,where U r preparing the installation,now U have done the system part(the hard 1) & the rest is so easy,U may do it half-asleep(if Your coffee withstood to this point,U do not need to make Yourself another).6.)In Total Commander(or so) just unpack all archives,U downloaded,to particular folders of Your target drive.7.)Edit Config.sys & Autoexec.bat to ensure,the lines for drivers,mainly for Himemx.exe ,match the paths,U had placed them after unpacking/decompressing.8.)Edit Autoexec.bat to let it load Your favorite file manager or GUI after boot.9.)Reboot to Your new FreeDOS 1.3 drive & enjoy(for example by trying some games).So this U can place to a section with HowTos or so,it is just tested & worx.I hope,this will help those,who wish to install FreeDOS 1.3 to a huge SD card directly,skipping the installation media creation,or this may be useful for those,who wish to maximally customize Your installation process,partitioning,setting cluster size,etc.,if the target drive is HDD,U have already done standard installers,but this is mainly for the case,the target media is some kind of removable storage,bigger,than the image FullUSB,as U probably need to have Your big SD/CF/...card/flash drive single-partitioned to have it fully accessible also from Windows older than 10(i guess,none of us here likes Win.10) & @ the same time fully accessible to the FreeDOS installed on the card,so U will get the newest LIVE FreeDOS bootable drive,which U can move between various PCs,boot it anywhere & also access it from other OSes fully & have set the best cluster size,etc.,U may also upgrade older FreeDOS installation,or just use it to make the directory structure Your own way instead of the way preset by installer,I hope,this can be used many ways for many purposes,all purposes,for which the precompiled standard installation ISOs/IMGs r not right the Your desired method for a particular goal,U need.If U find this useful,enjoy.If U find it irrelevant,let it be for others.With best regards for all the FreeDOS community Sabina Zelená[=Green].Live long & prosper.Shabbat Shalom.Sent from BlackBerry Key 1's Hub,which has some bugs caused by EoL of BlackBerry services,but same as DOS,I will not give up BlackBerry...I just love real keyboards.___
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-17 Thread Norby Droid via Freedos-user
Here is somethin ya may find interesting:
http://www.steptail.com/guides:text_mode
Freeware program it is software and not a guide as it appears.

On Wed, Aug 9, 2023 at 01:40 Rugxulo via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi,
>
> On Mon, Aug 7, 2023 at 3:33 PM Eric Auer via Freedos-user
>  wrote:
> >
> > Assuming that you just want to have MORE text on your screen,
> > without actually wanting to use graphics mode, you can select
> > quite a few modes with MODE CON or with various VESA tools.
>
> Here's an old thread about it:
>
> *
> https://freedos-user.narkive.com/iKOZ0sY6/vertical-lines-bands-in-lcd-display-but-ok-on-crt
>
> Some reference info:
> * https://help.fdos.org/en/hhstndrd/cnfigsys/screen.htm
> * https://www.computerhope.com/modehlp.htm
>
> Some utilities:
>
> *
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/setmxx.zip
> *
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/svgatextmode/
> *
> http://web.archive.org/web/20110807104438/http://omniplex.om.funpic.de/dos/setlines.htm
>
>
> ___
> 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-10 Thread Liam Proven via Freedos-user
On Wed, 9 Aug 2023 at 18:50, Alexandro Hipólito via Freedos-user
 wrote:
>
> HI,

Hi. Please do not hijack other people's threads. Start your own new thread.

Then we will try to answer.


-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
IoM: (+44) 7624 277612: UK: (+44) 7939-087884
Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
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-09 Thread Alexandro Hipólito via Freedos-user
HI,

USB does not work.

What should I do to attach my pendrive and read data in this pen drive?

On Wed, Aug 9, 2023 at 2:40 AM Rugxulo via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi,
>
> On Mon, Aug 7, 2023 at 3:33 PM Eric Auer via Freedos-user
>  wrote:
> >
> > Assuming that you just want to have MORE text on your screen,
> > without actually wanting to use graphics mode, you can select
> > quite a few modes with MODE CON or with various VESA tools.
>
> Here's an old thread about it:
>
> *
> https://freedos-user.narkive.com/iKOZ0sY6/vertical-lines-bands-in-lcd-display-but-ok-on-crt
>
> Some reference info:
> * https://help.fdos.org/en/hhstndrd/cnfigsys/screen.htm
> * https://www.computerhope.com/modehlp.htm
>
> Some utilities:
>
> *
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/setmxx.zip
> *
> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/svgatextmode/
> *
> http://web.archive.org/web/20110807104438/http://omniplex.om.funpic.de/dos/setlines.htm
>
>
> ___
> 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-08 Thread Rugxulo via Freedos-user
Hi,

On Mon, Aug 7, 2023 at 3:33 PM Eric Auer via Freedos-user
 wrote:
>
> Assuming that you just want to have MORE text on your screen,
> without actually wanting to use graphics mode, you can select
> quite a few modes with MODE CON or with various VESA tools.

Here's an old thread about it:

* 
https://freedos-user.narkive.com/iKOZ0sY6/vertical-lines-bands-in-lcd-display-but-ok-on-crt

Some reference info:
* https://help.fdos.org/en/hhstndrd/cnfigsys/screen.htm
* https://www.computerhope.com/modehlp.htm

Some utilities:

* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/setmxx.zip
* 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/svgatextmode/
* 
http://web.archive.org/web/20110807104438/http://omniplex.om.funpic.de/dos/setlines.htm


___
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-07 Thread Eric Auer via Freedos-user



Hi!

Assuming that you just want to have MORE text on your screen,
without actually wanting to use graphics mode, you can select
quite a few modes with MODE CON or with various VESA tools.

For example in dosemu2, the following works just fine:

MODE con cols=132 lines=60

This will search for 132x60 character VESA mode and use it.

In dosemu2, VESA text modes 80x60, 132x25, 132x43 and 132x60
are available, but others can be available on other graphics
cards or in other emulators or virtual computers, dosbox,
bochs, qemu, vmware, and so on.

For non-VESA modes, you can for example use:

MODE con co80,50

That will select a VGA compatible 80x50 text mode.

Sometimes MODE will get modes wrong depending on from
which mode to which you transition. For example it may
end up in 80 column modes when asking for 132 columns,
depending on how many lines you want and had before.

It helps to experiment: Often, you can help mode to get
into the desired mode by first selecting a similar, easier
mode, so it can find out how more easily to go further.

For modes with more than 132 columns, you need VESA tools
which make fewer assumpions about things than MODE does.

Regards, Eric




___
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-07 Thread Ralf Quint via Freedos-user

On 8/6/2023 2:35 PM, Jerome Shidel via Freedos-user wrote:

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. 


Sorry, Jerome, but that is all beside the point. The OP is not trying a 
different text resolution, but is trying to force a graphics mode, which 
will NEVER work with any basic DOS text mode program.


Yes, it is possible, at least on legacy hardware, to get text 
resolutions other than 80x25 and 40x25 (as well as 80x43 on an EGA  
adapter and 80x50 on a VGA adapter), but those are HIGHLY legacy 
hardware depended, as they rely on directly manipulating the VGA 
adapters sync registers.
I used to write and use a tool myself that could generate up to 132x60 
character text screens, on the right VGA hardware.
HOWEVER, on a lot of newer video card/chips, this direct manipulation 
doesn't work anymore, as those newer chips simply do not support the 
sync of the video signal in the same way as undocumented ways of the 
original VGA adapters allowed. On some, you will actually damage the 
hardware, as you are generating out of bounds frequencies, on some, 
simply nothing will happen, either no change or simply a turning of the 
video signal, resulting in a black screen, from which only a cold boot 
and subsequent re-initialization of the video hardware will recover from.
It will also no work on a lot of LCD/LED screens, which do no sync the 
video signal like old CRT monitors did.



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-07 Thread EdzUp via Freedos-user
Weirdly enough the cludge I posted doesn't work on newest virtual box and
freedoms for some reason. It does work on dosbox 0.74 (newest one). Maybe
the rendering has changed somewhere :/

-Ed
EdzUp

On Mon, 7 Aug 2023, 12:21 Jerome Shidel via Freedos-user, <
freedos-user@lists.sourceforge.net> wrote:

>
>
> > On Aug 6, 2023, at 5:48 PM, Mateusz Viste via Freedos-user <
> freedos-user@lists.sourceforge.net> wrote:
> >
> > 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.
>
> Generally even with text support by the BIOS in graphics mode, they do not
> work well for the command line prompt.
>
> Often, there is a lack of text cursor, no scroll support or just very slow
> rendering.
>
> >
> >> And btw,  80x25 character text mode in fact is technically a 640x480
> "VGA mode"
> >
> > It's 720x400.
>
> Yep.
>
> 9x16 VGA font, 720x400. However, that 9th bit is just a little bit odd
> (puns intended).
>
> 8x16 VGA font 640x400.
>
> It’s been a while. But if I recall correctly, I think there were some VGA
> tricks that could be done to get 480 raster lines in text mode. Kind of
> like mode X. But, I don’t recall if anything that actually did that for
> text mode. For some reason, I keep thinking about having an 80x30 text mode
> available. But, that could just be 80x28 (8x14 EGA font loaded on VGA
> hardware).
>
> There were a lot of such “tricks” that could be done with real VGA
> hardware. Stuff like smooth scrolling in text mode. All part of the VGA
> specs. Few of which are supported by Virtual Machines like VirtualBox.
>
> :-)
>
> Jerome
>
>
>
> ___
> 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-07 Thread Liam Proven via Freedos-user
On Sun, 6 Aug 2023 at 15:37, Ralf Quint via Freedos-user
 wrote:
>
> FreeDOS, like any DOS, works only in text mode, so you can't just select any 
> graphics mode on the console.

I have a copy of a very handy program from the early 1990s called
Laptop UltraView.

It was designed for laptops in the era when they had VGA
passive-matrix LCDs: 648*480 in maybe 16 colours -- sometimes 256 if
you were lucky.

VGA text mode is, I think, 640*400.

LT/UV reset the DOS console into 640*480 and told DOS it was 80*25
mode, and could redefine the fonts in software. It then quit: it was
not resident, so took no RAM. The result was bolder clearer text that
was easier to read.

It also defined a bunch of soft "text" screen modes, so you could tell
DOS it had a 100x30 console, or anything that fit neatly into VGA
graphics mode. Some very hi-res "text" modes with small characters
were possible. My ZX Spectrum could just about display 64 columns of
text in its 256*192 pixels, in a 4x8 character font. VGA can do about
160x50 text in that sort of resolution, but it is not good for your
eyes.

AIR LT/UV did not understand any VESA modes so it can't use 800*600 or
1024*768 at all. Pity.

Sadly my copy is in another country right now. I can't upload it
anywhere. But it was possible, and it was a very small simple program
-- IIRC it shipped on one 720 kB floppy. It would probably be quite
easy to clone and reimplement.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
IoM: (+44) 7624 277612: UK: (+44) 7939-087884
Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
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-07 Thread Jerome Shidel via Freedos-user


> On Aug 6, 2023, at 5:48 PM, Mateusz Viste via Freedos-user 
>  wrote:
> 
> 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.

Generally even with text support by the BIOS in graphics mode, they do not work 
well for the command line prompt. 

Often, there is a lack of text cursor, no scroll support or just very slow 
rendering.

> 
>> And btw,  80x25 character text mode in fact is technically a 640x480 "VGA 
>> mode"
> 
> It's 720x400.

Yep. 

9x16 VGA font, 720x400. However, that 9th bit is just a little bit odd (puns 
intended).

8x16 VGA font 640x400. 

It’s been a while. But if I recall correctly, I think there were some VGA 
tricks that could be done to get 480 raster lines in text mode. Kind of like 
mode X. But, I don’t recall if anything that actually did that for text mode. 
For some reason, I keep thinking about having an 80x30 text mode available. 
But, that could just be 80x28 (8x14 EGA font loaded on VGA hardware). 

There were a lot of such “tricks” that could be done with real VGA hardware. 
Stuff like smooth scrolling in text mode. All part of the VGA specs. Few of 
which are supported by Virtual Machines like VirtualBox.

:-)

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 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] 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 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 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 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


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 <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" <freedos-user@lists.sourceforge.net>
To: "Discussion and general questions about FreeDOS." <freedos-user@lists.sourceforge.net>
Cc: "EdzUp" <edzup...@gmail.com>
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 <edzup...@gmail.com> 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


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
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 <edzup...@gmail.com> 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


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 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


[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 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: 

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 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 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 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 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" 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 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 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 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 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 update certificates in FreeDOS?

2023-08-05 Thread Rugxulo via Freedos-user
Hi,

On Sat, Aug 5, 2023 at 3:18 PM Louis Santillan via Freedos-user
 wrote:
>
> I daily drive Fedora Linux myself.  But curling DOS software zip files on it 
> is not as useful as doing that directly on 386 Dell I have sitting 3 feet 
> away when I want to run a bit of new software on it.

What version of Curl was the original user using again?

IIRC, the official Curl website points to Michael Kostylev's
(frequently-updated) builds.

* https://curl.se/download.html  (Curl 8.2.1)
* http://mik.dyndns.pro/dos-stuff/   (DJGPP builds of Curl 8.1.2)

So obviously they should try the latest build (for DOS).


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


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

2023-08-05 Thread zerofive--- via Freedos-user
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


Re: [Freedos-user] How do I update certificates in FreeDOS?

2023-08-05 Thread Louis Santillan via Freedos-user
And yet here we are talking about UNIX utilities ported to a 32-bit
compiler running on a 16 bit patch to an 8 bit operating system originally
coded for a 4 bit microprocessor, originally written by a 2 bit company,
that can't stand 1 bit of competition.

I daily drive Fedora Linux myself.  But curling DOS software zip files on
it is not as useful as doing that directly on 386 Dell I have sitting 3
feet away when I want to run a bit of new software on it.

On Sat, Aug 5, 2023 at 12:56 PM Ralf Quint via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> On 8/5/2023 12:51 PM, Louis Santillan via Freedos-user wrote:
> >
> >
> > Don’t do anything that requires security (banking, personal info,
> > connecting to work) if you decide to use a 3rd party proxy.  All of
> > these proxies can potentially see your credentials and sensitive
> > information.  It would be best to stand up your own proxy if your
> > technically capable of doing so.
>
> Seriously? Why not use a Linux host, with proper encryption protocol
> support in the first place? What you suggest looks to me just like
> another "von hinten durch die Brust ins Auge" issue..
>
>
> 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 update certificates in FreeDOS?

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

On 8/5/2023 1:02 PM, Louis Santillan wrote:


And yes Ralf, if the servers or companies have strict security 
standards requiring newer protocol versions, then curl will fail or 
will eventually fail to communicate with them.
Well, he stated that an attempt to use http instead failed, so I 
wouldn't have expected that any fallback in curl or wget would succeed.


This is why the proxy support is a better solution today.  The system 
hosting the proxy can be newer and support the newest security 
standards for older systems.


Again, why not use that host that you would use for that proxy for 
whatever curl/wget transfer you want to do? It seems to be always as a 
rather futile endeavor to force something like this onto (Free)DOS when 
this is pretty much a non-issue with any more modern, Internet-aware, 
operating system. And yes, doing this through a 3rd party proxy is 
certainly a less than secure and thus preferred option...



Ralf



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


Re: [Freedos-user] How do I update certificates in FreeDOS?

2023-08-05 Thread Louis Santillan via Freedos-user
https://linux.die.net/man/1/curl

-k/--insecure(SSL) This option explicitly allows curl to perform "insecure"
SSL connections and transfers. All SSL connections are attempted to be made
secure by using the CA certificate bundle installed by default. This makes
all connections considered "insecure" fail unless *-k/--insecure* is used.


In short, curl will still make encrypted SSL/TLS connections at supported
protocol versions (some servers and companies will still fall back to
earlier standards).  The encrypted/decrypted communication is considered
insecure because the trust portion of the protocol is bypassed.

And yes Ralf, if the servers or companies have strict security standards
requiring newer protocol versions, then curl will fail or will eventually
fail to communicate with them.

This is why the proxy support is a better solution today.  The system
hosting the proxy can be newer and support the newest security standards
for older systems.


On Sat, Aug 5, 2023 at 12:50 PM Ralf Quint  wrote:

> On 8/5/2023 12:37 PM, Louis Santillan wrote:
> > zerofive, you did not provide us actual error messages.  We can only
> > speculate.
> >
> > At least with curl on Linux, you can bypass cert checks with “-k”.  If
> > you still believe it’s certs and you have a known good certificate and
> > private key, you pass them as “--cert” and “--key”, respectively.
> >  wget has similar arguments as well.
> The general problem here is, as I already mentioned, more likely the
> lack of support of current encryption protocols rather than the use of
> any certificate by those protocols.
>
> And any bypass you mentioned is likely just a way to fall back to
> unencrypted http, which more and more sites these days simply do not
> support anymore.
>
>
> Ralf
>
>
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How do I update certificates in FreeDOS?

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

On 8/5/2023 12:51 PM, Louis Santillan via Freedos-user wrote:



Don’t do anything that requires security (banking, personal info, 
connecting to work) if you decide to use a 3rd party proxy.  All of 
these proxies can potentially see your credentials and sensitive 
information.  It would be best to stand up your own proxy if your 
technically capable of doing so.


Seriously? Why not use a Linux host, with proper encryption protocol 
support in the first place? What you suggest looks to me just like 
another "von hinten durch die Brust ins Auge" issue..



Ralf




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


Re: [Freedos-user] How do I update certificates in FreeDOS?

2023-08-05 Thread zerofive--- via Freedos-user
The cert check bypass seems to solve my issue, thank you very much!
Also, the error message I get (with cert check) is:
curl: (77) error setting certificate verify locations:   CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none

 
 

Sent: Saturday, August 05, 2023 at 2:37 PM
From: "Louis Santillan via Freedos-user" 
To: "Discussion and general questions about FreeDOS." 
Cc: "Louis Santillan" 
Subject: Re: [Freedos-user] How do I update certificates in FreeDOS?


zerofive, you did not provide us actual error messages.  We can only speculate.  

 

At least with curl on Linux, you can bypass cert checks with “-k”.  If you still believe it’s certs and you have a known good certificate and private key, you pass them as “--cert” and “--key”, respectively.  wget has similar arguments as well.

 

On Sat, Aug 5, 2023 at 12:25 PM Ralf Quint via Freedos-user <freedos-user@lists.sourceforge.net> wrote:



On 8/5/2023 5:35 AM, zerofive--- via Freedos-user wrote:



Hello everyone! I am new to FreeDOS.
When I try to use cURL or WGet, they sometimes error and refuse to use secure HTTPS connection.
I figured it was from outdated certificates. Is there any way I can update them, manually or automatically?
Thanks!



FreeDOS knows jacksh@t about any certificate.

And rather than a certificate issue, it is much rather an issue about the encryption protocols and associated key length in general that prevent you from using https connections in recent years. This is totally an issue of the applications you are using, making sure that they would be able to at least support TLS 1.2, or newer...



 

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 update certificates in FreeDOS?

2023-08-05 Thread Louis Santillan via Freedos-user
You might also try standing up an http to https proxy.  There are some
proxies setup specifically for retro computers like

https://protoweb.org/get-started/
https://github.com/DrKylstein/retro-proxy
https://youtu.be/-Qs3LVPmLgk
https://protoweb.org/wiki/servers/
http://www.steptail.com/retroweb:servers


curl let’s you specify a proxy server with “-x” and a “username:password”
(some proxies require this) with “-U”.  Examine curl’s arguments with “-h”.


Don’t do anything that requires security (banking, personal info,
connecting to work) if you decide to use a 3rd party proxy.  All of these
proxies can potentially see your credentials and sensitive information.  It
would be best to stand up your own proxy if your technically capable of
doing so.


On Sat, Aug 5, 2023 at 12:35 PM zerofive--- via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Then what do I do if I want to make a cURL request or WGet to a secure
> HTTPS page?
> Do I just use HTTP?
> But then it will forcefully redirect to HTTPS connection...
> What do I do?
> *Sent:* Sunday, August 06, 2023 at 1:24 AM
> *From:* "Ralf Quint via Freedos-user" 
> *To:* freedos-user@lists.sourceforge.net
> *Cc:* "Ralf Quint" 
> *Subject:* Re: [Freedos-user] How do I update certificates in FreeDOS?
> On 8/5/2023 5:35 AM, zerofive--- via Freedos-user wrote:
>
> Hello everyone! I am new to FreeDOS.
> When I try to use cURL or WGet, they sometimes error and refuse to use
> secure HTTPS connection.
> I figured it was from outdated certificates. Is there any way I can update
> them, manually or automatically?
> Thanks!
>
> FreeDOS knows jacksh@t about any certificate.
>
> And rather than a certificate issue, it is much rather an issue about the
> encryption protocols and associated key length in general that prevent you
> from using https connections in recent years. This is totally an issue of
> the applications you are using, making sure that they would be able to at
> least support TLS 1.2, or newer...
>
>
>
> 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 update certificates in FreeDOS?

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

On 8/5/2023 12:37 PM, Louis Santillan wrote:
zerofive, you did not provide us actual error messages.  We can only 
speculate.


At least with curl on Linux, you can bypass cert checks with “-k”.  If 
you still believe it’s certs and you have a known good certificate and 
private key, you pass them as “--cert” and “--key”, respectively. 
 wget has similar arguments as well.
The general problem here is, as I already mentioned, more likely the 
lack of support of current encryption protocols rather than the use of 
any certificate by those protocols.


And any bypass you mentioned is likely just a way to fall back to 
unencrypted http, which more and more sites these days simply do not 
support anymore.



Ralf




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


Re: [Freedos-user] How do I update certificates in FreeDOS?

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

On 8/5/2023 12:34 PM, zerofive--- via Freedos-user wrote:
Then what do I do if I want to make a cURL request or WGet to a secure 
HTTPS page?

Do I just use HTTP?
But then it will forcefully redirect to HTTPS connection...
What do I do?


Use a properly Internet enabled operating system.

Yes, I am aware that this is not the answer you probably like to hear. 
But you need to understand that anything Internet related is kind of 
shoehorned/piggybacked on top of DOS, an operating system that was 
already officially declared dead by the time the Internet start to 
proliferate.


As everything https these days will require TLS 1.2 or newer to 
communicate, the only other thing you could do is to check with the 
authors about their tools supporting this level encryption...



Ralf

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


Re: [Freedos-user] How do I update certificates in FreeDOS?

2023-08-05 Thread Louis Santillan via Freedos-user
zerofive, you did not provide us actual error messages.  We can only
speculate.

At least with curl on Linux, you can bypass cert checks with “-k”.  If you
still believe it’s certs and you have a known good certificate and private
key, you pass them as “--cert” and “--key”, respectively.  wget has similar
arguments as well.

On Sat, Aug 5, 2023 at 12:25 PM Ralf Quint via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> On 8/5/2023 5:35 AM, zerofive--- via Freedos-user wrote:
>
> Hello everyone! I am new to FreeDOS.
> When I try to use cURL or WGet, they sometimes error and refuse to use
> secure HTTPS connection.
> I figured it was from outdated certificates. Is there any way I can update
> them, manually or automatically?
> Thanks!
>
> FreeDOS knows jacksh@t about any certificate.
>
> And rather than a certificate issue, it is much rather an issue about the
> encryption protocols and associated key length in general that prevent you
> from using https connections in recent years. This is totally an issue of
> the applications you are using, making sure that they would be able to at
> least support TLS 1.2, or newer...
>
>
> 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 update certificates in FreeDOS?

2023-08-05 Thread zerofive--- via Freedos-user
Then what do I do if I want to make a cURL request or WGet to a secure HTTPS page?


Do I just use HTTP?
But then it will forcefully redirect to HTTPS connection...
What do I do?

Sent: Sunday, August 06, 2023 at 1:24 AM
From: "Ralf Quint via Freedos-user" 
To: freedos-user@lists.sourceforge.net
Cc: "Ralf Quint" 
Subject: Re: [Freedos-user] How do I update certificates in FreeDOS?


On 8/5/2023 5:35 AM, zerofive--- via Freedos-user wrote:



Hello everyone! I am new to FreeDOS.
When I try to use cURL or WGet, they sometimes error and refuse to use secure HTTPS connection.
I figured it was from outdated certificates. Is there any way I can update them, manually or automatically?
Thanks!



FreeDOS knows jacksh@t about any certificate.

And rather than a certificate issue, it is much rather an issue about the encryption protocols and associated key length in general that prevent you from using https connections in recent years. This is totally an issue of the applications you are using, making sure that they would be able to at least support TLS 1.2, or newer...

 

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 update certificates in FreeDOS?

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

On 8/5/2023 5:35 AM, zerofive--- via Freedos-user wrote:

Hello everyone! I am new to FreeDOS.
When I try to use cURL or WGet, they sometimes error and refuse to use 
secure HTTPS connection.
I figured it was from outdated certificates. Is there any way I can 
update them, manually or automatically?

Thanks!


FreeDOS knows jacksh@t about any certificate.

And rather than a certificate issue, it is much rather an issue about 
the encryption protocols and associated key length in general that 
prevent you from using https connections in recent years. This is 
totally an issue of the applications you are using, making sure that 
they would be able to at least support TLS 1.2, or newer...



Ralf

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


[Freedos-user] How do I update certificates in FreeDOS?

2023-08-05 Thread zerofive--- via Freedos-user
Hello everyone! I am new to FreeDOS.
When I try to use cURL or WGet, they sometimes error and refuse to use secure HTTPS connection.
I figured it was from outdated certificates. Is there any way I can update them, manually or automatically?
Thanks!

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


Re: [Freedos-user] How to make the R-Alt key act like L-Alt?

2023-05-06 Thread Aitor Santamaría
Hello John,

Sorry for being late.

This can be tricky, but feasible with FD-KEYB without recompiling. You can
start from some US layout and try this example, for Alt+X

First, you need to find out the key and scancode that Alt+X produces (that
EDIT receives). I found this page, but there are utilities that may help
you out with this (like KEYCODE).

Keyboard scan codes (freepascal.org)


According to this, Alt+X returns scancode 2Dh  (45)

Define a plane for Left-Alt:

[Planes]
RALT

To emit simply a scancode with 0, you can do the / trick:

[KEYS:k1]
 45C  x  X   0/45

This should work.

Aitor


On Thu, 16 Jul 2015 at 02:48, John Hupp  wrote:

> I'm just using the BIOS keyboard driver (not running KEYB) with a US
> layout keyboard.
>
> What I'm trying to do: In Edit, for instance, R-Alt + F does not open
> the File menu, and R-Alt + X does not exit the program.  I want it to do
> those things just as L-Alt + F and L-Alt + X do, because those L-Alt key
> combinations are awkward for a touch typist.
>
> On 7/15/2015 8:35 PM, Rugxulo wrote:
> > Hi,
> >
> > I'm not 100% sure of what you're trying to do or why.
> >
> > On Wed, Jul 15, 2015 at 6:48 PM, John Hupp 
> wrote:
> >> For a US layout keyboard and the default BIOS keyboard driver: I brought
> >> this issue up a long time ago and learned that by design R-Alt is a dead
> >> key and does not duplicate the functionality of L-Alt.
> >>
> >> Today I have been studying xkeyb and keyb, trying to find a way to get
> >> what I wanted, but I have come up dry so far.
> > AFAIK, xkeyb is totally deprecated in lieu of KEYB. You could instead
> > use something minimal like mKEYB, but that's not obviously a full
> > replacement.
> >
> >> With keyb, documentation notes that one might edit a KEY file and use KC
> >> with that to compile a custom keyboard layout (KL) file to load, and I
> >> am now trying to plow through the KC doc files, but it's pretty dense
> >> reading.
> >>
> >> Can anyone detail or at least outline a solution?
> > So you have KEYB loaded? (dumb question) Do you need it?? Just unload
> > it, and don't worry about it. Or do you actually need it here for
> > foreign language input? What language(s)?
> >
> > IIRC, you can temporarily disable KEYB via Ctrl-Alt-F1 (and re-enable
> > via Ctrl-Alt-F2). Does that help?
> >
> >
> --
> > Don't Limit Your Business. Reach for the Cloud.
> > GigeNET's Cloud Solutions provide you with the tools and support that
> > you need to offload your IT needs and focus on growing your business.
> > Configured For All Businesses. Start Your Cloud Today.
> > https://www.gigenetcloud.com/
> > ___
> > Freedos-user mailing list
> > Freedos-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freedos-user
>
>
>
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> 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 to properly use "search"?

2022-11-05 Thread Robert Riebisch
Hi Michał,

> Wolf, wish they could have. My idea is that I could put a Batch script 
> in every game's directory where we can do simple things like start the 
> game or run the setup, or regenerate the config to a known working 
> state. In order to find games dynamically, rather than have a list of 
> games written down in a file, I wanted to run SEARCH C:\GAMES START.BAT, 
> but that started listing absolutely everything on C:\. When I tried 
> doing SEARCH C:\GAMES\**\START.BAT, it printed some nonsense. How can I 
> properly use the SEARCH command?

Don't use SEARCH. (I didn't even know it exists.)

Just use DIR and assume a START.BAT being present in every directory:
dir c:\games /b
dir c:\games /b /p-  <-- do not paginate output

Cheers,
Robert
-- 
BTTR Software   https://www.bttr-software.de/
DOS ain't dead  https://www.bttr-software.de/forum/

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


[Freedos-user] How to properly use "search"?

2022-11-05 Thread Michał Dec

Hello again,

I'm trying to write a menu for playing games. The FreeDOS setup I've 
described earlier in my query on how to unload drivers will be presented 
in some local conventions. It's not just my personal gaming setup, I 
want to bring enjoyment to others. From past experience I know that 
letting random strangers have full reign over this computer is a really 
bad idea. One person vandalized FDAUTO.BAT with self-incriminating 
grafitti and created a bunch of lewd directories in random places. 
Another person nagged me constantly because they wanted to have Perl, 
because they found FDIMPLES and found in the package indices that 
installable Perl is a thing in FreeDOS. I caved in to those complaints 
and this individual waited until the convention is off for the night, 
and toiled away until the break of dawn writing a text-based adventure 
game in Perl. What a mad lad. Nevertheless, it's something I'd like to 
avoid in the future. That's why, I want to write a menu. If you remember 
those bootlegs cartridges for the NES that pack 999 games into 1 
cartridge and you simply select which one you want to play, that's more 
or less what I'm going for.


So, I wanted to implement this completely in Batch so that we don't run 
into the problem of taking memory that really demanding games, like 
Wolf, wish they could have. My idea is that I could put a Batch script 
in every game's directory where we can do simple things like start the 
game or run the setup, or regenerate the config to a known working 
state. In order to find games dynamically, rather than have a list of 
games written down in a file, I wanted to run SEARCH C:\GAMES START.BAT, 
but that started listing absolutely everything on C:\. When I tried 
doing SEARCH C:\GAMES\**\START.BAT, it printed some nonsense. How can I 
properly use the SEARCH command?


Best regards,

Michał



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


Re: [Freedos-user] How to unload a driver?

2022-11-04 Thread Rugxulo
Hi,

On Fri, Nov 4, 2022 at 2:48 PM dmccunney  wrote:
>
> I did have utilities back when that I could use to optimize the
> loading of TSRs.  Most took memory when loading and initializing, but
> that memory cuold be freed and only a small portion thaat was the
> actual TSR needed to remain resident, so I got to play games h the
> ortder in which TSRs loaded to leave space for the loading an
> initialization of subsequent TSRs.  That technique was not applicable
> to drivers.

For some TSRs, you can use these (mark / release) from TurboPower
Software (Kim Kokkonen):

* https://www.sac.sk/download/utilmisc/tsrcom35.zip

* https://www.bttr-software.de/freesoft/system.htm#tsrcom


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


Re: [Freedos-user] How to unload a driver?

2022-11-04 Thread Louis Santillan
Some drivers might work DDL, DDU as well -
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/ddl/

On Fri, Nov 4, 2022 at 4:06 PM Robert Riebisch  wrote:

> Hi Michał,
>
> > I load drivers for SoundBlaster AWE64 by means of putting CTMM.SYS,
> > CTSB16.SYS and CTCU.EXE in DEVICE= parameters in FDCONFIG.SYS. However,
> > that leaves me with 570KB free. I know that I can free some of that
> > memory if only I can unload the drivers once the card is configured. I
> > need to have 600KB free in order to start some very strange games, like
> > Wolf. No, not Wolfenstein. Wolf
> > https://en.wikipedia.org/wiki/Wolf_(video_game)
>
> You could try UNISOUND instead.
>
> "UNISOUND can be launched without options, with optional command line
> options and with/without a BLASTER/ULTRASND environment variable present
> (before launch). It doesn't consume RAM. It is not a TSR, it doesn't
> require mem extenders, XMS/EMS..."
>
> https://www.vogons.org/viewtopic.php?f=62=72553
>
> (I never tried UNISOUND.)
>
> Cheers,
> Robert
> --
> BTTR Software   https://www.bttr-software.de/
> DOS ain't dead  https://www.bttr-software.de/forum/
>
> ___
> 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 to unload a driver?

2022-11-04 Thread Robert Riebisch
Hi Michał,

> I load drivers for SoundBlaster AWE64 by means of putting CTMM.SYS, 
> CTSB16.SYS and CTCU.EXE in DEVICE= parameters in FDCONFIG.SYS. However, 
> that leaves me with 570KB free. I know that I can free some of that 
> memory if only I can unload the drivers once the card is configured. I 
> need to have 600KB free in order to start some very strange games, like 
> Wolf. No, not Wolfenstein. Wolf 
> https://en.wikipedia.org/wiki/Wolf_(video_game)

You could try UNISOUND instead.

"UNISOUND can be launched without options, with optional command line
options and with/without a BLASTER/ULTRASND environment variable present
(before launch). It doesn't consume RAM. It is not a TSR, it doesn't
require mem extenders, XMS/EMS..."

https://www.vogons.org/viewtopic.php?f=62=72553

(I never tried UNISOUND.)

Cheers,
Robert
-- 
BTTR Software   https://www.bttr-software.de/
DOS ain't dead  https://www.bttr-software.de/forum/

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


Re: [Freedos-user] How to unload a driver?

2022-11-04 Thread Eric Auer



Hi!

I load drivers for SoundBlaster AWE64 by means of putting CTMM.SYS, 
CTSB16.SYS and CTCU.EXE in DEVICE= parameters in FDCONFIG.SYS. However, 
that leaves me with 570KB free. I know that I can free some of that 
memory if only I can unload the drivers once the card is configured. I 
need to have 600KB free in order to start some very strange games, like 
Wolf. No, not Wolfenstein. Wolf 
https://en.wikipedia.org/wiki/Wolf_(video_game)


A DOS forum thread discussing this online claims that some of
those are only used for software mixing and concludes that you
should get things working with only CTCM and AWEUTIL as well,
so I guess you could test which of the 3 drivers mentioned in
your setup are REALLY needed for your games. Also, you can use
a boot menu to decide at boot time whether or not you want to
load your AWE64 drivers. Then you can select the no-driver boot
style for games such as Wolf which need more free DOS RAM :-)

Also, it seems CTCU /S can be run in autoexec instead of config,
which may be more convenient. CTCM = CreaTive Config Manager,
AWEUTIL = relevant for MIDI emulation for real mode games etc.,
CTMM and CTSB16 might be components which are less necessary.

Best regards, Eric




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


Re: [Freedos-user] How to unload a driver?

2022-11-04 Thread Michał Dec

Hello,

Alrighty, here's the entirety of my setup.

I load drivers for SoundBlaster AWE64 by means of putting CTMM.SYS, 
CTSB16.SYS and CTCU.EXE in DEVICE= parameters in FDCONFIG.SYS. However, 
that leaves me with 570KB free. I know that I can free some of that 
memory if only I can unload the drivers once the card is configured. I 
need to have 600KB free in order to start some very strange games, like 
Wolf. No, not Wolfenstein. Wolf 
https://en.wikipedia.org/wiki/Wolf_(video_game)


Best regards,

Michał

W dniu 4.11.2022 o 20:46, dmccunney pisze:

n Fri, Nov 4, 2022 at 2:38 PM Michał Dec  wrote:

Hello,

I'm loading a bunch of drivers during startup, but I'd like to try and unload 
them after all the setup is done. What \

command is for unloading drivers? I know LH and DEVLOAD are for loading.

I  don't offhand think there is such a command

LH and DEVLOAD have the same purpose:  load drivers and ?TSRs high to
get them out of conventional memory.  But in general, you wanted them
present and available during your session, and didn't want to unload
them.

I do have a Unix machine which has an experimental capability to
unload drivers, but it was experimental.  Nowadays, the efforts are to
have things loaded in user space, and unloadable if you no longer need
what they do.

What drivers are you loading in startup?  A driver, by definition,
provides access to hardware, and if you want to use the3 hardware you
need the driver.

I did have utilities back when that I could use to optimize the
loading of TSRs.  Most took memory when loading and initializing, but
that memory cuold be freed and only a small portion thaat was the
actual TSR needed to remain resident, so I got to play games h the
ortder in which TSRs loaded to leave space for the loading an
initialization of subsequent TSRs.  That technique was not applicable
to drivers.

Tell us what you'reloading in startup? Maybe we can help optimize the process.


Michał



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


Re: [Freedos-user] How to unload a driver?

2022-11-04 Thread Deposite Pirate
On Fri, 4 Nov 2022 15:46:44 -0400
dmccunney  wrote: 
> I do have a Unix machine which has an experimental capability to
> unload drivers, but it was experimental.  Nowadays, the efforts are to
> have things loaded in user space, and unloadable if you no longer need
> what they do.

Linux has been able to unload drivers (rmmod or modprobe -r) as far as
I can remember (the 2.0.x days at least). Linux drivers are most
definitely not in userspace unless it's a FUSE filesystem driver. There
is even a system service that automatically unloads kernel modules that
are unused after a while. FreeBSD also has a kldunload command. The
drivers are not in userspace either. In DOS it's up to the driver to
provide the unloading functionality. Ethernet packet drivers typically
can. I know Realtek and 3com drivers can because I made myself a batch
script to turn the network on and off in which I unload the packet
drivers to free some RAM. I think mTCP drivers can be unloaded as well.

---
WWW: https://metalpunks.info
GPG: C90CAB7122AC1231


pgpb8nISKkqUE.pgp
Description: OpenPGP digital signature
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] How to unload a driver?

2022-11-04 Thread dmccunney
n Fri, Nov 4, 2022 at 2:38 PM Michał Dec  wrote:
>
> Hello,
>
> I'm loading a bunch of drivers during startup, but I'd like to try and unload 
> them after all the setup is done. What \
command is for unloading drivers? I know LH and DEVLOAD are for loading.

I  don't offhand think there is such a command

LH and DEVLOAD have the same purpose:  load drivers and ?TSRs high to
get them out of conventional memory.  But in general, you wanted them
present and available during your session, and didn't want to unload
them.

I do have a Unix machine which has an experimental capability to
unload drivers, but it was experimental.  Nowadays, the efforts are to
have things loaded in user space, and unloadable if you no longer need
what they do.

What drivers are you loading in startup?  A driver, by definition,
provides access to hardware, and if you want to use the3 hardware you
need the driver.

I did have utilities back when that I could use to optimize the
loading of TSRs.  Most took memory when loading and initializing, but
that memory cuold be freed and only a small portion thaat was the
actual TSR needed to remain resident, so I got to play games h the
ortder in which TSRs loaded to leave space for the loading an
initialization of subsequent TSRs.  That technique was not applicable
to drivers.

Tell us what you'reloading in startup? Maybe we can help optimize the process.

> Michał
-- 
___
Dennis


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


[Freedos-user] How to unload a driver?

2022-11-04 Thread Michał Dec

Hello,

I'm loading a bunch of drivers during startup, but I'd like to try and 
unload them after all the setup is done. What command is for unloading 
drivers? I know LH and DEVLOAD are for loading.


Best regards,

Michał



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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-18 Thread Phil Reynolds
On Sat, 17 Sep 2022 22:39:54 -0400
Travis Siegel  wrote:

> Should be easy enough, (prn is the first lpt port, and can easily be 
> redirected to a file using the mode command).  Not directly related,
> but I did used to use prn to make some programs print everything they
> said, then have my screen reader pick the info out of prn, to make
> those apps usable.
> 
> It wasn't a great solution, but it was better than nothing, so 
> 
> 

I can't see how to get mode to do this, and the particular apps don't
allow use of a file as a printer.

Fortunately it's not a big issue. As I'm using qemu anyway, I can
easily save the lpt output. I have also found something I can use on
the host Linux box to interpret the PCL output and convert it it PDF -
gpcl6 from a local compile of ghostpdl. I've tested - the output seems
to be just fine.

-- 
Phil Reynolds
mail: phil-free...@tinsleyviaduct.com
Web: http://phil.tinsleyviaduct.com/



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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-18 Thread Phil Reynolds
On Sun, 18 Sep 2022 23:08:54 +0100
Phil Reynolds  wrote:

> On Sat, 17 Sep 2022 20:31:38 -0700
> Michael Brutman  wrote:
> 
> > I'm not going to be porting LPR to mTCP anytime soon; I think about
> > 4 people would have a use for it.  However, if a printer supports
> > JetDirect printing on port 9100, then mTCP netcat can be used.
> > Simply have your program print to a file, then use netcat to send
> > the file to the JetDirect port on your printer.  Most network
> > printers can do this.
> > 
> > The detailed instructions are in the mTCP PDF file.  
> 
> I will look into that too.
> 

Even better... I can pipe to that.

-- 
Phil Reynolds
mail: phil-free...@tinsleyviaduct.com
Web: http://phil.tinsleyviaduct.com/



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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-18 Thread Phil Reynolds
On Sat, 17 Sep 2022 20:31:38 -0700
Michael Brutman  wrote:

> I'm not going to be porting LPR to mTCP anytime soon; I think about 4
> people would have a use for it.  However, if a printer supports
> JetDirect printing on port 9100, then mTCP netcat can be used.
> Simply have your program print to a file, then use netcat to send the
> file to the JetDirect port on your printer.  Most network printers
> can do this.
> 
> The detailed instructions are in the mTCP PDF file.

I will look into that too.

-- 
Phil Reynolds
mail: phil-free...@tinsleyviaduct.com
Web: http://phil.tinsleyviaduct.com/



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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-18 Thread Robert Riebisch
Hi Phil,

>> > would certainly help. However, the other alternative in my case
>> > would be LPR. I have not found a package with LPR yet, and most
>> > links I have found around the web either include anything but a
>> > binary or are broken. I see mention of a source file for it as part
>> > of WATTCP but have no idea how to get it, nor how to build it once
>> > obtained.  
>> 
>> I never tried, but lpr.exe can be found in
>> .
>> Look in apps/apps.zip.
> 
> Ah, this seems to work well, for printing a named file. Can certainly

Glad to see it working. :-)

Cheers,
Robert
-- 
BTTR Software   https://www.bttr-software.de/
DOS ain't dead  https://www.bttr-software.de/forum/


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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-17 Thread Michael Brutman
I'm not going to be porting LPR to mTCP anytime soon; I think about 4
people would have a use for it.  However, if a printer supports JetDirect
printing on port 9100, then mTCP netcat can be used.  Simply have your
program print to a file, then use netcat to send the file to the JetDirect
port on your printer.  Most network printers can do this.

The detailed instructions are in the mTCP PDF file.


-Mike


On Sat, Sep 17, 2022 at 12:57 AM Robert Riebisch 
wrote:

> Hi Phil,
>
> > would certainly help. However, the other alternative in my case would
> > be LPR. I have not found a package with LPR yet, and most links I have
> > found around the web either include anything but a binary or are
> > broken. I see mention of a source file for it as part of WATTCP but
> > have no idea how to get it, nor how to build it once obtained.
>
> I never tried, but lpr.exe can be found in
> <
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/net/wattcp/wat2001b.zip
> >.
> Look in apps/apps.zip.
>
> Maybe Michael Brutman wishes to port it to his mTCP suite:
> http://www.brutman.com/mTCP/
>
> Cheers,
> Robert
> --
> BTTR Software   https://www.bttr-software.de/
> DOS ain't dead  https://www.bttr-software.de/forum/
>
>
> ___
> 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 to obtain LPR - or is there a way to use IPP?

2022-09-17 Thread Travis Siegel


On 9/17/2022 8:30 PM, PhilI never tried, but lpr.exe can be found in

.
Look in apps/apps.zip.

Ah, this seems to work well, for printing a named file. Can certainly
print plain text with lpr [address of printer] filename. As for getting
output from the apps I'm using, it would mean capturing an LPT port to
a file somehow. Still working on that one.


Should be easy enough, (prn is the first lpt port, and can easily be 
redirected to a file using the mode command).  Not directly related, but 
I did used to use prn to make some programs print everything they said, 
then have my screen reader pick the info out of prn, to make those apps 
usable.


It wasn't a great solution, but it was better than nothing, so 




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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-17 Thread Phil Reynolds
On Sat, 17 Sep 2022 09:55:34 +0200
Robert Riebisch  wrote:

> Hi Phil,
> 
> > would certainly help. However, the other alternative in my case
> > would be LPR. I have not found a package with LPR yet, and most
> > links I have found around the web either include anything but a
> > binary or are broken. I see mention of a source file for it as part
> > of WATTCP but have no idea how to get it, nor how to build it once
> > obtained.  
> 
> I never tried, but lpr.exe can be found in
> .
> Look in apps/apps.zip.

Ah, this seems to work well, for printing a named file. Can certainly
print plain text with lpr [address of printer] filename. As for getting
output from the apps I'm using, it would mean capturing an LPT port to
a file somehow. Still working on that one.

-- 
Phil Reynolds
mail: phil-free...@tinsleyviaduct.com
Web: http://phil.tinsleyviaduct.com/



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


Re: [Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-17 Thread Robert Riebisch
Hi Phil,

> would certainly help. However, the other alternative in my case would
> be LPR. I have not found a package with LPR yet, and most links I have
> found around the web either include anything but a binary or are
> broken. I see mention of a source file for it as part of WATTCP but
> have no idea how to get it, nor how to build it once obtained.

I never tried, but lpr.exe can be found in
.
Look in apps/apps.zip.

Maybe Michael Brutman wishes to port it to his mTCP suite:
http://www.brutman.com/mTCP/

Cheers,
Robert
-- 
BTTR Software   https://www.bttr-software.de/
DOS ain't dead  https://www.bttr-software.de/forum/


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


[Freedos-user] How to obtain LPR - or is there a way to use IPP?

2022-09-16 Thread Phil Reynolds
Now that I have got my FreeDOS setup working correctly again (a fresh
setup and copying over my old apps sorted it), I am looking into how I
might be able to print from some apps (normally they expect a directly
connected printer supporting either ESC/P2 or PCL). I have not found
anything about IPP being possible from FreeDOS, but if it is, that
would certainly help. However, the other alternative in my case would
be LPR. I have not found a package with LPR yet, and most links I have
found around the web either include anything but a binary or are
broken. I see mention of a source file for it as part of WATTCP but
have no idea how to get it, nor how to build it once obtained.

Of course, there might not be a successful way to get usable output,
but any suggestions would be welcome.

(The printer would be accessible directly or through cups running on
the host Linux system - and there may even be ways to provide any
additional filters required at that level - it is outside the scope of
this question to worry about that.)

-- 
Phil Reynolds
mail: phil-free...@tinsleyviaduct.com
Web: http://phil.tinsleyviaduct.com/



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


Re: [Freedos-user] How to have sound with freedos under virtual box?

2022-09-05 Thread Joao Silva
On 9/5/22, tauro via Freedos-user  wrote:
>
>>> I read somewhere that virtualbox under linux supported Speaker, but no
>>> good, just soundblaster
>>>
>> I also found something that also suggested VirtualBox could emulate
>> the PC Speaker, but I haven't been able to get it to work either.
>
> On Linux hosts you can use the hardware speaker (if you have one).
>
> Example
> VBoxManage setextradata FreeDOS
> "VBoxInternal/Devices/i8254/0/Config/PassthroughSpeaker" 1
>
> Read
> https://www.virtualbox.org/manual/UserManual.html#pcspeaker_passthrough
>
> Tauro
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>

Hello.

I have speaker, been there since my pentium case, don't have floppy
because the doesn't have a connection and the case no place for it.

I'll give it a go.

-- 
João Morais


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


Re: [Freedos-user] How to have sound with freedos under virtual box?

2022-09-04 Thread tauro via Freedos-user




I read somewhere that virtualbox under linux supported Speaker, but no good, 
just soundblaster


I also found something that also suggested VirtualBox could emulate
the PC Speaker, but I haven't been able to get it to work either.


On Linux hosts you can use the hardware speaker (if you have one).

Example
VBoxManage setextradata FreeDOS 
"VBoxInternal/Devices/i8254/0/Config/PassthroughSpeaker" 1


Read
https://www.virtualbox.org/manual/UserManual.html#pcspeaker_passthrough

Tauro


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


Re: [Freedos-user] How to have sound with freedos under virtual box?

2022-09-03 Thread Joao Silva
Hello.

I'll try.

thank you, i'll let you know how it went.


On Sat, Sep 3, 2022 at 7:05 PM Jim Hall  wrote:

> On Sat, Sep 3, 2022 at 12:07 PM Joao Silva  wrote:
> >
> > Hello Jim.
> >
> > I tryed Qemu under Linux, never managed to get it running...
> >
>
> This is the command line I use to run QEMU on Linux:
>
> qemu-system-x86_64 -name FreeDOS -enable-kvm -cpu host -m $memory
> -boot menu=on -hda $hda -cdrom $cdrom -device sb16 -device adlib
> -soundhw pcspk -vga cirrus -display sdl -usbdevice mouse
>
> Replace $hda with a hard disk image, and $cdrom with the FreeDOS
> LiveCD ISO image.
>
> Note "-soundhw pcspk" emulates the PC Speaker.
>
>
> > I read somewhere that virtualbox under linux supported Speaker, but no
> good, just soundblaster
> >
>
> I also found something that also suggested VirtualBox could emulate
> the PC Speaker, but I haven't been able to get it to work either.
>
>
> Jim
>
>
> ___
> 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 to have sound with freedos under virtual box?

2022-09-03 Thread Jim Hall
On Sat, Sep 3, 2022 at 12:07 PM Joao Silva  wrote:
>
> Hello Jim.
>
> I tryed Qemu under Linux, never managed to get it running...
>

This is the command line I use to run QEMU on Linux:

qemu-system-x86_64 -name FreeDOS -enable-kvm -cpu host -m $memory
-boot menu=on -hda $hda -cdrom $cdrom -device sb16 -device adlib
-soundhw pcspk -vga cirrus -display sdl -usbdevice mouse

Replace $hda with a hard disk image, and $cdrom with the FreeDOS
LiveCD ISO image.

Note "-soundhw pcspk" emulates the PC Speaker.


> I read somewhere that virtualbox under linux supported Speaker, but no good, 
> just soundblaster
>

I also found something that also suggested VirtualBox could emulate
the PC Speaker, but I haven't been able to get it to work either.


Jim


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


Re: [Freedos-user] How to have sound with freedos under virtual box?

2022-09-03 Thread Joao Silva
Hello Jim.

I tryed Qemu under Linux, never managed to get it running...

I read somewhere that virtualbox under linux supported Speaker, but no
good, just soundblaster

On Sat, Sep 3, 2022 at 1:36 PM Jim Hall  wrote:

> On Sat, Sep 3, 2022 at 7:03 AM  wrote:
> >
> >
> > I really want to have minimal sound, beeps would be enough for some
> > software.
> >
> > But i tried all settings in virtualbox and get no sound.
> >
> > Is it a correct assumption to configure soundblaster on each (freedos
> > and virtualbox) and you should hear sound?
> > My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working
> > sound.
> >
> > Can you give hints? Perhaps someone solved this problem and can give
> > advice?
> >
>
>
> VirtualBox can emulate a SoundBlaster16, but does not emulate the PC
> Speaker. So you won't hear beeps, since those are produced by the
> internal PC Speaker and not through SoundBlaster. This is a limitation
> with VirtualBox.
>
> I use VirtualBox to boot FreeDOS on my Linux system. But if I need PC
> Speaker output (such as standard DOS "beeps" and other monotones) then
> I have to boot FreeDOS in QEMU, which can emulate the PC Speaker.
>
>
> Jim
>
>
> ___
> 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 to have sound with freedos under virtual box?

2022-09-03 Thread Joao Silva
Hi Wolf.

I think it must be some kind of emulation for MS-DOS/Free DOS games, but
virtualbox will detect your inboard soundcard since we no longer use
external sound cards althoug i have see some from Creative on stores
where in Portugal.

The prodominant is external sound cards...

I don't use much virtualbox for DOS because of the speaker issue, just to
tryout. For DOS gaming i try my luck with dosbox or the variant X because
of the CPU types.

The alternative is to get my 286 to play

On Sat, Sep 3, 2022 at 1:32 PM  wrote:

> Hi Joao.
> The most important is speed for a simulation. Then comes sound in
> priority, but is important also.
> What does mean " support only soundblaster"? I know i can configure it
> under virtualbox, but i have no real soundblaster, thats why i wrote
> what mainboard i have, with its soundchip.Would it be possible to buy a
> Soundblaster, perhaps an "USB soundblaster device" if it exists, and
> then i would have SB sound under freedos SUPPORTED BY virtualbox?
> Any concrete hint would be appreciated.
> Aim is to achieve to have sound in freedos under virtualbox on this host
> (Windows 10 wit the ASUS Z690)
>
> Am 03.09.2022 um 14:12 schrieb Joao Silva:
>  > You don't.
>  > Vbox doesn't have speaker support only soundblaster.
>  > For games use Dosbox or it variants.
>  > //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 to have sound with freedos under virtual box?

2022-09-03 Thread Jim Hall
> Am 03.09.2022 um 14:12 schrieb Joao Silva:
>  > You don't.
>  > Vbox doesn't have speaker support only soundblaster.
>  > For games use Dosbox or it variants.
>  > //lists.sourceforge.net/lists/listinfo/freedos-user

On Sat, Sep 3, 2022 at 7:30 AM  wrote:
>
> Hi Joao.
> The most important is speed for a simulation. Then comes sound in
> priority, but is important also.
> What does mean " support only soundblaster"? I know i can configure it
> under virtualbox, but i have no real soundblaster, thats why i wrote
> what mainboard i have, with its soundchip.Would it be possible to buy a
> Soundblaster, perhaps an "USB soundblaster device" if it exists, and
> then i would have SB sound under freedos SUPPORTED BY virtualbox?
> Any concrete hint would be appreciated.
> Aim is to achieve to have sound in freedos under virtualbox on this host
> (Windows 10 wit the ASUS Z690)

Hi Wolf,

See my other email.

VirtualBox (like any virtualization) provides a layer of abstraction
between the "guest" and the "host." The host is the operating system
where you run VirtualBox, the guest is the operating system you run
inside VirtualBox. In your case, the host is Windows and the guest is
FreeDOS.

VirtualBox has to emulate any hardware presented to the guest. That's
how the guest can "see" a hard drive that only it can use, because
VirtualBox has presented a virtual hard drive for it to use. Same for
the other hardware on the system, including sound devices. If
VirtualBox doesn't emulate some part of the hardware (such as the PC
Speaker) then it's as if that hardware doesn't exist for the guest. It
doesn't matter what the host has, it's all about what VirtualBox
emulates for the guest.

VirtualBox emulates a SoundBlaster16, so you can play games like Doom
(and a bunch of others) that use the SB16 for sound. To over-simplify,
VirtualBox emulates the SoundBlaster16 by "translating" the sound
waves that would have gone to the SB16 and playing them back on the
host's native sound system.

Unfortunately, VirtualBox does not emulate the PC Speaker. To be
clear, the PC Speaker was a special piece of hardware that used to be
included on early PC motherboards. The "PC Speaker" here doesn't mean
the speakers connected to your computer; the "PC Speaker" refers to
the internal speaker that generated beeps and other monotones. Early
games like Commander Keen also used the PC Speaker to generate sounds.

Short version of that is: VirtualBox emulates a SoundBlaster16 but not
the PC Speaker. So you won't hear "DOS system beeps" when booting
FreeDOS or any DOS under VirtualBox. Because VirtualBox doesn't
support it.


Jim


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


Re: [Freedos-user] How to have sound with freedos under virtual box?

2022-09-03 Thread Jim Hall
On Sat, Sep 3, 2022 at 7:03 AM  wrote:
>
>
> I really want to have minimal sound, beeps would be enough for some
> software.
>
> But i tried all settings in virtualbox and get no sound.
>
> Is it a correct assumption to configure soundblaster on each (freedos
> and virtualbox) and you should hear sound?
> My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working
> sound.
>
> Can you give hints? Perhaps someone solved this problem and can give
> advice?
>


VirtualBox can emulate a SoundBlaster16, but does not emulate the PC
Speaker. So you won't hear beeps, since those are produced by the
internal PC Speaker and not through SoundBlaster. This is a limitation
with VirtualBox.

I use VirtualBox to boot FreeDOS on my Linux system. But if I need PC
Speaker output (such as standard DOS "beeps" and other monotones) then
I have to boot FreeDOS in QEMU, which can emulate the PC Speaker.


Jim


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


Re: [Freedos-user] How to have sound with freedos under virtual box?

2022-09-03 Thread wolf

Hi Joao.
The most important is speed for a simulation. Then comes sound in 
priority, but is important also.
What does mean " support only soundblaster"? I know i can configure it 
under virtualbox, but i have no real soundblaster, thats why i wrote 
what mainboard i have, with its soundchip.Would it be possible to buy a 
Soundblaster, perhaps an "USB soundblaster device" if it exists, and 
then i would have SB sound under freedos SUPPORTED BY virtualbox?

Any concrete hint would be appreciated.
Aim is to achieve to have sound in freedos under virtualbox on this host 
(Windows 10 wit the ASUS Z690)


Am 03.09.2022 um 14:12 schrieb Joao Silva:
> You don't.
> Vbox doesn't have speaker support only soundblaster.
> For games use Dosbox or it variants.
> //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 to have sound with freedos under virtual box?

2022-09-03 Thread Joao Silva
You don't.
Vbox doesn't have speaker support only soundblaster.
For games use Dosbox or it variants.

On Sat, Sep 3, 2022 at 1:06 PM  wrote:

>
> I really want to have minimal sound, beeps would be enough for some
> software.
>
> But i tried all settings in virtualbox and get no sound.
>
> Is it a correct assumption to configure soundblaster on each (freedos
> and virtualbox) and you should hear sound?
> My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working
> sound.
>
>
> Can you give hints? Perhaps someone solved this problem and can give
> advice?
>
>
>
> ___
> 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] How to have sound with freedos under virtual box?

2022-09-03 Thread wolf


I really want to have minimal sound, beeps would be enough for some 
software.


But i tried all settings in virtualbox and get no sound.

Is it a correct assumption to configure soundblaster on each (freedos 
and virtualbox) and you should hear sound?
My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working 
sound.



Can you give hints? Perhaps someone solved this problem and can give  
advice?




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


Re: [Freedos-user] how to get dosemu working under ubuntu installed in wsl

2022-03-14 Thread Darrin M. Gorski
>  In this instance, one is.

For you maybe, but clearly not for everyone.

> But honestly, if you want to multitask DOS apps, use an OS designed to
> do that: namely Windows, or in the early 1990s, OS/2 2 or later.

Should I use dosemu? ;)

Seriously though, thanks for the 'advice' but I have it all worked out.

- Darrin

On Mon, Mar 14, 2022 at 6:41 PM Liam Proven  wrote:

> On Mon, 14 Mar 2022 at 21:29, Darrin M. Gorski  wrote:
> >
> > > Same _time_? Ek! That sounds like a recipe for file corruption.
> > > No, not tried and don't want to. But surely that isn't what you meant?
> >
> > Yes, that's exactly what I mean - concurrency.  My DOS use case is a
> multi-node BBS which needs a (safe) shared file system.  (solved with MSNET
> and Samba)
>
> I was replying to Jim, not you.
>
> But honestly, if you want to multitask DOS apps, use an OS designed to
> do that: namely Windows, or in the early 1990s, OS/2 2 or later.
>
> Doing it on an alien OS not designed for it sounds suicidal to me, TBH
> -- to be asking for file/data corruption.
> >
> > I would guess that linux people running DOS probably also virtualize
> other OSes (windows and linux come to mind) - why use multiple tools?
>
> That is precisely my question.
>
> I use different tools for different jobs if there is a particular tool
> that is better for a particular job. In this instance, one is.
>
> --
> Liam Proven ~ Profile: https://about.me/liamproven
> Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
> Twitter/LinkedIn: lproven ~ Skype: liamproven
> UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420)
> 702-829-053
>
>
> ___
> 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


  1   2   3   4   5   >