ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/05/25/17:34:18

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 <dj AT delorie DOT com>
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

> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019