saa5050: Implemented TLC (Transmitted Large Character) output line.

This commit is contained in:
Nigel Barnes 2020-11-14 17:13:27 +00:00
parent e006e93ad5
commit 973477a193
2 changed files with 12 additions and 1 deletions

View File

@ -570,6 +570,16 @@ WRITE_LINE_MEMBER( saa5050_device::lose_w )
}
//-------------------------------------------------
// tlc_r - transmitted large character
//-------------------------------------------------
READ_LINE_MEMBER( saa5050_device::tlc_r )
{
return !m_double_height_bottom_row;
}
//-------------------------------------------------
// write - character data write
//-------------------------------------------------
@ -636,7 +646,7 @@ uint32_t saa5050_device::screen_update(screen_device &screen, bitmap_rgb32 &bitm
lose_w(1);
lose_w(0);
int ssy = m_double_height_bottom_row ? sy - 1 : sy;
int ssy = tlc_r() ? sy : sy - 1;
offs_t video_ram_addr = ssy * m_size;
for (int sx = 0; sx < m_cols; sx++)

View File

@ -51,6 +51,7 @@ public:
DECLARE_WRITE_LINE_MEMBER( crs_w );
DECLARE_WRITE_LINE_MEMBER( dew_w );
DECLARE_WRITE_LINE_MEMBER( lose_w );
DECLARE_READ_LINE_MEMBER( tlc_r );
void write(uint8_t data);
DECLARE_WRITE_LINE_MEMBER( f1_w );
DECLARE_WRITE_LINE_MEMBER( tr6_w );