Skip to content
Permalink
Browse files

SCREEN_RAW_PARAMS for System 21 (nw)

  • Loading branch information...
angelosa
angelosa committed Dec 28, 2016
1 parent b6de3bb commit 53758c0825062f28a7bdd269c69de14bb173c334
Showing with 6 additions and 9 deletions.
  1. +6 −9 src/mame/drivers/namcos21.cpp
@@ -530,6 +530,9 @@ Filter Board
#include "machine/nvram.h"

#define PTRAM_SIZE 0x20000
// TODO: basic parameters to get 60.606060 Hz, x2 is for interlace
#define MCFG_SCREEN_RAW_PARAMS_NAMCO480I \
MCFG_SCREEN_RAW_PARAMS(12288000*2, 768, 0, 496, 264*2,0,480)

#define ENABLE_LOGGING 0

@@ -1891,10 +1894,7 @@ static MACHINE_CONFIG_START( namcos21, namcos21_state )


MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(NAMCOS21_POLY_FRAME_WIDTH,NAMCOS21_POLY_FRAME_HEIGHT)
MCFG_SCREEN_VISIBLE_AREA(0,495,0,479)
MCFG_SCREEN_RAW_PARAMS_NAMCO480I
MCFG_SCREEN_UPDATE_DRIVER(namcos21_state, screen_update_namcos21)
MCFG_SCREEN_PALETTE("palette")

@@ -1953,10 +1953,7 @@ static MACHINE_CONFIG_START( driveyes, namcos21_state )
MCFG_DEVICE_ADD("gearbox", NAMCOIO_GEARBOX, 0)

MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_SIZE(NAMCOS21_POLY_FRAME_WIDTH,NAMCOS21_POLY_FRAME_HEIGHT)
MCFG_SCREEN_VISIBLE_AREA(0,495,0,479)
MCFG_SCREEN_RAW_PARAMS_NAMCO480I
MCFG_SCREEN_UPDATE_DRIVER(namcos21_state, screen_update_driveyes)
MCFG_SCREEN_PALETTE("palette")

@@ -2017,7 +2014,7 @@ static MACHINE_CONFIG_START( winrun, namcos21_state )
MCFG_NVRAM_ADD_1FILL("nvram")

MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(12288000*2, 782, 0, 496, 262*2,0,480) // TODO: basic parameters to get 60 Hz, x2 is for interlace
MCFG_SCREEN_RAW_PARAMS_NAMCO480I
MCFG_SCREEN_UPDATE_DRIVER(namcos21_state, screen_update_winrun)
MCFG_SCREEN_PALETTE("palette")

0 comments on commit 53758c0

Please sign in to comment.
You can’t perform that action at this time.