Re: [Freedos-user] DOSBox I/O issue follow-up

2016-03-23 Thread Jerome E. Shidel Jr.
The workaround is easy, you just read from STDIN as a file with DOS FN 0x3F.

The other is supposed to work and this is a little more code. But, who is 
complaining. :)
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] DOSBox I/O issue follow-up

2016-03-23 Thread Jerome E. Shidel Jr.
Sorry, minor correction on results.

> On Mar 22, 2016, at 9:06 PM, Jerome Shidel  wrote:
> 
> Hello Eric (and anyone else who is interested),
> 
> Here is a little proof-of-concept demonstration of the issue regarding I/O 
> redirection in DOSBox.
> 
> ; begin example code
> 
> ; NASM 2.11.08 for DOS
> ; Jerome Shidel, Public Domain.
> 
> use16
> 
> cpu 8086
> 
> org 0x100
> 
> StdPassThru:
> mov ah, 0x0b; DOS Check Standard Input Status
> int 0x21
> cmp al, 0x00; 0x00 = no character available, 0xff = present.
> je  NoInput
> mov ah, 0x08; DOS Get character from STDIN, no echo. AL = 
> Character
> int 0x21
> mov ah, 0x02; DOS Write DL character to STDOUT.
> mov dl, al
> int 0x21
> jmp StdPassThru
> 
> NoInput:
> mov ax, 0x4c00  ; DOS Terminate, no error code
> int 0x21
> 
> ; end example code
> 
> Compile with nasm PASSTHRU.ASM -fbin -o PASSTHRU.COM 
> 
> Run in default DOSBox:
> 
>   type passthru.asm | passthru.com 
>   Result garbage line of text.

Text goes immediately to STDOUT and does not go through PASSTHRU.COM 
.
(Sorry, I was running type passthru.com | passthru.com)

> 
> Run under FreeCOM shell inside DOSBox
> 
>   C:\FDOS\BIN\command.com 
>   type passthru.asm | passthru.com 
>   
>   result: .Text scrolls by, then infinite number of blank characters and 
> occasional 
>   control characters.
> 
> Run on real (or virtual machine of) FreeDOS, MS-DOS, PC-DOS….
> 
>   text of PASSTHRU.ASM is output and program terminates.

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] dosbox

2015-01-31 Thread dmccunney
On Sat, Jan 31, 2015 at 4:54 AM, Thomas Mueller mueller6...@twc.com wrote:
 from dmccunney and Ralf Quint:

  You may want to look at vDOS instead.  vDOS is a fork of DOSBox,
  specifically intended to run character mode DOS business apps on
  Windows.  See https://sourceforge.net/projects/vdos/

 +1 vDOS is a much better choice than DOSBox if you do not intend to run
 games. Even parallel and serial port might work, which usually is a
 no-go in DOSBox

 +1 and -1: vDOS is only for Windows, DOSBox can be built and run on Linux and 
 the BSDs.

 I've done that in FreeBSD, NetBSD and Linux; main DOS application of interest 
 was Borland Quattro Pro 5 for DOS.

I have DOSBox up under Linux.  For that matter, there are several
ports to Android.  I got a couple of old DOS character mode games
running on my Android tablet (DOS versions of Unix Larn and VMS
Empire), but haven't been able to get the main object of interest
(Eric Meyer's VDE  WordStar style editor) going because Ctrl-key
combos aren't being passed through.  It's apparently doable if you
diddle keymap.conf correctly, but that's non-trivial to do that under
Android.

I dual boot Win7 and Ubuntu 14.04 here, so the Windows only nature of
vDOS isn't an issue.  And it provides handy methods for dealing with
serial and parallel ports - you can configure the virtual port to be a
program.  In VMS Empire, for instance, the game map that would
normally go to a printer actually comes up in my text editor.

The biggest issue is that stock vDOS *only* supports DOS 8+3 file
names.  (The author apparently feels that if it wasn't in real DOS, he
won't add it to vDOS.)  Fortunately, a third-party mod adds LFN
support, so it's much more usable in a Windows host file system.

 Tom
__
Dennis
https://plus.google.com/u/0/105128793974319004519

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] dosbox

2015-01-31 Thread Thomas Mueller
from dmccunney and Ralf Quint:

  You may want to look at vDOS instead.  vDOS is a fork of DOSBox,
  specifically intended to run character mode DOS business apps on
  Windows.  See https://sourceforge.net/projects/vdos/
 +1 vDOS is a much better choice than DOSBox if you do not intend to run
 games. Even parallel and serial port might work, which usually is a
 no-go in DOSBox

+1 and -1: vDOS is only for Windows, DOSBox can be built and run on Linux and 
the BSDs.

I've done that in FreeBSD, NetBSD and Linux; main DOS application of interest 
was Borland Quattro Pro 5 for DOS.

Tom


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] dosbox

