misc/epos.cpp: Add screen raw parameters for Tristar 8000 hardware

This commit is contained in:
AJR 2024-12-08 13:43:58 -05:00
parent 45a7af3bac
commit 94a31a42ac

View File

@ -704,7 +704,7 @@ void tristar9000_state::machine_reset()
void tristar8000_state::tristar8000(machine_config &config) // EPOS TRISTAR 8000 PCB
{
// basic machine hardware
Z80(config, m_maincpu, XTAL(11'000'000) / 4); // 2.75 MHz schematics confirm 11MHz XTAL (see notes)
Z80(config, m_maincpu, 11_MHz_XTAL / 4); // 2.75 MHz schematics confirm 11MHz XTAL (see notes)
m_maincpu->set_addrmap(AS_PROGRAM, &tristar8000_state::prg_map);
m_maincpu->set_addrmap(AS_IO, &tristar8000_state::io_map);
m_maincpu->set_vblank_int("screen", FUNC(tristar8000_state::irq0_line_hold));
@ -713,17 +713,14 @@ void tristar8000_state::tristar8000(machine_config &config) // EPOS TRISTAR 8000
// video hardware
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_refresh_hz(60);
screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); // not accurate
screen.set_size(272, 241);
screen.set_visarea(0, 271, 0, 235);
screen.set_raw(11_MHz_XTAL / 2, 352, 0, 272, 258, 0, 236); // confirmed from schematics
screen.set_screen_update(FUNC(tristar8000_state::screen_update));
PALETTE(config, m_palette, FUNC(tristar8000_state::palette), 32);
// sound hardware
SPEAKER(config, "mono").front_center();
AY8912(config, "aysnd", XTAL(11'000'000) / 16).add_route(ALL_OUTPUTS, "mono", 1.0); // 0.6875 MHz, confirmed from schematics
AY8912(config, "aysnd", 11_MHz_XTAL / 16).add_route(ALL_OUTPUTS, "mono", 1.0); // 0.6875 MHz, confirmed from schematics
}