Thoroughly clean up the code to vastly reduce the number of compiler warnings and found and fixed several bugs in the process; Applied all mainline PCem commits; Added SCSI hard disk emulation; Commented out all unfinished machines and graphics cards; Added the AOpen AP53 and ASUS P/I-P55T2 machines as well as another Tyan 440FX machine, all three with AMI WinBIOS (patch from TheCollector1995); Added the Diamond Stealth 3D 3000 (S3 ViRGE/VX) graphics card (patch from TheCollector1995); Added the PS/2 XT IDE (AccuLogic) HDD Controller (patch from TheCollector1995); Added Microsoft/Logitech Bus Mouse emulation (patch from waltje); Overhauled the makefiles (patch from waltje); Added the Adaptec AHA-1542CF SCSI controller (patch from waltje); Added preliminary (but still unfinished) Adaptec AHA-154x SCSI controller BIOS support (patch from waltje); Added an ISABugger debugging device (patch from waltje); Added sanity checks to the Direct3D code.
28 lines
673 B
C
28 lines
673 B
C
#ifndef BUSLOGIC_H
|
|
# define BUSLOGIC_H
|
|
|
|
|
|
typedef struct {
|
|
uint8_t flags; /* local flags */
|
|
uint8_t bid; /* board ID */
|
|
char fwl, fwh; /* firmware info */
|
|
} aha_info;
|
|
#define AHA_GLAG_MEMEN 0x01 /* BIOS Shadow RAM enabled */
|
|
|
|
|
|
extern device_t aha1540b_device;
|
|
extern device_t aha1542cf_device;
|
|
extern device_t buslogic_device;
|
|
extern device_t buslogic_pci_device;
|
|
|
|
|
|
extern int buslogic_dev_present(uint8_t id, uint8_t lun);
|
|
|
|
extern void aha154x_init(uint16_t, uint32_t, aha_info *);
|
|
extern uint8_t aha154x_shram(uint8_t);
|
|
extern uint8_t aha154x_eeprom(uint8_t,uint8_t,uint8_t,uint8_t,uint8_t *);
|
|
extern uint8_t aha154x_memory(uint8_t);
|
|
|
|
|
|
#endif /*BUSLOGIC_H*/
|