]> Shamusworld >> Repos - virtualjaguar/commitdiff
Changed functioning to save EEPROM contents on write instead of waiting until the...
authorShamus Hammons <jlhamm@acm.org>
Tue, 2 Sep 2003 17:53:06 +0000 (17:53 +0000)
committerShamus Hammons <jlhamm@acm.org>
Tue, 2 Sep 2003 17:53:06 +0000 (17:53 +0000)
src/include/eeprom.h

index b6e560b92b0e1e27006bb6ce361884a593ef2087..2a52638a4ea3daae2cb52935218f962e2b40c07a 100644 (file)
@@ -1,16 +1,20 @@
+//
+// EEPROM.H: Header file
+//
+
 #ifndef __EEPROM_H__
-#define __EEPROm_H__
+#define __EEPROM_H__
 
 #include "jaguar.h"
 
 void eeprom_init(void);
 void eeprom_reset(void);
 void eeprom_done(void);
-
 void eeprom_update(void);
-void eeprom_byte_write(uint32 offset, uint8 data);
-void eeprom_word_write(uint32 offset, uint16 data);
+
 uint8 eeprom_byte_read(uint32 offset);
 uint16 eeprom_word_read(uint32 offset);
+void eeprom_byte_write(uint32 offset, uint8 data);
+void eeprom_word_write(uint32 offset, uint16 data);
 
-#endif
+#endif // __EEPROM_H__