X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: "JM Rams" To: Subject: RE: 30K Timer tic interrupt handler Date: Sun, 25 May 2008 21:49:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: Aci9wFD6+0YDuB8kR7W+zHQu/ExaDgA33nSQ In-Reply-To: <0cef84c2-4295-401e-aa83-cfb00115a60b@34g2000hsf.googlegroups.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Message-Id: <20080525194916.3DD6C5702E7@panel.abserver.es> X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on panel.abserver.es X-Spam-Level: X-Spam-Status: No, score=-2.8 required=4.0 tests=ALL_TRUSTED autolearn=ham version=3.0.3 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m4PKKugj002668 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi. A simple solution is to write a resident program with a 16 bit compiler (like borladc). You can pass information with your 32 bits progam and your 16 bit program via software interrupts. Josep M. Rams Selter Ingeniería, S.L. -----Mensaje original----- De: sales AT taiserver DOT com [mailto:sales AT taiserver DOT com] Enviado el: dissabte, 24 / maig / 2008 18:59 Para: djgpp AT delorie DOT com Asunto: 30K Timer tic interrupt handler Hi I wonder if any one has any ideas on how to tie this all together. The faq are missing some key points Does any one have an example of how write and install a real mode interrupt handler. Wait - read on. The examples in the FAQ show how to install a PM mode handler or how to install a RM handler reflected from PM mode. We need a real mode handler We have the timer set to 30khx interrupt rate. When it fires in PM mode it get handled fine. If the processor happens to be in real mode the overhead for the PM task switch is too great and the system hangs after a couple of hits. We have the PM handler covered. not sure how to do the real mode handler natively. I assume we have to : 1) I believe we would need to write the handler is asm. Can we do this inline or must we compile separately. 2) Next we need to move the asm obj blob into real memory space - how do you this 3) finally we need to reset the real mode vector to point to the 16bit real mode code - i assume we can just use the dos calls to do this. In the right order with the PM handler install of course. Any hep would be appreciated. Also if you rerffence a faq can you tell me which one specifically. Feel freen to email directly Thanks Daniel sales AT taiserver DOT com __________ Información de NOD32, revisión 3128 (20080523) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com