From 3c2a9dfa27d6c984e69cfed03a7010c4fe3d0757 Mon Sep 17 00:00:00 2001 From: angelosa Date: Thu, 6 Oct 2022 00:57:13 +0200 Subject: atari/antic.cpp: display area is 240 in both NTSC and PAL, fixes cut top/bottom in crystalr and mileage --- src/mame/atari/antic.h | 6 +++--- src/mame/atari/atari400.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mame/atari/antic.h b/src/mame/atari/antic.h index ac16dac1411..8e0000d7240 100644 --- a/src/mame/atari/antic.h +++ b/src/mame/atari/antic.h @@ -22,8 +22,8 @@ class antic_device : public device_t, public device_video_interface { private: static constexpr unsigned VBL_END = 8; // vblank ends in this scanline - static constexpr unsigned VDATA_START = 11; // video display begins in this scanline - static constexpr unsigned VDATA_END = 244; // video display ends in this scanline + static constexpr unsigned VDATA_START = 8; // video display begins in this scanline + static constexpr unsigned VDATA_END = 248; // video display ends in this scanline static constexpr unsigned VBL_START = 248; // vblank starts in this scanline public: @@ -40,7 +40,7 @@ public: static constexpr unsigned MIN_X = ((HWIDTH - 42) / 2) * 8; static constexpr unsigned MAX_X = MIN_X + (42 * 8) - 1; static constexpr unsigned MIN_Y = VDATA_START; - static constexpr unsigned MAX_Y = VDATA_END - 8 - 1; + static constexpr unsigned MAX_Y = VDATA_END - 1; // construction/destruction antic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); diff --git a/src/mame/atari/atari400.cpp b/src/mame/atari/atari400.cpp index 19ebaaf0b7c..d7776c49731 100644 --- a/src/mame/atari/atari400.cpp +++ b/src/mame/atari/atari400.cpp @@ -2126,7 +2126,7 @@ void a400_state::a800xl_pia_pb_w(uint8_t data) * **************************************************************/ -// note: both screen setups are actually non-interlaced +// note: both screen setups are actually non-interlaced, and always 240 lines void a400_state::config_ntsc_screen(machine_config &config) { // 15.69975KHz x 59.9271 Hz @@ -2137,7 +2137,7 @@ void a400_state::config_ntsc_screen(machine_config &config) void a400_state::config_pal_screen(machine_config &config) { // 15.55655KHz x 49.86074 Hz, master clock rated at 14.18757 MHz - // TODO: must have bigger vertical overscan, confirm hsync + // TODO: confirm hsync m_screen->set_raw(XTAL(3'546'800) * 4, 912, antic_device::MIN_X, antic_device::MAX_X, 312, antic_device::MIN_Y, antic_device::MAX_Y); m_gtia->set_region(GTIA_PAL); } -- cgit v1.2.3