diff options
author | angelosa <lordkale4@gmail.com> | 2018-08-04 23:37:40 +0200 |
---|---|---|
committer | angelosa <lordkale4@gmail.com> | 2018-08-04 23:38:27 +0200 |
commit | 0ef51bb6fbfb4dd38fcad4ee28f8fb904640bf10 (patch) | |
tree | 1db1b8f6e3edde7a3e756dbc3811272c50e774c0 | |
parent | 0f028a8bd2afcb32ccdab0291eb3a798a98a1afc (diff) |
mainevt.cpp: added proper screen parameters [Corrado Tomaselli]
(also added some extra notes before I forget)
-rw-r--r-- | src/mame/drivers/mainevt.cpp | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/mame/drivers/mainevt.cpp b/src/mame/drivers/mainevt.cpp index a9e672a6556..e5d3b83e146 100644 --- a/src/mame/drivers/mainevt.cpp +++ b/src/mame/drivers/mainevt.cpp @@ -11,14 +11,21 @@ Notes: - Schematics show a palette/work RAM bank selector, but this doesn't seem to be used? -- In Devastators, shadows don't work. Bit 7 of the sprite attribute is always 0, +- Devastators: has player-trench collision detection issues, player isn't + supposed to go through them. + +- Devastators: shadows don't work. Bit 7 of the sprite attribute is always 0, could there be a global enable flag in the 051960? This is particularly evident in level 2 where plane shadows cover other sprites. The priority/shadow encoder PROM is quite complex, however bits 5-7 of the sprite attribute don't seem to be used, at least not in the first two levels, so the PROM just maps to the fixed priority order currently implemented. -- In Devastators, sprite zooming for the planes in level 2 is particularly bad. +- Devastators: sprite zooming for the planes in level 2 is particularly bad. + +- Devastators: title screen white backdrop is always supposed to flicker, + it currently do that only from second/fourth attract cycles (supposed to always + flicker from PCB video); ***************************************************************************/ @@ -425,10 +432,11 @@ MACHINE_CONFIG_START(mainevt_state::mainevt) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_REFRESH_RATE(60) - MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) - MCFG_SCREEN_SIZE(64*8, 32*8) - MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 ) +// MCFG_SCREEN_REFRESH_RATE(60) +// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) +// MCFG_SCREEN_SIZE(64*8, 32*8) +// MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 ) + MCFG_SCREEN_RAW_PARAMS(XTAL(24'000'000)/3, 528, 14*8, (64-14)*8, 256, 16, 240) // assume 59.17 like Devastators MCFG_SCREEN_UPDATE_DRIVER(mainevt_state, screen_update_mainevt) MCFG_SCREEN_PALETTE("palette") @@ -473,10 +481,11 @@ MACHINE_CONFIG_START(mainevt_state::devstors) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_REFRESH_RATE(60) - MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) - MCFG_SCREEN_SIZE(64*8, 32*8) - MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 ) +// MCFG_SCREEN_REFRESH_RATE(60) +// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) +// MCFG_SCREEN_SIZE(64*8, 32*8) +// MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 ) + MCFG_SCREEN_RAW_PARAMS(XTAL(24'000'000)/3, 528, 13*8, (64-13)*8, 256, 16, 240) // measured 59.17 MCFG_SCREEN_UPDATE_DRIVER(mainevt_state, screen_update_dv) MCFG_SCREEN_PALETTE("palette") |