summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/apple2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/apple2.c')
-rw-r--r--src/mess/drivers/apple2.c29
1 files changed, 25 insertions, 4 deletions
diff --git a/src/mess/drivers/apple2.c b/src/mess/drivers/apple2.c
index 602a5f3f3f0..4c03b3fb63c 100644
--- a/src/mess/drivers/apple2.c
+++ b/src/mess/drivers/apple2.c
@@ -368,7 +368,7 @@ PALETTE_INIT_MEMBER(napple2_state, apple2)
UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
// always update the flash timer here so it's smooth regardless of mode switches
- m_video->m_flash = ((machine().time() * 4).seconds & 1) ? true : false;
+ m_video->m_flash = ((machine().time() * 4).seconds() & 1) ? true : false;
if (m_video->m_graphics)
{
@@ -377,7 +377,14 @@ UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
if (m_video->m_mix)
{
m_video->hgr_update(screen, bitmap, cliprect, 0, 159);
- m_video->text_update_orig(screen, bitmap, cliprect, 160, 191);
+ if (!strcmp(machine().system().name, "ivelultr"))
+ {
+ m_video->text_update_ultr(screen, bitmap, cliprect, 160, 191);
+ }
+ else
+ {
+ m_video->text_update_orig(screen, bitmap, cliprect, 160, 191);
+ }
}
else
{
@@ -389,7 +396,14 @@ UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
if (m_video->m_mix)
{
m_video->lores_update(screen, bitmap, cliprect, 0, 159);
- m_video->text_update_orig(screen, bitmap, cliprect, 160, 191);
+ if (!strcmp(machine().system().name, "ivelultr"))
+ {
+ m_video->text_update_ultr(screen, bitmap, cliprect, 160, 191);
+ }
+ else
+ {
+ m_video->text_update_orig(screen, bitmap, cliprect, 160, 191);
+ }
}
else
{
@@ -399,7 +413,14 @@ UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
else
{
- m_video->text_update_orig(screen, bitmap, cliprect, 0, 191);
+ if (!strcmp(machine().system().name, "ivelultr"))
+ {
+ m_video->text_update_ultr(screen, bitmap, cliprect, 0, 191);
+ }
+ else
+ {
+ m_video->text_update_orig(screen, bitmap, cliprect, 0, 191);
+ }
}
return 0;