summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/changela.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/changela.cpp')
-rw-r--r--src/mame/video/changela.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/video/changela.cpp b/src/mame/video/changela.cpp
index 4391174bde3..098359b15f4 100644
--- a/src/mame/video/changela.cpp
+++ b/src/mame/video/changela.cpp
@@ -728,12 +728,12 @@ uint32_t changela_state::screen_update_changela(screen_device &screen, bitmap_in
return 0;
}
-WRITE8_MEMBER(changela_state::changela_colors_w)
+void changela_state::changela_colors_w(offs_t offset, uint8_t data)
{
- /* Each color is combined from 3 bits from open-colelctor outputs of ram.
+ /* Each color is combined from 3 bits from open-collector outputs of ram.
Each of the bits is connected to a 220, 470, or 1000 Ohm resistor.
There is also a 680 Ohm pull-up resistor connected to 5V, and a
- 2.2k resisor connected to GND. Thus these output voltages are obtained:
+ 2.2k resistor connected to GND. Thus these output voltages are obtained:
Val | Vout
000 | 0.766 (220 || 470 || 1k || 2.2k)
001 | 0.855 (220 || 470 || 2.2k)
@@ -765,7 +765,7 @@ WRITE8_MEMBER(changela_state::changela_colors_w)
}
-WRITE8_MEMBER(changela_state::changela_mem_device_select_w)
+void changela_state::changela_mem_device_select_w(uint8_t data)
{
m_mem_dev_selected = (data & 0x07) * 0x800;
m_tree_en = (data & 0x30) >> 4;
@@ -781,7 +781,7 @@ WRITE8_MEMBER(changela_state::changela_mem_device_select_w)
*/
}
-WRITE8_MEMBER(changela_state::changela_mem_device_w)
+void changela_state::changela_mem_device_w(offs_t offset, uint8_t data)
{
m_memory_devices[m_mem_dev_selected + offset] = data;
@@ -793,18 +793,18 @@ WRITE8_MEMBER(changela_state::changela_mem_device_w)
}
-READ8_MEMBER(changela_state::changela_mem_device_r)
+uint8_t changela_state::changela_mem_device_r(offs_t offset)
{
return m_memory_devices[m_mem_dev_selected + offset];
}
-WRITE8_MEMBER(changela_state::changela_slope_rom_addr_hi_w)
+void changela_state::changela_slope_rom_addr_hi_w(uint8_t data)
{
m_slopeROM_bank = (data & 0x03) << 9;
}
-WRITE8_MEMBER(changela_state::changela_slope_rom_addr_lo_w)
+void changela_state::changela_slope_rom_addr_lo_w(uint8_t data)
{
m_horizon = data;
}