summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/src/main.hcc
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/src/main.hcc')
-rw-r--r--Graphic_Equalizer/src/main.hcc12
1 files changed, 6 insertions, 6 deletions
diff --git a/Graphic_Equalizer/src/main.hcc b/Graphic_Equalizer/src/main.hcc
index d7a8600..9c18ca5 100644
--- a/Graphic_Equalizer/src/main.hcc
+++ b/Graphic_Equalizer/src/main.hcc
@@ -23,7 +23,6 @@
/******** System Includes *************/
#include "pal_master.hch"
-#include "pal_mouse.hch"
/******** Application Includes ********/
#include "configuration.hch"
@@ -94,9 +93,10 @@ void main(void) {
MouseRun(ClockRate);
PalAudioInRun(AudioIn, ClockRate);
PalAudioOutRun(AudioOut, ClockRate);
+ PalPL2RAMRun(RAM_BANK0, ClockRate);
#if HAVE_SMARTMEDIA
/*
- * The smartmedia device needs the CPLD to run.
+ * The smartmedia device needs the CPLD to run also.
*/
CPLDRun(ClockRate);
SmartMediaRun(ClockRate);
@@ -116,7 +116,7 @@ void main(void) {
* into the ram.
*/
#if HAVE_DEBUG
- print_eol();
+ print_cls();
print_string("Graphic Equalizer 2");
print_eol();
#endif
@@ -152,9 +152,9 @@ void main(void) {
* and display in parallel. None of these
* should ever return.
*/
- mouse_main(&mousedata);
- display_main(events, mousedata, ClockRate, RAM_BANK0);
- eventhandler_main(&events, &mousedata);
+ mouse_main(mousedata);
+ display_main(events, mousedata, ClockRate, VideoOut, RAM_BANK0);
+ eventhandler_main(events, mousedata);
audio_main();
}
#if HAVE_SMARTMEDIA