diff options
Diffstat (limited to 'src/mame/includes/megadriv.h')
-rw-r--r-- | src/mame/includes/megadriv.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/mame/includes/megadriv.h b/src/mame/includes/megadriv.h index d9c30eb6695..a4a4a44004f 100644 --- a/src/mame/includes/megadriv.h +++ b/src/mame/includes/megadriv.h @@ -104,8 +104,8 @@ class md_boot_state : public md_base_state public: md_boot_state(running_machine &machine, const driver_device_config_base &config) : md_base_state(machine, config) { } - - // bootleg specific + + // bootleg specific int aladmdb_mcu_port; }; @@ -114,28 +114,28 @@ class segac2_state : public md_base_state public: segac2_state(running_machine &machine, const driver_device_config_base &config) : md_base_state(machine, config) { } - + // for Print Club only int cam_data; - + int segac2_enable_display; - + UINT16* paletteram; - + /* internal states */ UINT8 misc_io_data[0x10]; /* holds values written to the I/O chip */ - + /* protection-related tracking */ int (*prot_func)(int in); /* emulation of protection chip */ UINT8 prot_write_buf; /* remembers what was written */ UINT8 prot_read_buf; /* remembers what was returned */ - + /* palette-related variables */ UINT8 segac2_alt_palette_mode; UINT8 palbank; UINT8 bg_palbase; UINT8 sp_palbase; - + /* sound-related variables */ UINT8 sound_banks; /* number of sound banks */ }; @@ -145,21 +145,21 @@ class mplay_state : public md_base_state public: mplay_state(running_machine &machine, const driver_device_config_base &config) : md_base_state(machine, config) { } - + UINT32 bios_mode; // determines whether ROM banks or Game data // is to read from 0x8000-0xffff - + UINT32 bios_bank; // ROM bank selection UINT16 game_banksel; // Game bank selection UINT32 readpos; // serial bank selection position (9-bit) UINT32 mp_bios_bank_addr; - + UINT32 bios_width; // determines the way the game info ROM is read UINT8 bios_ctrl[6]; UINT8 bios_6600; UINT8 bios_6403; UINT8 bios_6404; - + UINT16 *genesis_io_ram; UINT8* ic3_ram; UINT8* ic37_ram; @@ -171,17 +171,17 @@ class mtech_state : public md_base_state public: mtech_state(running_machine &machine, const driver_device_config_base &config) : md_base_state(machine, config) { } - + UINT8 mt_cart_select_reg; UINT32 bios_port_ctrl; int current_game_is_sms; // is the current game SMS based (running on genesis z80, in VDP compatibility mode) UINT32 bios_ctrl_inputs; UINT8 bios_ctrl[6]; - + int mt_bank_addr; - + int cart_is_genesis[8]; - + /* Megatech BIOS specific */ UINT8* megatech_banked_ram; }; @@ -190,7 +190,7 @@ typedef struct _megadriv_cart megadriv_cart; struct _megadriv_cart { int type; - + // SRAM related UINT16 *sram; int last_loaded_image_length; @@ -198,13 +198,13 @@ struct _megadriv_cart int sram_active, sram_readonly; int sram_handlers_installed; int sram_detected; - + // EEPROM related int has_serial_eeprom; - + // I2C related UINT8 i2c_mem, i2c_clk; - + // mapper related (mostly for pirate carts) UINT16 squirrel_king_extra; UINT16 lion2_prot1_data, lion2_prot2_data; @@ -218,11 +218,11 @@ class md_cons_state : public md_base_state public: md_cons_state(running_machine &machine, const driver_device_config_base &config) : md_base_state(machine, config) { } - + emu_timer *mess_io_timeout[3]; int mess_io_stage[3]; - UINT8 jcart_io_data[2]; - + UINT8 jcart_io_data[2]; + megadriv_cart md_cart; }; @@ -231,7 +231,7 @@ class pico_state : public md_cons_state public: pico_state(running_machine &machine, const driver_device_config_base &config) : md_cons_state(machine, config) { } - + UINT8 page_register; }; |