diff options
author | 2013-05-05 06:33:01 +0000 | |
---|---|---|
committer | 2013-05-05 06:33:01 +0000 | |
commit | fb77466bd3802fa6fa671b71b65e32646b810cf8 (patch) | |
tree | 1a23bfcf49b9426ffaaf40864da23456436cd1bb /src/mess/drivers/applix.c | |
parent | f110e1080ba3b94351defab92a22d42e36da05e8 (diff) |
(MESS) Applix: Fixed display of 640x200 text
Diffstat (limited to 'src/mess/drivers/applix.c')
-rw-r--r-- | src/mess/drivers/applix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mess/drivers/applix.c b/src/mess/drivers/applix.c index ecee4e89b24..7591894a501 100644 --- a/src/mess/drivers/applix.c +++ b/src/mess/drivers/applix.c @@ -240,12 +240,12 @@ static MC6845_UPDATE_ROW( applix_update_row ) for (x = 0; x < x_count; x++) { - mem = vidbase + ma*4 + x + ra*x_count; - chr = state->m_base[mem]; if (BIT(state->m_pa, 3)) // 640 x 200 x 4of16 mode { + mem = vidbase + ma + x + ((y%4)<<12); + chr = state->m_base[mem]; for (i = 0; i < 8; i++) { *p++ = palette[state->m_palette_latch[chr>>14]]; @@ -255,6 +255,8 @@ static MC6845_UPDATE_ROW( applix_update_row ) else // 320 x 200 x 16 mode { + mem = vidbase + ma + x + ((y%4)<<12); + chr = state->m_expansion[mem]; for (i = 0; i < 4; i++) { *p++ = palette[chr>>12]; |