www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/29/23:12:02

From: "ICE (Instrumentacion y Control Electr.)" <ice AT inti DOT edu DOT ar>
To: rsevilla AT upd DOT edu DOT ph, mhommel AT trumpet DOT aix DOT calpoly DOT edu, djgpp AT delorie DOT com
Subject: Re: Help w/ timer
Date: Mon, 29 Apr 1996 15:39:18 +0300 (GMT)
Message-ID: <9604291539.aa08332@ailin.inti.edu.ar>

Sevilla wrotes:

>  4. When writing the timer interrupt code, take note that 11 kHz is 90.9
>  microseconds, or 4500 clocks at 50 MHz, and 22 kHz is 45us, or some 2250
>  clocks, and this is your deadline--your timer routine should finish
>  everything within this span of time, or else you risk a red switch crash. 
>  For lower clock rates you'll have even less cycles. With this sort of
>  deadline you can see why assembly language is stressed. And in order to
>  play music in the background you'll have to call the old INT 8 every so
>  often, and the length of a default INT 8 handler varies from system to
>  system, and it may not leave you with enough time before your 45us
>  deadline runs out. 

Hey i made (some years ago) a program that reproduce sound at 10KHz IRQs on a 
12MHz Nec V20 (XT man!!) and with MSC 5.1.
  The real problem is make the same in protected mode with a 486 DX 33, any 
one have idea if this is possible? 

bye SET.



--------------------------------------------------------------------------------
INTI - CITEI - ICE 
Av Gral Paz y Alvarellos.          T.E. (+541) 754-4141/5 Interno: 315
CC 157 - CP 1650 - San Martin      Fax: (+541) 754-5194
Buenos Aires, Argentina            E-mail: ice AT inti DOT edu DOT ar    

- Raw text -


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