qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Access to serial port,  guest> DOS | host >WinXP
@ 2007-11-14  9:49 Dieter Blaas
  2007-11-14 18:04 ` admin
  0 siblings, 1 reply; 4+ messages in thread
From: Dieter Blaas @ 2007-11-14  9:49 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 1186 bytes --]

Hi,

 I have a sensor that sends frequency modulated data to the 
serial port. These data are processed by an old  program 
running under DOS. This works well up to Win98 (starting the 
software from command line) but from Win2k on it does not 
work any more. 

So far I have tried VMware, VirtualPC, and DOSBox. All 
emulate the serial port but the data read in are unreliable or 
simply wrong most probably due to timing problems at the com 
port (I am far from being an expert).

 I now tried QUEMU (host: WinXP, guest: DOS). But I even do 
not receive any data. Does anybody know a solution? If I were 
able to at least accessing the serial port I could find out 
whether the data are read in correctly. Or is there no chance 
that this setup will ever work?

Thanks for hints, Dieter
------------------------------------------------------------------------
Dieter Blaas,
Max F. Perutz Laboratories
Medical University of Vienna, 
Inst. Med. Biochem., Vienna Biocenter (VBC), 
Dr. Bohr Gasse 9/3, 
A-1030 Vienna, Austria, 
Tel: 0043 1 4277 61630, 
Fax: 0043 1 4277 9616, 
e-mail: dieter.blaas@meduniwien.ac.at
------------------------------------------------------------------------

[-- Attachment #2: Mail message body --]
[-- Type: text/html, Size: 3533 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Access to serial port,  guest> DOS | host >WinXP
  2007-11-14  9:49 [Qemu-devel] Access to serial port, guest> DOS | host >WinXP Dieter Blaas
@ 2007-11-14 18:04 ` admin
  2007-11-15  6:57   ` Dieter Blaas
  0 siblings, 1 reply; 4+ messages in thread
From: admin @ 2007-11-14 18:04 UTC (permalink / raw)
  To: dieter.blaas, qemu-devel

[-- Attachment #1: Type: text/html, Size: 4627 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Access to serial port,  guest> DOS | host >WinXP
@ 2007-11-14 18:58 penna
  0 siblings, 0 replies; 4+ messages in thread
From: penna @ 2007-11-14 18:58 UTC (permalink / raw)
  To: Dieter Blaas, qemu-devel

Hi,

> So far I have tried VMware, VirtualPC, and DOSBox. All 
> emulate the serial port but the data read in are unreliable or 
> simply wrong most probably due to timing problems at the com 
> port (I am far from being an expert).
> ...
> I now tried QUEMU (host: WinXP, guest: DOS). But I even do 
> not receive any data. Does anybody know a solution?

Have you tried Wine? Maybe it works for you even the application is a DOS 
one.

Regards.
---------------------------------------------------------
Ulisses de Sousa Penna
Analista Consultor - Banco do Brasil
Fone: +55-61-3310-6320
---------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Access to serial port,  guest> DOS | host >WinXP
  2007-11-14 18:04 ` admin
@ 2007-11-15  6:57   ` Dieter Blaas
  0 siblings, 0 replies; 4+ messages in thread
From: Dieter Blaas @ 2007-11-15  6:57 UTC (permalink / raw)
  To: dieter.blaas, qemu-devel, admin@mmri.us

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 2915 bytes --]

Thanks a lot for these hints! I'll try as soon as I get linux up and running. 
Badly enough I do not have much experience with this OS.
regards, Dieter

--------------------------------------------------
On 14 Nov 2007 at 13:04, admin@mmri.us wrote:

Date sent:	Wed, 14 Nov 2007 13:04:10 -0500
From:	"admin@mmri.us" <admin@mmri.us>
To:	dieter.blaas@meduniwien.ac.at, qemu-
devel@nongnu.org
Subject:	Re: [Qemu-devel] Access to serial port,  
guest> DOS | host >WinXP

Dieter, believe it or not, but I had very good results with dos programs 
accessing serial ports with Wine (Way better than $VMWARE).
If you get Runtime error 200 it is a C run-time error that can be fixed, which 
was all I had to do.
I used SuSE-8 at the time. I personally dont really like wine, but it does the 
job with some Dos programs better than the expense of Vmware.
I still run some very tricky dos programs that way. Doing it all on Qemu 
would be WAY nicer.
I am currently also looking at Qemu for better port access in general or to 
develop myself what is lacking to access ports.
If you want to try the wine option let me know and I can walk you through it.
You can contact me off-list at my email-address.





Dieter Blaas wrote: 
    Hi, 

    I have a sensor that sends frequency modulated data to 
    the serial port. These data are processed by an old 
    program running under DOS. This works well up to Win98 
    (starting the software from command line) but from Win2k 
    on it does not work any more. 

    So far I have tried VMware, VirtualPC, and DOSBox. All 
    emulate the serial port but the data read in are unreliable 
    or simply wrong most probably due to timing problems at 
    the com port (I am far from being an expert). 

    I now tried QUEMU (host: WinXP, guest: DOS). But I 
    even do not receive any data. Does anybody know a 
    solution? If I were able to at least accessing the serial port 
    I could find out whether the data are read in correctly. Or 
    is there no chance that this setup will ever work? 

    Thanks for hints, Dieter 
    ------------------------------------------------------------------------ 
    Dieter Blaas, 
    Max F. Perutz Laboratories 
    Medical University of Vienna, 
    Inst. Med. Biochem., Vienna Biocenter (VBC), 
    Dr. Bohr Gasse 9/3, 
    A-1030 Vienna, Austria, 
    Tel: 0043 1 4277 61630, 
    Fax: 0043 1 4277 9616, 
    e-mail: dieter.blaas@meduniwien.ac.at 
    ------------------------------------------------------------------------ 


------------------------------------------------------------------------
Dieter Blaas,
Max F. Perutz Laboratories
Medical University of Vienna, 
Inst. Med. Biochem., Vienna Biocenter (VBC), 
Dr. Bohr Gasse 9/3, 
A-1030 Vienna, Austria, 
Tel: 0043 1 4277 61630, 
Fax: 0043 1 4277 9616, 
e-mail: dieter.blaas@meduniwien.ac.at
------------------------------------------------------------------------

[-- Attachment #2: Mail message body --]
[-- Type: text/html, Size: 11339 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-15  6:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14  9:49 [Qemu-devel] Access to serial port, guest> DOS | host >WinXP Dieter Blaas
2007-11-14 18:04 ` admin
2007-11-15  6:57   ` Dieter Blaas
  -- strict thread matches above, loose matches on Subject: below --
2007-11-14 18:58 penna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).