delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/15/13:06:04

Message-ID: <33A41FD6.DBDF55C1@abc.se>
Date: Sun, 15 Jun 1997 19:01:11 +0200
From: Henrik Baarnhielm <Henrik DOT Baarnhielm AT abc DOT se>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Timer interrupt

I am coding a player for RAD-files (adlib music) and I have to hook the
timer interrupt and reprogram the timer to tick faster. This means I
have to chain to the old interrupt routine, but not every time because I
reprogram the timer to tick 50 ticks/sec and the normal rate is 18.2
ticks/sec.
How do I do this? 
_go32_dpmi_chain_protected_mode_interrupt_vector() makes the routine
chain every time, isn't it like that? And that is not what I want.
So I would be grateful if someone could assist me with this...

Thank you
-- 
***************************************
Internet : Henrik DOT Baarnhielm AT abc DOT se
Fidonet  : Henrik Baarnhielm, 2:201/235
***************************************

- Raw text -


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