From: Shamus Hammons Date: Tue, 2 Sep 2003 17:53:06 +0000 (+0000) Subject: Changed functioning to save EEPROM contents on write instead of waiting until the... X-Git-Tag: 1.0.6~47 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace09a6edc81076f5b56751a60c62fcc3273ee78;p=virtualjaguar Changed functioning to save EEPROM contents on write instead of waiting until the emulator exited --- 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__