Home | Download | Musics | Developers | |||||
mfpemul.hGo to the documentation of this file.00001 00011 /* Copyright (C) 1998-2003 Benjamin Gerard */ 00012 00013 #ifndef _MFPEMUL_H_ 00014 #define _MFPEMUL_H_ 00015 00016 #ifdef __cplusplus 00017 extern "C" { 00018 #endif 00019 00020 #include "emu68/struct68.h" 00021 00032 #define TIMER_A 0 00033 #define TIMER_B 1 00034 #define TIMER_C 2 00035 #define TIMER_D 3 00039 extern u8 mfp[0x40]; 00040 00043 int MFP_reset(void); 00044 00047 int MFP_init(void); 00048 00056 u8 MFP_getTDR(int timer, cycle68_t cycle); 00057 00065 void MFP_putTDR(int timer, u8 v, cycle68_t cycle); 00066 00074 void MFP_putTCR(int timer, u8 v, cycle68_t cycle); 00075 00084 int68_t * MFP_interrupt(cycle68_t cycle); 00085 00093 cycle68_t MFP_nextinterrupt(cycle68_t cycle); 00094 00099 void MFP_subcycle(cycle68_t subcycle); 00100 00105 #ifdef __cplusplus 00106 } 00107 #endif 00108 00109 #endif /* #ifndef _MFPEMUL_H_ */ | ||||||||
sc68 website ©sashipa Nov 2003 | Design by Benjamin Gerard, powered by |