X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Finclude%2Feeprom.h;h=2a52638a4ea3daae2cb52935218f962e2b40c07a;hb=ace09a6edc81076f5b56751a60c62fcc3273ee78;hp=b6e560b92b0e1e27006bb6ce361884a593ef2087;hpb=86bd0f2592c3cd674239532247276bd2d579a857;p=virtualjaguar diff --git a/src/include/eeprom.h b/src/include/eeprom.h index b6e560b..2a52638 100644 --- a/src/include/eeprom.h +++ b/src/include/eeprom.h @@ -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__