On 3/16/07, <b class="gmail_sendername">John Elliott</b> &lt;<a href="mailto:jce@seasip.demon.co.uk">jce@seasip.demon.co.uk</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Since timing<br>&gt; precision is critical and my application utilizes timer interrupts for<br>&gt; it&#39;s operation I&#39;m interested in opinions on how well OpenGEM would work<br>&gt; with this sort of application.
<br> <br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It&#39;s possible to hook the timer interrupt in GEM, but since this is also
<br>hooked by GEM itself you have to make sure to call the original handler. The<br>GEM function vex_timv() will hook the timer interrupt and return the address<br>of the previous handler; it should be called with interrupts disabled.
</blockquote><div><br>&nbsp;Any idea how much time I can expect GEM to take during it&#39;s timer routines?<br><br>Also is there anything I can do to minimize the amount of time it needs, or is that something that is fairly fixed? The distribution of GEM that my app would run under would be distributed with and for my app, so if it would help I&#39;d consider making modifications to GEM to accommodate my app&#39;s requirements. 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; I&#39;m also curious if anyone has done any work with developing with Borlands
<br>&gt; CLX under OpenGEM?<br><br>Unlikely; CLX, as I understand it, is a wrapper round the Qt widget set,<br>and I&#39;ve not heard of anyone trying to port Qt to GEM.<br></blockquote></div><br>I shouldn&#39;t have said &#39;Borlands&#39; CLX. The DWLP project uses an adaptation of Borlands CLX library that has been modified to be OS and UI independent. With this the Delphi GUI form designer can be used to create forms that compile down to DWLP&#39;s Turbo Vision TUI classes with support for both DOS (using DWLP&#39;s DPMI and running on MS-DOS, FreeDOS or other DOS-like systems) and under windows (console mode).
<br><br>I&#39;m curious if it might be possible to do something similar with GEM. DWPL is, AFAIK, all 32bit protected mode though, so it might not be practical to get anything going.<br><br>Just an idea. I&#39;m investigating both DWLP and GEM as options for my project and it occurred to me that perhaps I could get the best of both worlds. 
<br><br>I&#39;ve downloaded the GEM development files and it all looks fairly straight-forward. I&#39;m planning to try it out this weekend.<br><br>Thanks for the info.<br><br>Dave K<br>