Having managed to run a 'sceleton' program alright
I ventured in porting some procedures.
However, no luck at all with a popup proc
which doesn't do anything else than pop up
an info window.
Nothing of that kind is working in the _swappable_ tsr.
The swapped-out memory has increased by about 40K.
I've tried SR.Alloc (), SaveWindow (), [RawWindow].Init (),
no joy.
Does anybody have any idea what's going on?
Need to get this one going at a customer's site.
Any help much appreciated.
Martin
in...@airkreuzer.com
I believe you'll find alarm (alarm.lzh) on the TurboPower ftp site:
ftp://ftp.turbopower.com/pub/oprotpro/alarm.lzh
Best regards,
John Leier
Digi International Inc.
"Martin Ph. Kreuzer" <in...@airkreuzer.com> wrote in message
news:3D53FD4E...@airkreuzer.com...
> Andrew -
>
> Thanks for the hint. When I went through this comprehensive example
> it finally looked like that my error probably would be something trivial,
> and so it was: a problem with memory. Exchanging ParagraphsToKeep
> with MaxParagraphsToKeep in the call to StayResSwap made quite a
> difference! And this error was clouded by my failure to change the
> master file in the TP IDE, so the compiler got a bit confused as well.
(It's
> about six years that I touched that stuff, so got a bit rusty myself).
>
> Now there is one major step left, and that's porting the watchdog
procedure
> (that's updating the display every 5..10 ticks or so) from the regular to
the
> swappable TSR. I now know, that I have to use SetPopTicker from some
> kind of Assembler code, but as of now haven't much of a clue how to do
that.
>
> They (in the manual) refer to an example on a bonus disk (probably
> called "alarm.asm" or something similar), which simulates an alarm clock
going
> off at a preset time. Unfortunately, I haven't got that file.If you happen
to
> have it,
> and could be talked into mailing it to me, I would be obliged.
>
> Regards
>
> Martin
> in...@airkreuzer.com
>
>
> "Andrew Denton [TPX]" wrote:
>
> > Martin,
> >
> > Have you had a look at the DeskPop demo program for some clues? It's
been a
> > long while since I did any Opro stuff.
> >
> > Regards,
> >
> > --
> > Andrew Denton [TPX]
> > Senior Software Engineer
> > Q-Systems (International) Ltd
> > "I want to move to Theory...Everything works in Theory"
> >
> > Those of us with [TPX] after our names are not TurboPower employees but
a
> > group of folks that have volunteered to assist TurboPower and help
fellow
> > users who have questions about the operation of the products.
> >
> > http://www.turbopower.com/pub/visualplanit/updates/Fixes.htm
> >
> > http://www.turbopower.com/pub/orpheus/updates/Fixes.htm
> >
> > "Martin Ph. Kreuzer" <m...@airkreuzer.com> wrote in message
> > news:3D4E2267...@airkreuzer.com...
Thanks for this hint. Browsed Turbopower's ftp site and found other interesting
stuff as well... The "alarm" package looks like it's what I'm going to need, so
presently I'm in the process of digging again into Assembler with the help of
some books. And while trying some very basic examples I found out,
that the "tlink" which comes with BPO 7.01 does _not_ work on my new
(faster) machine. You call it, and whoops, it goes into reboot. So I searched
the net and found an older "tasm/tlink" package v.3.10 which so far seems
to work. There's also available on older TurboC package v.2.01 which
comes with a "tlink" of about the same age. Don't know whether this is
of interest to somebody but sort of wanted to mention it. Will probably keep
you guys posted on how the project is advancing. Thanks again.
Martin
in...@airkreuzer.com