Changed event and ticker handlers.
Removed the micro timers. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1657
This commit is contained in:
parent
3001a346b2
commit
44464a2a53
9 changed files with 51 additions and 97 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: timer.cpp,v 1.20 2004-01-10 11:43:41 qbix79 Exp $ */
|
||||
/* $Id: timer.cpp,v 1.21 2004-02-07 18:34:03 harekiet Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "inout.h"
|
||||
|
@ -43,7 +43,7 @@ struct PIT_Block {
|
|||
|
||||
static PIT_Block pit[3];
|
||||
|
||||
static void PIT0_Event(void) {
|
||||
static void PIT0_Event(Bitu val) {
|
||||
PIC_ActivateIRQ(0);
|
||||
if (pit[0].mode!=0) PIC_AddEvent(PIT0_Event,pit[0].micro);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue