Port DECchip 21143 "Tulip" emulation from QEMU

This commit is contained in:
Cacodemon345
2023-07-29 16:24:35 +06:00
parent c12cfad5f1
commit 659143408e
6 changed files with 1562 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
struct nmc93cxx_eeprom_t;
typedef struct nmc93cxx_eeprom_t nmc93cxx_eeprom_t;
typedef struct nmc93cxx_eeprom_params_t
{
uint16_t nwords;
char* filename;
uint16_t* default_content;
} nmc93cxx_eeprom_params_t;
/* Read from the EEPROM. */
uint16_t nmc93cxx_eeprom_read(nmc93cxx_eeprom_t *eeprom);
/* Write to the EEPROM. */
void nmc93cxx_eeprom_write(nmc93cxx_eeprom_t *eeprom, int eecs, int eesk, int eedi);
/* Get EEPROM data array. */
uint16_t *nmc93cxx_eeprom_data(nmc93cxx_eeprom_t *eeprom);
extern const device_t nmc93cxx_device;

View File

@@ -0,0 +1 @@
extern const device_t dec_tulip_device;