2015-01-30 Thread dmccunney
On Fri, Jan 30, 2015 at 10:13 AM, Rinaldo Guelpa guelpa...@telkomsa.net wrote:
 Hello Friends,
 I wish to use the dosbox in an 2.5 gig computer to run some text based
 programs I am not into games.

Which programs?

 Can someone help me please help. I wish to use the windows screanreader if
 possible.

You may want to look at vDOS instead.  vDOS is a fork of DOSBox,
specifically intended to run character mode DOS business apps on
Windows.  See https://sourceforge.net/projects/vdos/

I have no idea whether it works with Windows screenreader, but it seems likely.

 Rinaldo
 guelpa...@telkomsa.net
__
Dennis
https://plus.google.com/u/0/105128793974319004519

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] dosbox

2015-01-30 Thread Ralf Quint
On 1/30/2015 7:43 AM, dmccunney wrote:
 On Fri, Jan 30, 2015 at 10:13 AM, Rinaldo Guelpa guelpa...@telkomsa.net 
 wrote:
 Hello Friends,
 I wish to use the dosbox in an 2.5 gig computer to run some text based
 programs I am not into games.
 Which programs?

 Can someone help me please help. I wish to use the windows screanreader if
 possible.
 You may want to look at vDOS instead.  vDOS is a fork of DOSBox,
 specifically intended to run character mode DOS business apps on
 Windows.  See https://sourceforge.net/projects/vdos/
+1 vDOS is a much better choice than DOSBox if you do not intend to run 
games. Even parallel and serial port might work, which usually is a 
no-go in DOSBox

 I have no idea whether it works with Windows screenreader, but it seems 
 likely.

Same here, still have my vision and the last time I dealt with a 
screenreader for a client, that was still in DOS (and more recently, 
someone using text mode only Linux)

Ralf

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] dosbox

2015-01-28 Thread Guillem
Hello,
DOSbox is known for not working well with screenreaders. I have tried two of 
them (Habla and ASAP) with a real hardware Braille ’n Speak 2000 as a 
synthesizer, and both work only in review mode and make the DOS computer emit a 
constant buzz from the virtual PC speaker. I recommend using a VMWare virtual 
machine or something similar. I have tried running a Windows 3.1 VM and that 
works fine, and i’m planning to try FreeDOS in the near future.



 On 28 Jan 2015, at 11:54, Rinaldo Guelpa guelpa...@telkomsa.net wrote:
 
 Hello,
 Hope some ofblind users can help. I installed dosbox on my xp computer but it 
 does not speak unless Igo into review, please help.
  
 Rinaldo
 guelpa...@telkomsa.net 
 mailto:guelpa...@telkomsa.net--
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. 
 http://goparallel.sourceforge.net/___
  
 http://goparallel.sourceforge.net/___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net mailto:Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user 
 https://lists.sourceforge.net/lists/listinfo/freedos-user

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] DOSbox vs Freedos

2007-04-17 Thread Giorgos


 I'm a bit confused.
 I use DOSbox but i have timing issues in MIDI.

 Was thinking of using DOS 6.22, but then saw FreeDos.
 What reasons might I chose one over the other?

 Does FreeDos work under XP or needs to be booted separately?

 My music app needs an mup401 or a serial port, so that's an issue.



Hi Dennis! :-)

Since Eric already kindly answered, nothing more than a reminder here:

Since you're already experienced with DOSBox, take a look at its pages ( 
http://dosbox.sourceforge.net/news.php?show_news=1 , 
http://sourceforge.net/projects/dosbox ), as well at Wikipedia reference ( 
http://en.wikipedia.org/wiki/DOSBox ), for help.

