summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/smartmedia.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-10 16:11:03 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-10 16:11:03 (GMT)
commit51085a870cc074c3eeef5a6ba1b45503ce0e0f4d (patch)
tree2232a881b7a90f475da5640161f32cf900102369 /Graphic_Equalizer/include/smartmedia.hch
parentedf01e33d5680018a8c48224b8f7134587f3fcdf (diff)
downloadTASS-51085a870cc074c3eeef5a6ba1b45503ce0e0f4d.zip
TASS-51085a870cc074c3eeef5a6ba1b45503ce0e0f4d.tar.gz
TASS-51085a870cc074c3eeef5a6ba1b45503ce0e0f4d.tar.bz2
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"