trunk/src/mame/drivers/raiden2.c
| r32065 | r32066 | |
| 636 | 636 | int npos = ppos + space.read_dword(cop_regs[0] + 0x10 + offset*4); |
| 637 | 637 | int delta = (npos >> 16) - (ppos >> 16); |
| 638 | 638 | space.write_dword(cop_regs[0] + 4 + offset*4, npos); |
| 639 | | |
| 640 | | /* TODO: check the following, makes Zero Team to crash as soon |
| 641 | | as this command is triggered (see above) --- or not, since |
| 642 | | it was just changed */ |
| 643 | 639 | space.write_word(cop_regs[0] + 0x1e + offset*4, space.read_word(cop_regs[0] + 0x1e + offset*4) + delta); |
| 644 | 640 | break; |
| 645 | 641 | } |
| r32065 | r32066 | |
| 2094 | 2090 | MCFG_SCREEN_ADD("screen", RASTER) |
| 2095 | 2091 | MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK) |
| 2096 | 2092 | MCFG_SCREEN_REFRESH_RATE(55.47) /* verified on pcb */ |
| 2097 | | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate *//2) |
| 2093 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500) /* not accurate */) |
| 2098 | 2094 | MCFG_SCREEN_SIZE(44*8, 34*8) |
| 2099 | 2095 | MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0, 30*8-1) |
| 2100 | 2096 | MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2) |