> I am getting this:

C:\>>fdtest


> The shell is about to be terminated, though, this is
> forbidden (usually by enabling the "/P" option).
> You must reboot the system or, if this shell runs in
> a multitasking environment, terminate this process/task manually.

> when I run this:

> C:\devel\pdos\pdpclib>type fdtest.asm
> .model small

> .stack 1000h

> .code

> top:

> mov ah, 044h
> mov al, 01h
> mov bx, 0
> ;mov dx, 081h
> mov dx, 0h

> int 021h

> mov ah, 04ch
> int 021h


  14    device driver can process IOCTL requests (see AX=4402h"DOS 2+")
  13    output until busy supported
  11    driver supports OPEN/CLOSE calls
   8    ??? (set by MS-DOS 6.2x KEYB)
   7    set (indicates device)
   6    EOF on input
   5    raw (binary) mode
   4    device is special (uses INT 29)
   3    clock device
   2    NUL device
   1    standard output
   0    standard input

basically you are telling the STdiN device 0, that is no longer standard input. 

now FreeCOM which is reading from STDIN gets somehow confused.
congratulations. 

conclusion: don't ever use int 214401 in this fashion.

if anything, use it like

  device information word = get information(handle)
  device information word |= 0x98
  set information(handle,device information word)



> I don't get that problem on a Win 95 command prompt.

yes, this is a bug. work around this bug by using this in a proper way.

Tom



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to