trunk/src/mame/includes/megadriv.h
| r22034 | r22035 | |
| 360 | 360 | UINT32 screen_update_megatech_menu(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); |
| 361 | 361 | }; |
| 362 | 362 | |
| 363 | | struct megadriv_cart |
| 364 | | { |
| 365 | | int type; |
| 366 | 363 | |
| 367 | | // SRAM related |
| 368 | | UINT16 *sram; |
| 369 | | int last_loaded_image_length; |
| 370 | | int sram_start, sram_end; |
| 371 | | int sram_active, sram_readonly; |
| 372 | | int sram_handlers_installed; |
| 373 | | int sram_detected; |
| 374 | | |
| 375 | | // EEPROM related |
| 376 | | int has_serial_eeprom; |
| 377 | | |
| 378 | | // I2C related |
| 379 | | UINT8 i2c_mem, i2c_clk; |
| 380 | | |
| 381 | | // mapper related (mostly for pirate carts) |
| 382 | | UINT16 squirrel_king_extra; |
| 383 | | UINT16 lion2_prot1_data, lion2_prot2_data; |
| 384 | | UINT16 realtec_bank_addr, realtec_bank_size, realtec_old_bank_addr; |
| 385 | | UINT16 l3alt_pdat, l3alt_pcmd; |
| 386 | | int ssf2_lastoff, ssf2_lastdata; |
| 387 | | }; |
| 388 | | |
| 389 | | |
| 390 | 364 | UINT8 megadrive_io_read_data_port_3button(running_machine &machine, int portnum); |
| 391 | 365 | |
| 392 | 366 | class _32x_state : public md_base_state |