Generalized the 93C66 EEPROM emulation to other capacities, and add 16-bit word size support. Update mapper 529 to use 93C56 EEPROM in 16-bit mode.

This commit is contained in:
NewRisingSun
2025-04-07 22:22:44 +02:00
committed by LibretroAdmin
parent 6cbb11bdd1
commit 553865663d
7 changed files with 201 additions and 162 deletions

10
src/boards/eeprom_93Cx6.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef _EEPROM_93CX6_H
#define _EEPROM_93CX6_H
#include "mapinc.h"
extern uint8* eeprom_93Cx6_storage;
void eeprom_93Cx6_init (size_t capacity, uint8 wordSize);
uint8 eeprom_93Cx6_read ();
void eeprom_93Cx6_write (uint8 CS, uint8 CLK, uint8 DAT);
#endif