summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Graphic_Equalizer/include/smartmedia.hch16
1 files changed, 14 insertions, 2 deletions
diff --git a/Graphic_Equalizer/include/smartmedia.hch b/Graphic_Equalizer/include/smartmedia.hch
index 774518f..9bbd2b1 100644
--- a/Graphic_Equalizer/include/smartmedia.hch
+++ b/Graphic_Equalizer/include/smartmedia.hch
@@ -27,8 +27,19 @@
#define WRITE 1
+
+/*
+ * The different stages the smart media loaders knows.
+ */
+#define STAGE_LOAD_SKIN 0x00
+#define STAGE_LOAD_HELP 0x01
+#define STAGE_LOAD_GRAPH 0x02
+#define STAGE_LOAD_PRESET 0x03
+
+
/*
* Create a define to keep API generic
+ * FIXME: replace with PAL calls when avaiable.
*/
#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)
#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)
@@ -38,14 +49,15 @@
/*
* Initializes the smartmedia device.
*/
-unsigned 1 smartmedia_init(void);
+
+macro proc smartmedia_init(result);
/*
* This function loads the memory with data from the smartmedia card.
*/
-macro proc smartmedia_loaddata(RAM_BANK0);
+macro proc smartmedia_loaddata(skindata, RAM_BANK0);
#else
#error "ERROR file smartmedia.hch multiple times included"