trunk/src/mame/drivers/twins.c
| r245095 | r245096 | |
| 39 | 39 | strange palette format. |
| 40 | 40 | |
| 41 | 41 | todo: |
| 42 | | hook up eeprom |
| 43 | | takes a long time to boot (eeprom?) |
| 42 | hook up eeprom (doesn't seem to work when hooked up??) |
| 43 | Twins set 1 takes a long time to boot (eeprom?) |
| 44 | Improve blitter / clear logic for Spider. |
| 44 | 45 | |
| 45 | | |
| 46 | 46 | Electronic Devices was printed on rom labels |
| 47 | 47 | 1994 date string is in ROM |
| 48 | 48 | |
| 49 | | Spider seems to have some kind of sprites / blitter that works the same as as Table Tennis Champ (ttchamp.c) |
| 50 | | Spider must also have some ROM banking, or the blitter must be able to access non-cpu visible space, the title logo is at 0x00000 in ROM |
| 49 | Spider PCB appears almost identical but uses additional 'blitter' features. |
| 50 | It is possible the Twins PCB has them too and doesn't use them. |
| 51 | 51 | |
| 52 | | Twins (set 2) is significantly changed hardware. |
| 53 | 52 | |
| 53 | Twins (set 2) is significantly changed hardware, uses a regular RAMDAC hookup for plaette etc. |
| 54 | 54 | |
| 55 | |
| 55 | 56 | */ |
| 56 | 57 | |
| 57 | 58 | #include "emu.h" |
| r245095 | r245096 | |
| 281 | 282 | VIDEO_START_MEMBER(twins_state,twins) |
| 282 | 283 | { |
| 283 | 284 | save_item(NAME(m_paloff)); |
| 284 | | m_paloff = 0; |
| 285 | |
| 286 | save_item(NAME(m_spritesinit)); |
| 287 | save_item(NAME(m_spriteswidth)); |
| 288 | save_item(NAME(m_spritesaddr)); |
| 289 | save_item(NAME(m_mainram)); |
| 290 | save_item(NAME(m_videoram)); |
| 291 | save_item(NAME(m_videoram2)); |
| 292 | save_item(NAME(m_videorambank)); |
| 285 | 293 | } |
| 286 | 294 | |
| 295 | |
| 296 | |
| 297 | |
| 287 | 298 | UINT32 twins_state::screen_update_twins(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 288 | 299 | { |
| 289 | 300 | int y,x,count; |
| r245095 | r245096 | |
| 401 | 412 | } |
| 402 | 413 | |
| 403 | 414 | |
| 415 | |
| 404 | 416 | static ADDRESS_MAP_START( twinsa_io, AS_IO, 16, twins_state ) |
| 405 | 417 | AM_RANGE(0x0000, 0x0001) AM_DEVWRITE8("ramdac",ramdac_device,index_w,0x00ff) |
| 406 | 418 | AM_RANGE(0x0002, 0x0003) AM_DEVWRITE8("ramdac",ramdac_device,mask_w,0x00ff) |
| r245095 | r245096 | |
| 616 | 628 | GAME( 1994, twins, 0, twins, twins, driver_device, 0, ROT0, "Electronic Devices", "Twins (set 1)", GAME_SUPPORTS_SAVE ) |
| 617 | 629 | GAME( 1994, twinsa, twins, twinsa, twins, driver_device, 0, ROT0, "Electronic Devices", "Twins (set 2)", GAME_SUPPORTS_SAVE ) |
| 618 | 630 | |
| 619 | | GAME( 1994, spider, 0, spider, twins, driver_device, 0, ROT0, "Buena Vision", "Spider", GAME_NOT_WORKING ) |
| 631 | GAME( 1994, spider, 0, spider, twins, driver_device, 0, ROT0, "Buena Vision", "Spider", GAME_IMPERFECT_GRAPHICS ) |