summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/smartmedia.hch
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/include/smartmedia.hch')
-rw-r--r--Graphic_Equalizer/include/smartmedia.hch11
1 files changed, 9 insertions, 2 deletions
diff --git a/Graphic_Equalizer/include/smartmedia.hch b/Graphic_Equalizer/include/smartmedia.hch
index e44e435..774518f 100644
--- a/Graphic_Equalizer/include/smartmedia.hch
+++ b/Graphic_Equalizer/include/smartmedia.hch
@@ -19,6 +19,12 @@
#ifndef _SMARTMEDIA_HCH
#define _SMARTMEDIA_HCH 1
+/*
+ * SmartMedia functioncalls a bit to be set to either Read or Write. This
+ * define should make life easier identifying which one is what.
+ */
+#define READ 0
+#define WRITE 1
/*
@@ -32,13 +38,14 @@
/*
* Initializes the smartmedia device.
*/
-void smartmedia_init(void);
+unsigned 1 smartmedia_init(void);
+
/*
* This function loads the memory with data from the smartmedia card.
*/
-void smartmedia_loaddata(void);
+macro proc smartmedia_loaddata(RAM_BANK0);
#else
#error "ERROR file smartmedia.hch multiple times included"