/home/mandrake/rpm/BUILD/sc68-2.2.1/io68/mfpemul.h

Go to the documentation of this file.
00001 
00011 /* Copyright (C) 1998-2001 Ben(jamin) 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 
00022 #define TIMER_A   0   
00023 #define TIMER_B   1   
00024 #define TIMER_C   2   
00025 #define TIMER_D   3   
00028 extern u8 mfp[0x40];
00029 
00032 int MFP_reset(void);
00033 
00036 int MFP_init(void);
00037 
00045 u8 MFP_getTDR(int timer, cycle68_t cycle);
00046 
00054 void MFP_putTDR(int timer, u8 v, cycle68_t cycle);
00055 
00063 void MFP_putTCR(int timer, u8 v, cycle68_t cycle);
00064 
00073 int68_t * MFP_interrupt(cycle68_t cycle);
00074 
00082 cycle68_t MFP_nextinterrupt(cycle68_t cycle);
00083 
00088 void MFP_subcycle(cycle68_t subcycle);
00089 
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093 
00094 #endif /* #ifndef _MFPEMUL_H_ */

Generated on Wed Jul 25 10:05:08 2007 for sc68fordevelopers by  doxygen 1.5.2