Mercurial > vba-linux
view src/gba/EEprom.h @ 52:9f63ad276c0d tip
enabled dev mode.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 21 Mar 2013 21:42:44 +0000 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_EEPROM_H2 #define VBA_EEPROM_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 #include "zlib.h"9 #include "../Port.h"11 extern void eepromSaveGame(gzFile gzFile);12 extern void eepromReadGame(gzFile gzFile, int version);13 extern int eepromRead(u32 address);14 extern void eepromWrite(u32 address, u8 value);15 extern void eepromReset();16 extern void eepromErase();17 extern u8 eepromData[0x2000];18 extern bool8 eepromInUse;19 extern int32 eepromSize;21 #define EEPROM_IDLE 022 #define EEPROM_READADDRESS 123 #define EEPROM_READDATA 224 #define EEPROM_READDATA2 325 #define EEPROM_WRITEDATA 427 #endif // VBA_EEPROM_H