public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Maurilio Longo <maurilio.longo@libero.it>
To: linux-msdos@vger.kernel.org
Subject: Re: dosemu 1.1.x and 1.1.4.13 bug (?) on CPUs faster than 2.0GHz
Date: Thu, 13 Mar 2003 18:06:33 +0100	[thread overview]
Message-ID: <3E70BA98.4765A80F@libero.it> (raw)
In-Reply-To: 3E70B85E.276A4BC@libero.it

That is,

int14 is working ok, but serial emulation is not (telepathy does a direct serial access and does
not depend on int14 service).

regards

Maurilio Longo ha scritto:

> No, I use an old MS-DOS 5.x, now, even with latest patch from Bart, I can print to my serial
> printer with a
>
> dir > com1:
>
> but not from my clipper (protect mode, telepathy as comx: access library) app...
>
> To be more precise I can print very short strings, that is
>
> tp_open(1...)  // open com port 1
> tp_send(1, "hi there")  // send string
> tp_close(1)
>
> works, but if there are more tp_send() one after the other I get no output!?!!
>
> 1.1.1.x was working nicely
>
> :(
>
> regards.
>
> Maurilio.
>
> Regards.
>
> Norman Schmidt Jr ha scritto:
>
> > Maurilio, were you using freedos with dosemu before you switched to
> > 1.1.4.13 and your clipper apps were printing? In freedos? I never could
> > put clipper printing (neither serial nor parallel) to work with
> > freedos+dosemu, but I started to use dosemu with 1.1.4, and never tried
> > any previous versions. Did the old versions of dosemu print from clipper
> > apps using freedos? The only way I could put clipper apps to print using
> > dosemu was using ms-dos or dr-dos...
> > Norman
> >
> > Maurilio Longo escreveu:
> >
> > >Ok, with this patch it works ok :)
> > >
> > >So I've switched to 1.1.4.13, but now my clipper program is not able to print to a serial
> > >printer anymore :( even if a
> > >
> > >dir > com1:
> > >
> > >from dos prompt works ok, but my program uses a third party library to communicate with
> > >serial devices
> > >
> > >I fear it has to do with latest changes to serial code... I'll try to dig a little more,
> > >but I'm not familiar with dosemu code and linux programming in general...
> > >
> > >regards.
> > >
> > >
> > >
> > >Bart Oldeman ha scritto:
> > >
> > >
> > >
> > >>On Wed, 12 Mar 2003, Maurilio Longo wrote:
> > >>
> > >>
> > >>
> > >>>I fear that cpu speed is inside a long int and this shoud explain why it happens, I'd
> > >>>
> > >>>like to know from someone who writes dosemu if this is true and how they plan to fix
> > >>>this.
> > >>>
> > >>>
> > >>it's a multiplication that overflows from an int -- try this patch:
> > >>
> > >>--- dosemu-1.1.4.13/src/base/init/config.c      Sat Feb 15 14:49:31 2003
> > >>+++ dosemu-1.1.4.14/src/base/init/config.c      Wed Mar 12 14:38:28 2003
> > >>@@ -484,7 +484,7 @@
> > >>                cdd[6]=0; sscanf(cdd,"%d",&df);
> > >>                /* speed division factor to get 1us from CPU clocks - for
> > >>                 * details on fast division see timers.h */
> > >>-               chz = (di * 1000000) + df;
> > >>+               chz = (di * 1000000LL) + df;
> > >>
> > >>                /* speed division factor to get 1us from CPU clock */
> > >>                config.cpu_spd = (LLF_US*1000000)/chz;
> > >>
> > >>
> > >
> > >--
> > > __________
> > >|  |  | |__| md2520@mclink.it
> > >|_|_|_|____| Team OS/2 Italia
> > >
> > >
> > >-
> > >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> > >the body of a message to majordomo@vger.kernel.org
> > >More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > >
> > >
> > >
> > >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
>  __________
> |  |  | |__| md2520@mclink.it
> |_|_|_|____| Team OS/2 Italia
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
 __________
|  |  | |__| md2520@mclink.it
|_|_|_|____| Team OS/2 Italia



  reply	other threads:[~2003-03-13 17:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-11 18:05 dosemu 1.1.x and 1.1.4.13 bug (?) on CPUs faster than 2.0GHz Maurilio Longo
2003-03-12 13:45 ` Maurilio Longo
2003-03-12 17:03   ` Ryan Underwood
2003-03-12 17:35     ` Maurilio Longo
2003-03-12 19:39       ` Bart Oldeman
2003-03-13 11:21         ` Maurilio Longo
2003-03-13 15:21           ` Norman Schmidt Jr
2003-03-13 16:57             ` Maurilio Longo
2003-03-13 17:06               ` Maurilio Longo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-12 20:40 Stas Sergeev
2003-03-12 22:13 ` Bart Oldeman
2003-03-13 17:54 Stas Sergeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E70BA98.4765A80F@libero.it \
    --to=maurilio.longo@libero.it \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox