mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
atari/antic.cpp: display area is 240 in both NTSC and PAL, fixes cut top/bottom in crystalr and mileage
This commit is contained in:
parent
2e341912d5
commit
3c2a9dfa27
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user