mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
a7800.c - Modernized screen parameters for NTSC & PAL. [Robert Tuccitto]
Typo fix for palette (nw)
This commit is contained in:
parent
b5091762d7
commit
c6029980a3
@ -65,6 +65,8 @@
|
|||||||
Phase Shifts 24.7 through 27.7 degrees with 0.5 degree
|
Phase Shifts 24.7 through 27.7 degrees with 0.5 degree
|
||||||
increments documented. Phase Shift 26.2 degrees made active.
|
increments documented. Phase Shift 26.2 degrees made active.
|
||||||
Fixed typo under 26.7 7$.
|
Fixed typo under 26.7 7$.
|
||||||
|
|
||||||
|
2013/10/27 Robert Tuccitto Modernized screen parameters for NTSC & PAL.
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
@ -925,10 +927,7 @@ static MACHINE_CONFIG_START( a7800_ntsc, a7800_state )
|
|||||||
|
|
||||||
/* video hardware */
|
/* video hardware */
|
||||||
MCFG_SCREEN_ADD("screen", RASTER)
|
MCFG_SCREEN_ADD("screen", RASTER)
|
||||||
MCFG_SCREEN_REFRESH_RATE(60)
|
MCFG_SCREEN_RAW_PARAMS( 7159090, 456, 0, 320, 262, 26, 26 + 192 + 30 )
|
||||||
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
|
|
||||||
MCFG_SCREEN_SIZE(640,262)
|
|
||||||
MCFG_SCREEN_VISIBLE_AREA(0,319,25,45+204)
|
|
||||||
MCFG_SCREEN_UPDATE_DRIVER(a7800_state, screen_update_a7800)
|
MCFG_SCREEN_UPDATE_DRIVER(a7800_state, screen_update_a7800)
|
||||||
|
|
||||||
MCFG_PALETTE_LENGTH(ARRAY_LENGTH(a7800_palette))
|
MCFG_PALETTE_LENGTH(ARRAY_LENGTH(a7800_palette))
|
||||||
@ -965,9 +964,7 @@ static MACHINE_CONFIG_DERIVED( a7800_pal, a7800_ntsc )
|
|||||||
// MCFG_TIMER_ADD_SCANLINE("scantimer", a7800_interrupt, "screen", 0, 1)
|
// MCFG_TIMER_ADD_SCANLINE("scantimer", a7800_interrupt, "screen", 0, 1)
|
||||||
|
|
||||||
MCFG_SCREEN_MODIFY( "screen" )
|
MCFG_SCREEN_MODIFY( "screen" )
|
||||||
MCFG_SCREEN_REFRESH_RATE(50)
|
MCFG_SCREEN_RAW_PARAMS( 7093788, 456, 0, 320, 312, 34, 34 + 228 + 30 )
|
||||||
MCFG_SCREEN_SIZE(640,312)
|
|
||||||
MCFG_SCREEN_VISIBLE_AREA(0,319,50,50+225)
|
|
||||||
MCFG_PALETTE_INIT_OVERRIDE(a7800_state, a7800p )
|
MCFG_PALETTE_INIT_OVERRIDE(a7800_state, a7800p )
|
||||||
|
|
||||||
/* sound hardware */
|
/* sound hardware */
|
||||||
|
Loading…
Reference in New Issue
Block a user