X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sun, 25 May 2008 17:33:36 -0400 Message-Id: <200805252133.m4PLXarG015150@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <20080525194916.3DD6C5702E7@panel.abserver.es> (josepmaria AT turomas DOT com) Subject: Re: 30K Timer tic interrupt handler References: <20080525194916 DOT 3DD6C5702E7 AT panel DOT abserver DOT es> 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 > 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. You can do 16 bit handlers with djgpp, no need to get a separate compiler for it. The problem here is that at 30,000 interrupts per second, you need both a 16 bit and a 32 bit handler, so that interrupts never cause a mode switch.