Annotation of hatari/src/includes/int.h, revision 1.1.1.5

1.1       root        1: /*
1.1.1.2   root        2:   Hatari - int.h
                      3: 
                      4:   This file is distributed under the GNU Public License, version 2 or at
                      5:   your option any later version. Read the file gpl.txt for details.
1.1       root        6: */
                      7: 
1.1.1.2   root        8: #ifndef HATARI_INT_H
                      9: #define HATARI_INT_H
                     10: 
                     11: /* Interrupt handlers in system */
                     12: enum
                     13: {
1.1       root       14:   INTERRUPT_NULL,
                     15:   INTERRUPT_VIDEO_VBL,
                     16:   INTERRUPT_VIDEO_HBL,
                     17:   INTERRUPT_VIDEO_ENDLINE,
                     18:   INTERRUPT_MFP_TIMERA,
                     19:   INTERRUPT_MFP_TIMERB,
                     20:   INTERRUPT_MFP_TIMERC,
                     21:   INTERRUPT_MFP_TIMERD,
                     22:   INTERRUPT_IKBD_RESETTIMER,
                     23:   INTERRUPT_IKBD_ACIA,
1.1.1.4   root       24:   INTERRUPT_DMASOUND,
                     25: 
1.1       root       26:   MAX_INTERRUPTS
                     27: };
                     28: 
                     29: extern int nCyclesOver;
                     30: 
                     31: extern void Int_Reset(void);
                     32: extern void Int_MemorySnapShot_Capture(BOOL bSave);
1.1.1.5 ! root       33: extern int Int_HandlerFunctionToID(void (*pHandlerFunction)(void));
1.1       root       34: extern void *Int_IDToHandlerFunction(int ID);
                     35: extern void Int_AcknowledgeInterrupt(void);
                     36: extern void Int_AddAbsoluteInterrupt(int CycleTime, int Handler);
                     37: extern void Int_AddRelativeInterrupt(int CycleTime, int Handler);
                     38: extern void Int_RemovePendingInterrupt(int Handler);
                     39: extern BOOL Int_InterruptActive(int Handler);
                     40: extern int Int_FindCyclesPassed(int Handler);
1.1.1.2   root       41: 
                     42: #endif /* ifndef HATARI_INT_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.