Implemented the Tekram DC-390 adapter (Am53c974 + 93cxx), mainly for

CD boot-capable PCI SCSI adapter support.
Begin the process of revamping/separating the EEPROM used by ATI
which is the same as the one as the DC-390 does use.
This commit is contained in:
TC1995
2020-09-02 17:50:24 +02:00
parent 156d265fa5
commit 87ea210ee1
6 changed files with 1549 additions and 28 deletions

View File

@@ -28,33 +28,6 @@
#include <86box/vid_ati_eeprom.h>
enum
{
EEPROM_IDLE,
EEPROM_WAIT,
EEPROM_OPCODE,
EEPROM_INPUT,
EEPROM_OUTPUT
};
enum
{
EEPROM_OP_EW = 4,
EEPROM_OP_WRITE = 5,
EEPROM_OP_READ = 6,
EEPROM_OP_ERASE = 7,
EEPROM_OP_WRALMAIN = -1
};
enum
{
EEPROM_OP_EWDS = 0,
EEPROM_OP_WRAL = 1,
EEPROM_OP_ERAL = 2,
EEPROM_OP_EWEN = 3
};
void ati_eeprom_load(ati_eeprom_t *eeprom, wchar_t *fn, int type)
{
FILE *f;