If you cant find there, what you want, search at its forum and if you still 
can't find an answer, please write a post at its forum. You can find it 
there: http://vogons.zetafleet.com/index.php?c=7 (ignore the other forums on 
this page).
---

I'm sugesting also (since you're running XP), to take a look on VDMS 
(although its actually the DOSBox predecesor (as you can see at DOSBox 
thanks page), it has a totally different approach (more suitable for older 
systems, for sound emulating).
You can find its pages there:
home page: http://sourceforge.net/projects/vdmsound/
dl page (v2.0.4): 
http://sourceforge.net/project/showfiles.php?group_id=20091
forum page: http://sourceforge.net/forum/forum.php?forum_id=63541 (you'll 
need a (free) SF.NET account, if you don't already have one).

VDMS stands for (NT)VDM Sound.
What is NTVDM? Please look there: http://en.wikipedia.org/wiki/NTVDM .
---

If both fail, you'll need a more complete (entire FreeDOS emulation) 
solution (like the (both free) VMWARE server or MS VPC 2007 and other. 
Please look at Eric's post), so please post again.
Anyway, please post again, if you'll need anything.

Good Luck!
Giorgos. :-)



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] DOSbox vs Freedos

2007-04-17 Thread dennis barton



At 4/16/2007 06:44 p, you wrote:

Hi Dennis,

Dosbox normally uses a built-in simulation of DOS,
not a real separate DOS. For sound in DOS boxes,
I think there was something called NTVDM. If you
have Linux, you should use Dosemu, which is a
virtual PC specialized for running DOS fast. You
can boot a real DOS in recent Dosbox versions,

very much appreciated.

doesn't quite sound like freedos would work for me, though maybe if i can 
find a laptop with a serial port, it would?


   |_e_/~  Dennis Barton [EMAIL PROTECTED]
 ) skylab2000
   ~\/\Brainforest Productions, Los Angeles
  /http://skylab2000.com



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] DOSbox vs Freedos

2007-04-16 Thread Eric Auer

Hi Dennis,

Dosbox normally uses a built-in simulation of DOS,
not a real separate DOS. For sound in DOS boxes,
I think there was something called NTVDM. If you
have Linux, you should use Dosemu, which is a
virtual PC specialized for running DOS fast. You
can boot a real DOS in recent Dosbox versions,
but that does not affect how well it does sound.

 Was thinking of using DOS 6.22, but then saw FreeDos.
 What reasons might I chose one over the other?

FreeDOS is free and can use more modern hardware.
For example MS DOS only can use the first 8 GB of
your harddisk and cannot use FAT32 partitions...
On the other hand, MS DOS has better compatibility
with 32bit modes of the Windows 3 family (note that
WfW 3.11 is relatively useless in 16bit mode). You
can also try DR DOS or spin off variants, which have
reasonable licensing even though not fully free.

Talking about other free software, some people say
that MS QBASIC is free - but you can also try the
FreeBasic.net FREE alternative. FreeDOS itself has
many of the tools you know from MS DOS, but it does
not include QBASIC, DBLSPACE, DOSSHELL, BACKUP/RESTORE,
INTERLNK, maybe others. For some other tools, there are
non-MS-style alternatives included. For example DOSFSCK
is somehow similar to SCANDISK (interactive filesystem
check and repair) but has a different user interface;
While SCANDISK can create undo-disks, DOSFSCK has a
mode to simulate the changes without actually writing.

 Does FreeDos work under XP or needs to be booted separately?

You can use the tools / apps of FreeDOS in XP, but of
course with some limitations. For example XP will not
let DOS tools FORMAT harddisks. And you cannot boot
the kernel of FreeDOS in XP itself, only in an emulator
like Bochs, Qemu, VMware, VirtualPC, Dosbox, etc. So
without our kernel, most of your DOS compatibility in
the DOS window of XP simply depends on how much DOS
compatibility XP gives your DOS window.

 My music app needs an mup401 or a serial port, so that's an issue.

Only hardware can solve this if you boot DOS separately.
If you run DOS in some sort of window, the sound will
depend on the virtual hardware of that window, and will
still be independend of your DOS version. One exception
is that SBLive / SBPCI come with DOS drivers (which only
work when you boot DOS separately afair?) which create a
sort of emulator with virtual SoundBlaster16 hardware while
DOS keeps using your real hardware for everything else.

Eric


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user