Search
lxdream.org :: lxdream/src/clock.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/clock.h
changeset 265:5daf59b7f31b
prev261:93fdb2a70e18
next561:533f6b478071
author nkeynes
date Sat Jan 06 04:06:36 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Implement event queue.
Fix pvr2 timing (yes, again).
file annotate diff log raw
1.1 --- a/src/clock.h Wed Jan 03 09:01:51 2007 +0000
1.2 +++ b/src/clock.h Sat Jan 06 04:06:36 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: clock.h,v 1.4 2007-01-03 09:01:51 nkeynes Exp $
1.6 + * $Id: clock.h,v 1.5 2007-01-06 04:06:36 nkeynes Exp $
1.7 * External interface to the dreamcast serial port, implemented by
1.8 * sh4/scif.c
1.9 *
1.10 @@ -25,9 +25,10 @@
1.11 #endif
1.12
1.13 #define MHZ
1.14 +#define KHZ
1.15 #define SH4_BASE_RATE 200 MHZ
1.16 #define ARM_BASE_RATE 33 MHZ
1.17 -#define PVR2_DOT_CLOCK 27 MHZ
1.18 +#define PVR2_DOT_CLOCK 27068 KHZ
1.19
1.20 extern uint32_t sh4_freq;
1.21 extern uint32_t sh4_peripheral_freq;
.