summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-07-02 08:50:58 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-07-02 08:50:58 -0400
commitb2d91abc703ad69092cd06c75ece9af309d7d3da (patch)
tree58bd470a81863599ec0398862b09d839d6757053
parenta88612222e94fdc447f924b4dd2c528fdc0fd1c1 (diff)
Fix build and update notes (nw)
-rw-r--r--src/devices/cpu/h6280/h6280.cpp4
-rw-r--r--src/mame/includes/decocass.h1
-rw-r--r--src/mame/video/decocass.cpp4
3 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/cpu/h6280/h6280.cpp b/src/devices/cpu/h6280/h6280.cpp
index fb0d2dc70a7..2ee98b8ed6f 100644
--- a/src/devices/cpu/h6280/h6280.cpp
+++ b/src/devices/cpu/h6280/h6280.cpp
@@ -2453,10 +2453,14 @@ void h6280_device::execute_run()
{
m_irq_pending = 1;
}
+#if 0
while (m_timer_value <= 0)
{
m_timer_value += m_timer_load;
}
+#else
+ m_timer_value += 128 * 1024;
+#endif
set_irq_line(2, ASSERT_LINE);
}
}
diff --git a/src/mame/includes/decocass.h b/src/mame/includes/decocass.h
index 71eabc792cf..eb5a3e75420 100644
--- a/src/mame/includes/decocass.h
+++ b/src/mame/includes/decocass.h
@@ -202,6 +202,7 @@ private:
void draw_missiles(bitmap_ind16 &bitmap, const rectangle &cliprect,
int missile_y_adjust, int missile_y_adjust_flip_screen,
uint8_t *missile_ram, int interleave);
+protected:
void decocass_fno( offs_t offset, uint8_t data );
};
diff --git a/src/mame/video/decocass.cpp b/src/mame/video/decocass.cpp
index 525713c6cfc..8fca6755838 100644
--- a/src/mame/video/decocass.cpp
+++ b/src/mame/video/decocass.cpp
@@ -743,6 +743,7 @@ uint32_t decocass_state::screen_update_decocass(screen_device &screen, bitmap_in
// LS148 @ 2B (DSP-8 board) sets pen priority
// priority 0: foreground - should be drawn last in some cases? what breaks with it here?
+ // DSP-8 schematics indicate that this should be priority 4, but that breaks Tornado and Pro Tennis and Mission X (priority vs boats)
m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
// priority 1: sprites
@@ -751,8 +752,5 @@ uint32_t decocass_state::screen_update_decocass(screen_device &screen, bitmap_in
// priority 2 & 3: missiles
draw_missiles(bitmap, cliprect, 1, 0, m_colorram, 0x20);
- // priority 4: foreground - drawing this here breaks Tornado and Pro Tennis and Mission X (priority vs boats)
- //m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
-
return 0;
}