Re: [hatari-devel] GEMDOS (HD) emulation does not intercept Ccon... => Input/output redirection not working

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 06/28/2016 07:37 PM, Christian Zietz wrote:
Eero Tamminen schrieb:

GEMDOS HD emulation can act only if it can replace the whole function,
not just part of it.  So, a thing like Cconrs():
"The GEMDOS routine Cconrs reads a string from the standard input
  stream (GEMDOS handle 0) - normally the keyboard - and echoes it
  to the standard output stream (GEMDOS handle 1) - normally the screen.
"

Has an issue that if oly of the input and output is redirected to file:

Cconrs is the one special case, because for TOS 1.00 and 1.02 it does
input *and* output. From TOS 1.04 onwards, nothing is output by Cconrs
on stdout when stdin is redirected. So, for TOS 1.04 and above all
functions are either exclusively input or output and could thus be
correctly handled by GEMDOS emulation.

I understand that this might be a lot of work with little benefit,
though, because this functions aren't used much. But at least this
missing feature should be documented then.

I added note about this to the Hatari manual GEMDOS HD section.

Before I can add support for them to Hatari GEMDOS HD emulation,
somebody needs to provide test-cases for them.


	- Eero




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/