mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
segaic24.cpp: kill tile32/char32 tranpolines (nw)
This commit is contained in:
parent
a7dcee5667
commit
995336b567
@ -1458,12 +1458,12 @@ static ADDRESS_MAP_START( model2_base_mem, AS_PROGRAM, 32, model2_state )
|
||||
|
||||
AM_RANGE(0x00f00000, 0x00f0000f) AM_READWRITE(timers_r, timers_w)
|
||||
|
||||
AM_RANGE(0x01000000, 0x0100ffff) AM_DEVREADWRITE("tile", segas24_tile_device, tile32_r, tile32_w) AM_MIRROR(0x110000)
|
||||
AM_RANGE(0x01000000, 0x0100ffff) AM_DEVREADWRITE16("tile", segas24_tile_device, tile_r, tile_w,0xffffffff) AM_MIRROR(0x110000)
|
||||
AM_RANGE(0x01020000, 0x01020003) AM_WRITENOP AM_MIRROR(0x100000) // Unknown, always 0
|
||||
AM_RANGE(0x01040000, 0x01040003) AM_WRITENOP AM_MIRROR(0x100000) // Horizontal synchronization register
|
||||
AM_RANGE(0x01060000, 0x01060003) AM_WRITENOP AM_MIRROR(0x100000) // Vertical synchronization register
|
||||
AM_RANGE(0x01070000, 0x01070003) AM_WRITENOP AM_MIRROR(0x100000) // Video synchronization switch
|
||||
AM_RANGE(0x01080000, 0x010fffff) AM_DEVREADWRITE("tile", segas24_tile_device, char32_r, char32_w) AM_MIRROR(0x100000)
|
||||
AM_RANGE(0x01080000, 0x010fffff) AM_DEVREADWRITE16("tile", segas24_tile_device, char_r, char_w,0xffffffff) AM_MIRROR(0x100000)
|
||||
|
||||
AM_RANGE(0x01800000, 0x01803fff) AM_READWRITE16(model2_palette_r,model2_palette_w,0xffffffff)
|
||||
AM_RANGE(0x01810000, 0x0181bfff) AM_RAM AM_SHARE("colorxlat")
|
||||
|
@ -555,29 +555,6 @@ WRITE16_MEMBER(segas24_tile_device::char_w)
|
||||
gfx(char_gfx_index)->mark_dirty(offset / 16);
|
||||
}
|
||||
|
||||
READ32_MEMBER(segas24_tile_device::tile32_r)
|
||||
{
|
||||
return tile_r(space, offset*2, mem_mask&0xffff) | tile_r(space, (offset*2)+1, mem_mask>>16)<<16;
|
||||
}
|
||||
|
||||
READ32_MEMBER(segas24_tile_device::char32_r)
|
||||
{
|
||||
return char_r(space, offset*2, mem_mask&0xffff) | char_r(space, (offset*2)+1, mem_mask>>16)<<16;
|
||||
}
|
||||
|
||||
WRITE32_MEMBER(segas24_tile_device::tile32_w)
|
||||
{
|
||||
tile_w(space, offset*2, data&0xffff, mem_mask&0xffff);
|
||||
tile_w(space, (offset*2)+1, data>>16, mem_mask>>16);
|
||||
}
|
||||
|
||||
WRITE32_MEMBER(segas24_tile_device::char32_w)
|
||||
{
|
||||
char_w(space, offset*2, data&0xffff, mem_mask&0xffff);
|
||||
char_w(space, (offset*2)+1, data>>16, mem_mask>>16);
|
||||
}
|
||||
|
||||
|
||||
segas24_sprite_device::segas24_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: device_t(mconfig, S24SPRITE, tag, owner, clock)
|
||||
{
|
||||
|
@ -39,11 +39,6 @@ public:
|
||||
DECLARE_READ16_MEMBER(char_r);
|
||||
DECLARE_WRITE16_MEMBER(char_w);
|
||||
|
||||
DECLARE_READ32_MEMBER(tile32_r);
|
||||
DECLARE_WRITE32_MEMBER(tile32_w);
|
||||
DECLARE_READ32_MEMBER(char32_r);
|
||||
DECLARE_WRITE32_MEMBER(char32_w);
|
||||
|
||||
void draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int layer, int pri, int flags);
|
||||
void draw(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, int layer, int pri, int flags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user