Update of /cvsroot/z88dk/z88dk/include
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv8219/include
Modified Files:
sound.h
Log Message:
Fixed the 1-bit sound timing constants for the frequency conversion
Index: sound.h
===================================================================
RCS file: /cvsroot/z88dk/z88dk/include/sound.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** sound.h 23 May 2006 21:47:25 -0000 1.7
--- sound.h 6 Dec 2007 10:19:05 -0000 1.8
***************
*** 41,48 ****
/* Platform specific parameters (mainly timing stuff) */
! #ifdef SPECTRUM
#define BEEP_TSTATES 437500.0 /* 3.5 Mhz; float value = CPU_CLOCK*125 */
#endif
#ifdef AQUARIUS
#define BEEP_TSTATES 500000.0 /* 4 Mhz */
--- 41,52 ----
/* Platform specific parameters (mainly timing stuff) */
! #ifdef SPECTRUM
#define BEEP_TSTATES 437500.0 /* 3.5 Mhz; float value = CPU_CLOCK*125 */
#endif
+ #ifdef MSX
+ #define BEEP_TSTATES 447500.0 /* 3.58 Mhz */
+ #endif
+
#ifdef AQUARIUS
#define BEEP_TSTATES 500000.0 /* 4 Mhz */
***************
*** 57,82 ****
#endif
! #ifdef TI82
! #define BEEP_TSTATES 750000.0 /* 6 Mhz */
! #endif
!
! #ifdef TI83
! #define BEEP_TSTATES 750000.0
! #endif
!
! /* TI-83 Plus. 1875000.0 (15 Mhz) if Silver Edition */
#ifdef TI8X
#define BEEP_TSTATES 750000.0 /* 6 Mhz */
/* #define BEEP_TSTATES 1875000.0 */
#endif
- #ifdef TI85
- #define BEEP_TSTATES 750000.0
- #endif
-
- #ifdef TI86
- #define BEEP_TSTATES 750000.0
- #endif
-
#endif
--- 61,71 ----
#endif
! #if defined TICALC || defined TI82 || defined TI83 || defined TI8X || defined TI85 || defined TI86
#ifdef TI8X
#define BEEP_TSTATES 750000.0 /* 6 Mhz */
+ /* TI-83 Plus should have 1875000.0 (15 Mhz) if Silver Edition */
/* #define BEEP_TSTATES 1875000.0 */
#endif
#endif
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4