Re: [Freedos-user] Speaking of (tiny) DOS gaming PCs

2021-11-28 Thread Mateusz Viste



On 28 November 2021 21:31:34 CET, dmccunney  wrote:
>This also looks like it will be useful to Old Skool folks who want to
>boot DOS and run it directly on the bare metal, instead of in an
>emulator or VM.

In this context, I am very much impressed by the micro 8088, a minimalist 
homebrew PC XT clone by Sergey Kiselev:
https://github.com/skiselev/micro_8088

It uses a true 8088 CPU and not a SOC like the Vortex. Sadly, I couldn't find 
any place where I could buy one, it is rather targeted to people wanting to 
assemble it themselves.

Mateusz


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


Re: [Freedos-user] Speaking of (tiny) DOS gaming PCs

2021-11-28 Thread dmccunney
On Sun, Nov 28, 2021 at 12:02 PM Ivan Ivanov  wrote:
>
> Dennis, thank you for sharing. First of all, if you'd like to get a
> Vortex86 CPU-based PC, better to get those which are supported by the
> opensource coreboot BIOS, instead of the proprietary closed-source
> BIOS.

Thank you, and noted.  I'm not personally interested.  I'n not a DOS
(or any other kind of)  gamer.  I want to run some DOS applications,
and my needs are met by emulation.

What fascinated me here was a tiny computer with built in hardware
support for DOS video modes, and especially for Soundblaster
compatible audio.  How do I get *sound* in my DOS games is a regular
question when using an emulator.

This also looks like it will be useful to Old Skool folks who want to
boot DOS and run it directly on the bare metal, instead of in an
emulator or VM.

I suspect others here might reach out to you for more information, and
thanks for being ehre to provide it.
__
Dennis


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


Re: [Freedos-user] How to redirect STDOUT and STDERR to file

2021-11-28 Thread Jerome Shidel
If all you want is a list of files and directories in a directory…

veach /a+ /d *.* /l >out.txt

VEACH is part of V8Power Tools that comes with FreeDOS. However, there have 
been important updates to V8Power Tools since the 1.3-RC4 release. I recommend 
updating the version you have to the latest one available at 
https://fd.lod.bz/repos/current/pkg-html/v8power.html 
 or just waiting for 
FreeDOS 1.3-RC5 to be released very soon. 

Since a list of files is not very useful by itself, you can have veach perform 
commands on them. For example, if you want just executable files (and no 
directories) and to perform some kind of action, you could use:

veach /a- /d *.com /d *.exe /d *.bat /s /x SOMETHIN.BAT * 

That would provide a sorted list of COM, EXE and BAT files and run SOMETHIN.BAT 
with each one.

Kinda like

SOMETHIN.BAT PROG1.EXE
SOMETHIN.BAT PROG2.COM
SOMETHIN.BAT PROG3.BAT
SOMETHIN.BAT PROG3.EXE
etc.

Or...

You can use an alternate directory listing program. Like my ancient D.EXE ( 
https://github.com/shidel/DustyTP7/blob/master/bin/D.EXE 
 ). It has several 
view options including meant for output to file.

:-)

Jerome

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


Re: [Freedos-user] How to redirect STDOUT and STDERR to file

2021-11-28 Thread dmccunney
On Sun, Nov 28, 2021 at 7:54 AM saito yutaka  wrote:
>
> How to redirect STDOUT and STDERR to file.
> I want to redirect to file as follow.

This is not doable directly in COMMAND.COM or FreeCon from FreeDOS.

By default,file descriptor 1 is STDIN, file descriptor 2 is STDOUT,
and file descriptor 3 is STDERR.  All are assigned to display on the
console. DOS does not let you treat STDOUT and STDERR separately.  You
can redirect STDOUT, but not STDERR,

If you use 4DOS instead, it *will* let you do this. Do it like this;

 >&> error.txt

The ">&>" is the magic command line sequence, and what follows it is
the filename you want STDERR to be redirected to.

> Saito Yutaka
__
Dennis


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


Re: [Freedos-user] How to redirect STDOUT and STDERR to file

2021-11-28 Thread Jim Hall
On Sun, Nov 28, 2021 at 6:53 AM saito yutaka  wrote:
>
> Hello.
>
> How to redirect STDOUT and STDERR to file.
> I want to redirect to file as follow.
>
[..]

Normally I'd recommend the INVOKE program from the "Dostools" collection:
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/user/dosutils/

In that case, INVOKE /R will redirect stderr to stdout. Calling MOVE
with an invalid filename will generate an error message to stderr, but
you can redirect that to stdout like this:

INVOKE /R move aaa a > OUT.TXT

And nothing gets printed to the user, but OUT.TXT now has the error
message from MOVE.

However, DIR is an internal command, so INVOKE will not work there.


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


Re: [Freedos-user] Speaking of (tiny) DOS gaming PCs

2021-11-28 Thread Ivan Ivanov
Dennis, thank you for sharing. First of all, if you'd like to get a
Vortex86 CPU-based PC, better to get those which are supported by the
opensource coreboot BIOS, instead of the proprietary closed-source
BIOS. This way, with the help of coreboot's SeaBIOS payload, you'll be
able to - using a simple "cbfstool" command - add a floppy image of
FreeDOS / whatever other floppy OS - to the coreboot.rom BIOS image,
flash it into a BIOS chip, and have a FreeDOS permanently available as
a boot entry! (being able to run it directly from a BIOS chip). If
you're interested, ask questions & I could reply with more info :-)

сб, 27 нояб. 2021 г. в 18:37, dmccunney :
>
> https://www.pcbway.com/project/shareproject/weeCee___Tiny_DOS_Gaming_PC.html
>
> https://www.youtube.com/watch?v=USHvvSbYmJA
> --
> __
> Dennis
>
>
> ___
> 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 redirect STDOUT and STDERR to file

2021-11-28 Thread saito yutaka
Hello.

How to redirect STDOUT and STDERR to file.
I want to redirect to file as follow.

---
c:\>dir aaa > out.txt
c:\> type out.txt
 Volume in drive C is FREEDOS2021
 Volume Serial Number is 3668-1A1E
File not found.
---

But it works as follow.
It couldn't redirect "File not found" string.

---
c:\>dir aaa > out.txt
File not found.
c:\> type out.txt
 Volume in drive C is FREEDOS2021
 Volume Serial Number is 3668-1A1E
---


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