* High Temperature with DOSEMU
@ 2007-11-22 21:36 Hayen Iggena
2007-11-22 23:26 ` Alain M.
2007-11-23 9:13 ` Klemens Lichter (via GMX)
0 siblings, 2 replies; 10+ messages in thread
From: Hayen Iggena @ 2007-11-22 21:36 UTC (permalink / raw)
To: linux-msdos
Hallo!
I´m using a very old DOS Programm in my office which I´ve written in
Nantucket-Clipper 20 years ago . In former times it run well in a Dos
Window on OS/2. But now I get a new computer with Suse Linux 10.3. The
programm runs good in DOSEMU but "top" tells me it consume nearly 99.9%
CPU. And afte a short time the temperature alarm of my computer is ringing.
I tried to change HogThreshold but even with "1" I´ve a system load of
more than 98%. Same if i use "Speed" in Dosemu.
How can I fix this?
Hayen
-
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: High Temperature with DOSEMU
2007-11-22 21:36 High Temperature with DOSEMU Hayen Iggena
@ 2007-11-22 23:26 ` Alain M.
2007-11-23 4:17 ` Jonathan Goldblatt
2007-11-23 9:13 ` Klemens Lichter (via GMX)
1 sibling, 1 reply; 10+ messages in thread
From: Alain M. @ 2007-11-22 23:26 UTC (permalink / raw)
To: dosEmu-list
Hi,
there is no easy fix. The problem basicaly is that Clipper does not call
dos to wait for user input, it keeps running in a loop. The result is
that even if HogThreshold is 1, all unused cpu goes back to dosemu.
There is (somewhere, I don't know) a small lib for clipper that changes
that behaviour. As you said that you wrote the program, you can re-link
it with that.
In the mean time, all you can do is buy a better cooler, that excess
heating may happen for other reasons too ;-)
Win98 had a workaround for that, but even XP doesn't. Neither does doesmu...
Alain
Hayen Iggena escreveu:
> Hallo!
>
> I´m using a very old DOS Programm in my office which I´ve written in
> Nantucket-Clipper 20 years ago . In former times it run well in a Dos
> Window on OS/2. But now I get a new computer with Suse Linux 10.3. The
> programm runs good in DOSEMU but "top" tells me it consume nearly 99.9%
> CPU. And afte a short time the temperature alarm of my computer is ringing.
> I tried to change HogThreshold but even with "1" I´ve a system load of
> more than 98%. Same if i use "Speed" in Dosemu.
>
> How can I fix this?
>
> Hayen
> -
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: High Temperature with DOSEMU
2007-11-22 23:26 ` Alain M.
@ 2007-11-23 4:17 ` Jonathan Goldblatt
2007-11-23 7:54 ` Hayen Iggena
0 siblings, 1 reply; 10+ messages in thread
From: Jonathan Goldblatt @ 2007-11-23 4:17 UTC (permalink / raw)
To: Alain M.; +Cc: dosEmu-list
>>>>> "Alain" == Alain M <alainm@pobox.com> writes:
Alain> Hi, there is no easy fix. The problem basicaly is that
Alain> Clipper does not call dos to wait for user input, it
Alain> keeps running in a loop. The result is that even if
Alain> HogThreshold is 1, all unused cpu goes back to dosemu.
Alain> There is (somewhere, I don't know) a small lib for
Alain> clipper that changes that behaviour. As you said that
Alain> you wrote the program, you can re-link it with that.
Alain> In the mean time, all you can do is buy a better
Alain> cooler, that excess heating may happen for other
Alain> reasons too ;-)
There's also a little DOS TSR tame www.tamedos.com which monitors
a DOS program in different ways and notifies the underlying OS in
different ways.
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: High Temperature with DOSEMU
2007-11-23 4:17 ` Jonathan Goldblatt
@ 2007-11-23 7:54 ` Hayen Iggena
2007-11-23 8:04 ` Frank Cox
0 siblings, 1 reply; 10+ messages in thread
From: Hayen Iggena @ 2007-11-23 7:54 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 999 bytes --]
Jonathan Goldblatt schrieb:
>>>>>> "Alain" == Alain M <alainm@pobox.com> writes:
>>>>>>
>
> Alain> Hi, there is no easy fix. The problem basicaly is that
> Alain> Clipper does not call dos to wait for user input, it
> Alain> keeps running in a loop. The result is that even if
> Alain> HogThreshold is 1, all unused cpu goes back to dosemu.
>
> Alain> There is (somewhere, I don't know) a small lib for
> Alain> clipper that changes that behaviour. As you said that
> Alain> you wrote the program, you can re-link it with that.
>
> Alain> In the mean time, all you can do is buy a better
> Alain> cooler, that excess heating may happen for other
> Alain> reasons too ;-)
>
> There's also a little DOS TSR tame www.tamedos.com which monitors
> a DOS program in different ways and notifies the underlying OS in
> different ways.
>
>
I can get tame only for Windows. I'm using Linux.
Does anyone know where I can get the special Clipper lib?
[-- Attachment #2: praxis.vcf --]
[-- Type: text/x-vcard, Size: 142 bytes --]
begin:vcard
fn:Hayen Iggena
n:Iggena;Hayen
adr:;;Westerstr. 8;Esens;;26427;Deutschland
email;internet:praxis@iggena.de
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: High Temperature with DOSEMU
2007-11-22 21:36 High Temperature with DOSEMU Hayen Iggena
2007-11-22 23:26 ` Alain M.
@ 2007-11-23 9:13 ` Klemens Lichter (via GMX)
2007-11-23 10:05 ` Hayen Iggena
1 sibling, 1 reply; 10+ messages in thread
From: Klemens Lichter (via GMX) @ 2007-11-23 9:13 UTC (permalink / raw)
To: linux-msdos
Hi Hayen,
please follow this link:
http://www.engwall.com/clipper/nfpat1a.htm
Here you find a little function to include into your clipper program and the
problem is gone. I use it with great success since many years.
HTH
Klemens
----- Original Message -----
From: "Hayen Iggena" <praxis@keok.org>
To: <linux-msdos@vger.kernel.org>
Sent: Thursday, November 22, 2007 10:36 PM
Subject: High Temperature with DOSEMU
> Hallo!
>
> I´m using a very old DOS Programm in my office which I´ve written in
> Nantucket-Clipper 20 years ago . In former times it run well in a Dos
> Window on OS/2. But now I get a new computer with Suse Linux 10.3. The
> programm runs good in DOSEMU but "top" tells me it consume nearly 99.9%
> CPU. And afte a short time the temperature alarm of my computer is
ringing.
> I tried to change HogThreshold but even with "1" I´ve a system load of
> more than 98%. Same if i use "Speed" in Dosemu.
>
> How can I fix this?
>
> Hayen
> -
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: High Temperature with DOSEMU
2007-11-23 9:13 ` Klemens Lichter (via GMX)
@ 2007-11-23 10:05 ` Hayen Iggena
2007-11-23 10:18 ` Klemens Lichter (via GMX)
0 siblings, 1 reply; 10+ messages in thread
From: Hayen Iggena @ 2007-11-23 10:05 UTC (permalink / raw)
To: Klemens Lichter (via GMX), linux-msdos
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
Klemens Lichter (via GMX) schrieb:
> Hi Hayen,
>
> please follow this link:
>
> http://www.engwall.com/clipper/nfpat1a.htm
>
> Here you find a little function to include into your clipper program and the
> problem is gone. I use it with great success since many years.
>
Thanks for the link.
I've tried to compile my programm. But if I start the executable Dosemu
crash. I got these messages in the console:
/ERROR: SMALLOC: bad pointer passed to smfree()
ERROR: SMALLOC: Out Of Memory on alloc, requested=102400
ERROR: general protection at 0x7d9: 67/
What ist wrong?
Hayen
[-- Attachment #2: praxis.vcf --]
[-- Type: text/x-vcard, Size: 150 bytes --]
begin:vcard
fn:Hayen Iggena
n:Iggena;Hayen
adr:;;Westerstr. 8;Esens;;26427;Deutschland
email;internet:praxis@iggena.de
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: High Temperature with DOSEMU
2007-11-23 10:05 ` Hayen Iggena
@ 2007-11-23 10:18 ` Klemens Lichter (via GMX)
2007-11-23 14:45 ` Hayen Iggena
0 siblings, 1 reply; 10+ messages in thread
From: Klemens Lichter (via GMX) @ 2007-11-23 10:18 UTC (permalink / raw)
To: linux-msdos
Hayen,
what linker do you use? I use Exospace fpr Clipper 5.3 and RTLink for 5.0
You should have the follogin lines inside your .LNK file:
FILE ..\iamidle.obj
LIB ...\nanfor
LIB ...\cpmi
I think all these is needed for. It is so long time since I included this to
my projects and than never again thought about.
Another tip: this "iamidle" does not like the clipper debugger. So I have
the very first lines of my first starting procedure in every project:
#ifndef DEBUG
ft_onidle({|| ft_iamidle(30,.T.)})
#endif
While debugging there is high cpu using, but not while the program is in its
normal run.
Klemens
----- Original Message -----
From: "Hayen Iggena" <praxis@keok.org>
To: "Klemens Lichter (via GMX)" <living-water@gmx.net>;
<linux-msdos@vger.kernel.org>
Sent: Friday, November 23, 2007 11:05 AM
Subject: Re: High Temperature with DOSEMU
> Klemens Lichter (via GMX) schrieb:
> > Hi Hayen,
> >
> > please follow this link:
> >
> > http://www.engwall.com/clipper/nfpat1a.htm
> >
> > Here you find a little function to include into your clipper program and
the
> > problem is gone. I use it with great success since many years.
> >
> Thanks for the link.
> I've tried to compile my programm. But if I start the executable Dosemu
> crash. I got these messages in the console:
> /ERROR: SMALLOC: bad pointer passed to smfree()
> ERROR: SMALLOC: Out Of Memory on alloc, requested=102400
> ERROR: general protection at 0x7d9: 67/
>
> What ist wrong?
>
> Hayen
>
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: High Temperature with DOSEMU
2007-11-23 10:18 ` Klemens Lichter (via GMX)
@ 2007-11-23 14:45 ` Hayen Iggena
2007-11-23 15:44 ` Alain M.
0 siblings, 1 reply; 10+ messages in thread
From: Hayen Iggena @ 2007-11-23 14:45 UTC (permalink / raw)
To: Klemens Lichter (via GMX), linux-msdos
[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]
Hi!
It works! Thank you!
The problem is that I compiled the programm on my laptop. If I start it
Dosemu crashes or the programm stop at the line with the new function.
But on the computer in my office the programm works well in Dosemu and
system load is near 0%.
Hayen
Klemens Lichter (via GMX) schrieb:
> Hayen,
> what linker do you use? I use Exospace fpr Clipper 5.3 and RTLink for 5.0
>
> You should have the follogin lines inside your .LNK file:
>
> FILE ..\iamidle.obj
> LIB ...\nanfor
> LIB ...\cpmi
>
> I think all these is needed for. It is so long time since I included this to
> my projects and than never again thought about.
>
> Another tip: this "iamidle" does not like the clipper debugger. So I have
> the very first lines of my first starting procedure in every project:
>
> #ifndef DEBUG
> ft_onidle({|| ft_iamidle(30,.T.)})
> #endif
>
> While debugging there is high cpu using, but not while the program is in its
> normal run.
>
> Klemens
>
>
--
Hayen Iggena
Zahnarzt
Westerstr. 8
26427 Esens
Tel.:04971-2444
Fax:04971-7426
[-- Attachment #2: praxis.vcf --]
[-- Type: text/x-vcard, Size: 150 bytes --]
begin:vcard
fn:Hayen Iggena
n:Iggena;Hayen
adr:;;Westerstr. 8;Esens;;26427;Deutschland
email;internet:praxis@iggena.de
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: High Temperature with DOSEMU
2007-11-23 14:45 ` Hayen Iggena
@ 2007-11-23 15:44 ` Alain M.
0 siblings, 0 replies; 10+ messages in thread
From: Alain M. @ 2007-11-23 15:44 UTC (permalink / raw)
To: dosEmu-list
That is the way that "should" work. I am glad to know that it does.
External (to clipper) program don't work for clipper because the problem
is inside clipper, there are other programs that do this too including
some but not all Borland IDEs.
As to not working in some places, please keep us informed and if
possible, I beg you to post a final and complete solution when you find it.
BTW, there are other similar programs, maybe you have luck and find
another one...
Alain
Hayen Iggena escreveu:
> Hi!
>
> It works! Thank you!
> The problem is that I compiled the programm on my laptop. If I start it
> Dosemu crashes or the programm stop at the line with the new function.
> But on the computer in my office the programm works well in Dosemu and
> system load is near 0%.
>
> Hayen
>
> Klemens Lichter (via GMX) schrieb:
>> Hayen,
>> what linker do you use? I use Exospace fpr Clipper 5.3 and RTLink for 5.0
>>
>> You should have the follogin lines inside your .LNK file:
>>
>> FILE ..\iamidle.obj
>> LIB ...\nanfor
>> LIB ...\cpmi
>>
>> I think all these is needed for. It is so long time since I included this to
>> my projects and than never again thought about.
>>
>> Another tip: this "iamidle" does not like the clipper debugger. So I have
>> the very first lines of my first starting procedure in every project:
>>
>> #ifndef DEBUG
>> ft_onidle({|| ft_iamidle(30,.T.)})
>> #endif
>>
>> While debugging there is high cpu using, but not while the program is in its
>> normal run.
>>
>> Klemens
>>
>>
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-11-23 15:44 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-22 21:36 High Temperature with DOSEMU Hayen Iggena
2007-11-22 23:26 ` Alain M.
2007-11-23 4:17 ` Jonathan Goldblatt
2007-11-23 7:54 ` Hayen Iggena
2007-11-23 8:04 ` Frank Cox
2007-11-23 9:13 ` Klemens Lichter (via GMX)
2007-11-23 10:05 ` Hayen Iggena
2007-11-23 10:18 ` Klemens Lichter (via GMX)
2007-11-23 14:45 ` Hayen Iggena
2007-11-23 15:44 ` Alain M.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox