diff options
| author | 2025-04-27 02:42:17 +1000 | |
|---|---|---|
| committer | 2025-04-27 02:42:17 +1000 | |
| commit | cfc4dde4e9f4a0a36c233dfaec4145d3ddad1364 (patch) | |
| tree | 362289a97ad6c08f76c6cd16ae2c61d94ddca1eb /src/devices | |
| parent | 1ae7456ff639bee447cefda421b84c19a37bd63d (diff) | |
srcclean in preparation for release.
Diffstat (limited to 'src/devices')
| -rw-r--r-- | src/devices/bus/cbus/pc9801_118.cpp | 4 | ||||
| -rw-r--r-- | src/devices/bus/cbus/pc9801_118.h | 2 | ||||
| -rw-r--r-- | src/devices/cpu/m6809/6x09dasm.cpp | 2 | ||||
| -rw-r--r-- | src/devices/cpu/sh/sh3comn.cpp | 2 | ||||
| -rw-r--r-- | src/devices/cpu/sh/sh4comn.cpp | 34 | ||||
| -rw-r--r-- | src/devices/cpu/uml.cpp | 2 | ||||
| -rw-r--r-- | src/devices/sound/scsp.cpp | 2 | ||||
| -rw-r--r-- | src/devices/video/ppu2c0x.h | 4 | ||||
| -rw-r--r-- | src/devices/video/ppu2c0x_vt.h | 2 |
9 files changed, 27 insertions, 27 deletions
diff --git a/src/devices/bus/cbus/pc9801_118.cpp b/src/devices/bus/cbus/pc9801_118.cpp index 447da320d22..5d3dc64d939 100644 --- a/src/devices/bus/cbus/pc9801_118.cpp +++ b/src/devices/bus/cbus/pc9801_118.cpp @@ -52,8 +52,8 @@ void pc9801_118_device::device_add_mconfig(machine_config &config) // 5B is near both CS-4232 and this YM2608(config, m_opn3, XTAL_5B * 2 / 5); m_opn3->irq_handler().set([this] (int state) { m_bus->int_w<5>(state); }); -// m_opn3->port_a_read_callback().set(FUNC(pc9801_118_device::opn_porta_r)); -// m_opn3->port_b_write_callback().set(FUNC(pc9801_118_device::opn_portb_w)); +// m_opn3->port_a_read_callback().set(FUNC(pc9801_118_device::opn_porta_r)); +// m_opn3->port_b_write_callback().set(FUNC(pc9801_118_device::opn_portb_w)); m_opn3->add_route(ALL_OUTPUTS, "lspeaker", 1.00); m_opn3->add_route(ALL_OUTPUTS, "rspeaker", 1.00); diff --git a/src/devices/bus/cbus/pc9801_118.h b/src/devices/bus/cbus/pc9801_118.h index 012b95e846a..3e2dc05395a 100644 --- a/src/devices/bus/cbus/pc9801_118.h +++ b/src/devices/bus/cbus/pc9801_118.h @@ -48,7 +48,7 @@ private: required_device<pc9801_slot_device> m_bus; required_device<ym2608_device> m_opn3; -// u16 m_io_base, m_joy_sel; +// u16 m_io_base, m_joy_sel; uint8_t m_ext_reg; }; diff --git a/src/devices/cpu/m6809/6x09dasm.cpp b/src/devices/cpu/m6809/6x09dasm.cpp index 5d29ee4f503..b7b64fc63e5 100644 --- a/src/devices/cpu/m6809/6x09dasm.cpp +++ b/src/devices/cpu/m6809/6x09dasm.cpp @@ -17,7 +17,7 @@ Thanks to Franklin Bowen for bug fixes, ideas TODO: - - KONAMI EXG/TFR isn't disassembled accurately: + - KONAMI EXG/TFR isn't disassembled accurately: 0x3E/0x3F + param bit 7 clear = EXG 0x3E/0x3F + param bit 7 set = TFR diff --git a/src/devices/cpu/sh/sh3comn.cpp b/src/devices/cpu/sh/sh3comn.cpp index 8b0f149cf6d..7829097750b 100644 --- a/src/devices/cpu/sh/sh3comn.cpp +++ b/src/devices/cpu/sh/sh3comn.cpp @@ -880,7 +880,7 @@ void sh3_base_device::irr0_w(offs_t offset, uint8_t data, uint8_t mem_mask) { COMBINE_DATA(&m_irr0); logerror("'%s' (%08x): INTC unmapped internal write %02x & %02x (IRR0)\n", tag(), m_sh2_state->pc, data, mem_mask); - // not sure if this is how we should clear lines in this core... + // not sure if this is how we should clear lines in this core... if (!(data & 0x01)) execute_set_input(0, CLEAR_LINE); if (!(data & 0x02)) execute_set_input(1, CLEAR_LINE); if (!(data & 0x04)) execute_set_input(2, CLEAR_LINE); diff --git a/src/devices/cpu/sh/sh4comn.cpp b/src/devices/cpu/sh/sh4comn.cpp index 6f2831585a2..313230b70a6 100644 --- a/src/devices/cpu/sh/sh4comn.cpp +++ b/src/devices/cpu/sh/sh4comn.cpp @@ -636,12 +636,12 @@ void sh4_base_device::pteh_w(offs_t offset, uint32_t data, uint32_t mem_mask) { // for use with LDTLB opcode /* - NNNN NNNN NNNN NNNN NNNN NN-- AAAA AAAA + NNNN NNNN NNNN NNNN NNNN NN-- AAAA AAAA - N = VPM = Virtual Page Number - A = ASID = Address Space Identifier + N = VPM = Virtual Page Number + A = ASID = Address Space Identifier - same as the address table part of the utlb but with 2 unused bits (these are sourced from PTEL instead when LDTLB is called) + same as the address table part of the utlb but with 2 unused bits (these are sourced from PTEL instead when LDTLB is called) */ COMBINE_DATA(&m_pteh); } @@ -654,9 +654,9 @@ uint32_t sh4_base_device::ptel_r(offs_t offset, uint32_t mem_mask) void sh4_base_device::ptel_w(offs_t offset, uint32_t data, uint32_t mem_mask) { /* - ---P PPPP PPPP PPPP PPPP PP-V zRRz CDHW + ---P PPPP PPPP PPPP PPPP PP-V zRRz CDHW - same format as data array 1 of the utlb + same format as data array 1 of the utlb */ COMBINE_DATA(&m_ptel); } @@ -692,15 +692,15 @@ void sh4_base_device::mmucr_w(offs_t offset, uint32_t data, uint32_t mem_mask) { // MMU Control /* - LLLL LL-- BBBB BB-- CCCC CCQV ---- -T-A - - L = LRUI = Least recently used ITLB - B = URB = UTLB replace boundary - C = URC = UTLB replace counter - Q = SQMD = Store Queue Mode Bit - V = SV = Single Virtual Mode Bit - T = TI = TLB invalidate - A = AT = Address translation bit (enable) + LLLL LL-- BBBB BB-- CCCC CCQV ---- -T-A + + L = LRUI = Least recently used ITLB + B = URB = UTLB replace boundary + C = URC = UTLB replace counter + Q = SQMD = Store Queue Mode Bit + V = SV = Single Virtual Mode Bit + T = TI = TLB invalidate + A = AT = Address translation bit (enable) */ COMBINE_DATA(&m_mmucr); // MMUCR_AT @@ -823,9 +823,9 @@ uint32_t sh4_base_device::ptea_r(offs_t offset, uint32_t mem_mask) void sh4_base_device::ptea_w(offs_t offset, uint32_t data, uint32_t mem_mask) { /* - ---- ---- ---- ---- ---- ---- ---- TSSS + ---- ---- ---- ---- ---- ---- ---- TSSS - same format as data array 2 of the utlb + same format as data array 2 of the utlb */ COMBINE_DATA(&m_ptea); } diff --git a/src/devices/cpu/uml.cpp b/src/devices/cpu/uml.cpp index 1a1b29d6f67..7663ee90208 100644 --- a/src/devices/cpu/uml.cpp +++ b/src/devices/cpu/uml.cpp @@ -332,7 +332,7 @@ public: static void truncate_imm(instruction &inst) { u64 const mask = size_mask(inst); - + for (int i = 0; inst.numparams() > i; ++i) truncate_immediate(inst, i, mask); } diff --git a/src/devices/sound/scsp.cpp b/src/devices/sound/scsp.cpp index 2caec3580ae..4d8379f89a3 100644 --- a/src/devices/sound/scsp.cpp +++ b/src/devices/sound/scsp.cpp @@ -906,7 +906,7 @@ void scsp_device::UpdateRegR(int reg) ++m_MidiR; m_MidiR &= 31; } - if (m_MidiR == m_MidiW) // if the input FIFO is empty, clear the IRQ + if (m_MidiR == m_MidiW) // if the input FIFO is empty, clear the IRQ { m_irq_cb(m_IrqMidi, CLEAR_LINE); m_udata.data[0x20 / 2] &= ~8; diff --git a/src/devices/video/ppu2c0x.h b/src/devices/video/ppu2c0x.h index 01ca1f3bc93..dbb8b416e40 100644 --- a/src/devices/video/ppu2c0x.h +++ b/src/devices/video/ppu2c0x.h @@ -149,7 +149,7 @@ protected: // device_config_memory_interface overrides virtual space_config_vector memory_space_config() const override; - virtual u32 palette_entries() const noexcept override { return 0x40 * 8; } + virtual u32 palette_entries() const noexcept override { return 0x40 * 8; } TIMER_CALLBACK_MEMBER(hblank_tick); TIMER_CALLBACK_MEMBER(nmi_tick); @@ -309,7 +309,7 @@ public: protected: virtual void device_start() override ATTR_COLD; - virtual u32 palette_entries() const noexcept override { return 0x40 * 2; } + virtual u32 palette_entries() const noexcept override { return 0x40 * 2; } virtual void draw_background(u8 *line_priority) override; virtual void draw_sprite_pixel(int sprite_xpos, int color, int pixel, u8 pixel_data, bitmap_rgb32 &bitmap) override; diff --git a/src/devices/video/ppu2c0x_vt.h b/src/devices/video/ppu2c0x_vt.h index 7eb47924ab6..ae1524dc8b2 100644 --- a/src/devices/video/ppu2c0x_vt.h +++ b/src/devices/video/ppu2c0x_vt.h @@ -53,7 +53,7 @@ protected: virtual void device_start() override ATTR_COLD; virtual void device_reset() override ATTR_COLD; - virtual u32 palette_entries() const noexcept override { return (0x40 * 8) + (0x1000 * 8); } + virtual u32 palette_entries() const noexcept override { return (0x40 * 8) + (0x1000 * 8); } virtual void read_tile_plane_data(int address, int color) override; virtual void shift_tile_plane_data(uint8_t &pix) override; |
