summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/xavix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/xavix.cpp')
-rw-r--r--src/mame/video/xavix.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/xavix.cpp b/src/mame/video/xavix.cpp
index dd66a532eca..860c68b2457 100644
--- a/src/mame/video/xavix.cpp
+++ b/src/mame/video/xavix.cpp
@@ -18,7 +18,7 @@ inline uint8_t xavix_state::get_next_bit()
// going through memory is slow, try not to do it too often!
if (m_tmp_databit == 0)
{
- m_bit = m_maincpu->read_full_special(m_tmp_dataaddress);
+ m_bit = m_maincpu->read_full_data_sp(m_tmp_dataaddress);
}
uint8_t ret = m_bit >> m_tmp_databit;
@@ -220,15 +220,15 @@ void xavix_state::draw_tilemap_line(screen_device &screen, bitmap_ind16 &bitmap,
int tile = 0;
// the register being 0 probably isn't the condition here
- if (tileregs[0x0] != 0x00) tile |= m_maincpu->read_full_special((tileregs[0x0] << 8) + count);
+ if (tileregs[0x0] != 0x00) tile |= m_maincpu->read_full_data_sp((tileregs[0x0] << 8) + count);
// only read the next byte if we're not in an 8-bit mode
if (((tileregs[0x7] & 0x7f) != 0x00) && ((tileregs[0x7] & 0x7f) != 0x08))
- tile |= m_maincpu->read_full_special((tileregs[0x1] << 8) + count) << 8;
+ tile |= m_maincpu->read_full_data_sp((tileregs[0x1] << 8) + count) << 8;
// 24 bit modes can use reg 0x2, otherwise it gets used as extra attribute in other modes
if (alt_tileaddressing2 == 2)
- tile |= m_maincpu->read_full_special((tileregs[0x2] << 8) + count) << 16;
+ tile |= m_maincpu->read_full_data_sp((tileregs[0x2] << 8) + count) << 16;
int bpp = (tileregs[0x3] & 0x0e) >> 1;
@@ -284,7 +284,7 @@ void xavix_state::draw_tilemap_line(screen_device &screen, bitmap_ind16 &bitmap,
// Tilemap specific mode extension with an 8-bit per tile attribute, works in all modes except 24-bit (no room for attribute) and header (not needed?)
if (tileregs[0x7] & 0x08)
{
- uint8_t extraattr = m_maincpu->read_full_special((tileregs[0x2] << 8) + count);
+ uint8_t extraattr = m_maincpu->read_full_data_sp((tileregs[0x2] << 8) + count);
// make use of the extraattr stuff?
pal = (extraattr & 0xf0) >> 4;
zval = (extraattr & 0x0f) >> 0;
@@ -802,7 +802,7 @@ WRITE8_MEMBER(xavix_state::spritefragment_dma_trg_w)
{
for (int i = 0; i < len; i++)
{
- uint8_t dat = m_maincpu->read_full_special(src + i);
+ uint8_t dat = m_maincpu->read_full_data_sp(src + i);
m_fragment_sprite[(dst + i) & 0x7ff] = dat;
}
}