From ace09a6edc81076f5b56751a60c62fcc3273ee78 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Tue, 2 Sep 2003 17:53:06 +0000 Subject: [PATCH] Changed functioning to save EEPROM contents on write instead of waiting until the emulator exited --- src/include/eeprom.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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__ -- 2.37.2