stactics: Use raw parameters for screen timing

This commit is contained in:
AJR 2020-08-11 21:33:20 -04:00
parent b74bfd5538
commit 8f6b52a3c2
2 changed files with 2 additions and 5 deletions

View File

@ -311,7 +311,7 @@ void stactics_state::machine_start()
void stactics_state::stactics(machine_config &config)
{
/* basic machine hardware */
I8080(config, m_maincpu, 1933560);
I8080(config, m_maincpu, 15.46848_MHz_XTAL / 8); // divider not verified
m_maincpu->set_addrmap(AS_PROGRAM, &stactics_state::main_map);
m_maincpu->set_vblank_int("screen", FUNC(stactics_state::interrupt));

View File

@ -430,10 +430,7 @@ void stactics_state::stactics_video(machine_config &config)
{
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_video_attributes(VIDEO_ALWAYS_UPDATE);
screen.set_refresh_hz(60);
screen.set_vblank_time(ATTOSECONDS_IN_USEC(0));
screen.set_size(32*8, 32*8);
screen.set_visarea(0*8, 32*8-1, 0*8, 30*8-1);
screen.set_raw(15.46848_MHz_XTAL / 3, 328, 0, 256, 262, 0, 232);
screen.set_screen_update(FUNC(stactics_state::screen_update));
screen.set_palette("palette");