#ifndef __DAC_H__
#define __DAC_H__
-#include "types.h"
+//this is here, because we have to compensate in more than just dac.cpp...
+#define NEW_DAC_CODE // New code paths!
+
+//#include "types.h"
+#include "memory.h"
void DACInit(void);
void DACReset(void);
void DACDone(void);
+int GetCalculatedFrequency(void);
+void DACSetNewFrequency(int);
// DAC memory access
// Global variables
-extern uint16 lrxd, rrxd; // I2S ports (into Jaguar)
+//extern uint16 lrxd, rrxd; // I2S ports (into Jaguar)
#endif // __DAC_H__