Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

mwemul.h

Go to the documentation of this file.
00001 
00011 /* Copyright (C) 1998-2001 Ben(jamin) Gerard */
00012 
00013 #ifndef _MWEMUL_H_
00014 #define _MWEMUL_H_
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020 #include "emu68/type68.h"
00021 
00026 #define MW_ACTI 0x01        
00028 #define MW_BASH 0x03        
00029 #define MW_BASM (MW_BASH+2) 
00030 #define MW_BASL (MW_BASH+4) 
00032 #define MW_CTH 0x09         
00033 #define MW_CTM (MW_CTH+2)   
00034 #define MW_CTL (MW_CTH+4)   
00036 #define MW_ENDH 0x0f        
00037 #define MW_ENDM (MW_ENDH+2) 
00038 #define MW_ENDL (MW_ENDH+4) 
00040 #define MW_MODE 0x21        
00042 #define MW_DATA 0x22        
00043 #define MW_CTRL 0x24        
00052 extern u8 mw[0x40]; 
00053 extern u32 mw_ct;   
00054 extern u32 mw_end;  
00072 unsigned int MW_sampling_rate(unsigned int f);
00073 
00089 int MW_reset(void);
00090 
00104 int MW_init(void);
00105 
00130 void MW_mix(u32 *b, const u8 * mem68, int n);
00131 
00149 void MW_set_LMC_mixer(unsigned int n);
00150 
00158 void MW_set_LMC_master(unsigned int n);
00159 
00169 void MW_set_LMC_left(unsigned int n);
00170 
00178 void MW_set_LMC_right(unsigned int n);
00179 
00188 void MW_set_LMC_high(unsigned int n);
00189 
00198 void MW_set_LMC_low(unsigned int n);
00199 
00202 #ifdef __cplusplus
00203 }
00204 #endif
00205 
00206 #endif /* #ifndef _MWEMUL_H_*/

Generated on Fri Sep 26 16:27:53 2003 for sc68fordevelopers by doxygen 1.3.3