From 63f9a01f8c5d43b9cfe68c2d401a84647d19c10e Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 29 Jun 2016 08:34:30 +0200 Subject: Cleanup and version bump --- src/devices/bus/electron/exp.cpp | 2 +- src/devices/bus/electron/exp.h | 146 ++++++++++++++++----------------- src/devices/bus/gameboy/mbc.cpp | 33 ++++---- src/devices/bus/gameboy/mbc.h | 2 +- src/devices/bus/gba/gba_slot.h | 2 +- src/devices/bus/gba/rom.cpp | 73 ++++++++--------- src/devices/bus/gba/rom.h | 34 ++++---- src/devices/bus/isa/cga.cpp | 8 +- src/devices/bus/macpds/macpds.h | 2 +- src/devices/bus/megadrive/rom.cpp | 2 +- src/devices/bus/megadrive/rom.h | 2 +- src/devices/bus/nes/bootleg.cpp | 27 +++--- src/devices/bus/nes/bootleg.h | 4 +- src/devices/bus/nes/kaiser.cpp | 37 ++++----- src/devices/bus/nes/kaiser.h | 12 +-- src/devices/bus/nubus/nubus_image.h | 2 +- src/devices/bus/pofo/exp.h | 76 ++++++++--------- src/devices/bus/pofo/hpc101.h | 6 +- src/devices/bus/pofo/hpc102.h | 10 +-- src/devices/bus/sg1000_exp/fm_unit.cpp | 3 +- src/devices/bus/sg1000_exp/sk1100.cpp | 1 - 21 files changed, 239 insertions(+), 245 deletions(-) (limited to 'src/devices/bus') diff --git a/src/devices/bus/electron/exp.cpp b/src/devices/bus/electron/exp.cpp index b13f6534002..ced8056d2eb 100644 --- a/src/devices/bus/electron/exp.cpp +++ b/src/devices/bus/electron/exp.cpp @@ -2,7 +2,7 @@ // copyright-holders:Nigel Barnes /********************************************************************** - Electron Expansion Port emulation + Electron Expansion Port emulation **********************************************************************/ diff --git a/src/devices/bus/electron/exp.h b/src/devices/bus/electron/exp.h index cfcb7478a10..2f59faec38a 100644 --- a/src/devices/bus/electron/exp.h +++ b/src/devices/bus/electron/exp.h @@ -2,84 +2,84 @@ // copyright-holders:Nigel Barnes /********************************************************************** - Electron Expansion Port emulation + Electron Expansion Port emulation ********************************************************************** - Pinout: - - 18V AC 2 1 18V AC - AC RETURN 4 3 AC RETURN - -5V 6 5 -5V - 0V 8 7 0V - +5V 10 9 +5V - 16MHz 12 11 SOUND O/P - PHI OUT 14 13 ÷13 IN - NMI 16 15 RST - R/W 18 17 IRQ - D6 20 19 D7 - D4 22 21 D5 - D2 24 23 D3 - D0 26 25 D1 - NC 28 27 RDY - SLOT 30 29 SLOT - A14 32 31 A15 - A12 34 33 A13 - A10 36 35 A11 - A0 38 37 A9 - A2 40 39 A1 - A4 42 41 A3 - A6 44 43 A5 - A8 46 45 A7 - 0V 48 47 0V - +5V 50 49 +5V - - Signal Definitions: - - 18V AC (pins 1,2) - These lines are connected directly to the output from the Electron mains power + Pinout: + + 18V AC 2 1 18V AC + AC RETURN 4 3 AC RETURN + -5V 6 5 -5V + 0V 8 7 0V + +5V 10 9 +5V + 16MHz 12 11 SOUND O/P + PHI OUT 14 13 13 IN + NMI 16 15 RST + R/W 18 17 IRQ + D6 20 19 D7 + D4 22 21 D5 + D2 24 23 D3 + D0 26 25 D1 + NC 28 27 RDY + SLOT 30 29 SLOT + A14 32 31 A15 + A12 34 33 A13 + A10 36 35 A11 + A0 38 37 A9 + A2 40 39 A1 + A4 42 41 A3 + A6 44 43 A5 + A8 46 45 A7 + 0V 48 47 0V + +5V 50 49 +5V + + Signal Definitions: + + 18V AC (pins 1,2) - These lines are connected directly to the output from the Electron mains power AC RETURNS (pins 3,4) - adaptor. A total of 6W may be drawn from these lines as long as no power is - taken from +5V (pins 9,10,49,50). For safety reasons these lines must never - be used as an AC input to the Electron. - -5V (pins 5,6) - A -5V supply from the Electron. Up to 20mA (total) may safely be drawn - from this line by expansion modules. - 0V (pins 7,8,47,48) - Ground. Expansion modules with their own power supply must have the 0V - lines commoned with the Electron. + taken from +5V (pins 9,10,49,50). For safety reasons these lines must never + be used as an AC input to the Electron. + -5V (pins 5,6) - A -5V supply from the Electron. Up to 20mA (total) may safely be drawn + from this line by expansion modules. + 0V (pins 7,8,47,48) - Ground. Expansion modules with their own power supply must have the 0V + lines commoned with the Electron. +5V (pins 9,10,49,50) - A +5V supply from the Electron. Up to 500mA (total) may safely be drawn - from this line by expansion modules as long as no power is taken from 18V - AC (pins 1,2,3,4). - SOUND O/P (pin 11) - Sound output. A 3V peak to peak source via a 1K series resistor from the - Electron ULA. - 16 MHz (pin 12) - 16 Megahertz from the Electron main oscillator. This output may be used - for clock generation within an expansion module. - /13 IN (pin 13) - 16 Megahertz divided by 13. This output may be used for baud rate - generation. If divided by 1024 it will give approximately 1200Hz. - PHI OUT (pin 14) - The 6502 input clock. The low time is nominally 250ns. The high time may - be 250ns (2MHz operation when reading ROMs) or 750ns or 1250ns - (stretched clock for a 1MHz access, the length depending on the phase of the - 2MHz clock) or up to 40us (if in modes 0-3) - RST (pin 15) - Reset (active low). This is an OUTPUT ONLY for the system reset line. It - may be used to initialise expansion modules on power up and when the - BREAK key is pressed. - NMI (pin 16) - Non-Maskable Interrupt (negative edge triggered). This is the system NMI - line which is open collector (wire-OR) and may be asserted by an expansion - module. The pull-up resistor on this line inside the ULA is 3k3. Care must - be taken to avoid masking other interrupts by holding the line low. Using - NMI on the Electron requires knowledge of operating system protocols. - IRQ (pin 17) - Interrupt Request (active low). This is the system IRQ line which is open - collector (wire-OR) and may be asserted by an expansion module. The pull- - up resistor on this line inside the ULA is 3k3. It is essential for the correct - operation of the machine that interrupts to not occur until the software is - capable of dealing with them. Interrupts on the Electron expansion bus should - therefore be disabled on power-up and reset. Significant use of interrupt - service time may affect other machine functions, eg the real time clock. - R/W (pin 18) - The system read/write line from the 6502. - D7-D0 (pins 19-26) - Bi-directional data bus. The direction of data is determined by R/W. - RDY (pin 27) - 6502 ready line (active low). May be asserted by an expansion module to - stop the processor when reading slow memory. This line works on read only - (R/W=1). - (pin 28) - No connection - (pins 29,30) - Polarising key connector. - A0-A15 (pins 31-46) - 6502 address bus. + from this line by expansion modules as long as no power is taken from 18V + AC (pins 1,2,3,4). + SOUND O/P (pin 11) - Sound output. A 3V peak to peak source via a 1K series resistor from the + Electron ULA. + 16 MHz (pin 12) - 16 Megahertz from the Electron main oscillator. This output may be used + for clock generation within an expansion module. + /13 IN (pin 13) - 16 Megahertz divided by 13. This output may be used for baud rate + generation. If divided by 1024 it will give approximately 1200Hz. + PHI OUT (pin 14) - The 6502 input clock. The low time is nominally 250ns. The high time may + be 250ns (2MHz operation when reading ROMs) or 750ns or 1250ns + (stretched clock for a 1MHz access, the length depending on the phase of the + 2MHz clock) or up to 40us (if in modes 0-3) + RST (pin 15) - Reset (active low). This is an OUTPUT ONLY for the system reset line. It + may be used to initialise expansion modules on power up and when the + BREAK key is pressed. + NMI (pin 16) - Non-Maskable Interrupt (negative edge triggered). This is the system NMI + line which is open collector (wire-OR) and may be asserted by an expansion + module. The pull-up resistor on this line inside the ULA is 3k3. Care must + be taken to avoid masking other interrupts by holding the line low. Using + NMI on the Electron requires knowledge of operating system protocols. + IRQ (pin 17) - Interrupt Request (active low). This is the system IRQ line which is open + collector (wire-OR) and may be asserted by an expansion module. The pull- + up resistor on this line inside the ULA is 3k3. It is essential for the correct + operation of the machine that interrupts to not occur until the software is + capable of dealing with them. Interrupts on the Electron expansion bus should + therefore be disabled on power-up and reset. Significant use of interrupt + service time may affect other machine functions, eg the real time clock. + R/W (pin 18) - The system read/write line from the 6502. + D7-D0 (pins 19-26) - Bi-directional data bus. The direction of data is determined by R/W. + RDY (pin 27) - 6502 ready line (active low). May be asserted by an expansion module to + stop the processor when reading slow memory. This line works on read only + (R/W=1). + (pin 28) - No connection + (pins 29,30) - Polarising key connector. + A0-A15 (pins 31-46) - 6502 address bus. **********************************************************************/ diff --git a/src/devices/bus/gameboy/mbc.cpp b/src/devices/bus/gameboy/mbc.cpp index 3192bcda9ce..cf5a6f44a98 100644 --- a/src/devices/bus/gameboy/mbc.cpp +++ b/src/devices/bus/gameboy/mbc.cpp @@ -452,7 +452,7 @@ void gb_rom_mbc3_device::update_rtc() { system_time curtime; machine().current_datetime(curtime); - + m_rtc_regs[0] = curtime.local_time.second; m_rtc_regs[1] = curtime.local_time.minute; m_rtc_regs[2] = curtime.local_time.hour; @@ -700,7 +700,7 @@ WRITE8_MEMBER(gb_rom_m161_device::write_bank) { // the mapper (74HC161A) only has data lines D2..D0 data &= 0x07; - + // A15 is connected to #LOAD and overwritten by QD (m_load_disable) switch (offset & 0x8000) { @@ -719,31 +719,30 @@ WRITE8_MEMBER(gb_rom_m161_device::write_bank) READ8_MEMBER(gb_rom_mmm01_device::read_rom) { - UINT16 romb = m_romb & ~m_romb_nwe; UINT16 romb_base = m_romb & (0x1e0 | m_romb_nwe); UINT8 ramb_masked = ((offset & 0x4000) | m_mode ? m_ramb : m_ramb & ~0x03); - + // zero-adjust RA18..RA14 romb = (romb ? romb : 0x01); // if unmapped, force romb = (m_map ? romb : 0x01); - + // RB 0 logic if (!(offset & 0x4000)) romb = 0x00; - + // combine with base romb |= romb_base; - + // multiplex with AA14..AA13 if (m_mux) romb = (romb & ~0x60) | ((ramb_masked & 0x03) << 5); - + // if unmapped, force if (!m_map) romb |= 0x1fe; - + return m_rom[rom_bank_map[romb] * 0x4000 + (offset & 0x3fff)]; } @@ -751,7 +750,7 @@ WRITE8_MEMBER(gb_rom_mmm01_device::write_bank) { // the mapper only has data lines D6..D0 data &= 0x7f; - + // the mapper only uses inputs A15..A13 switch (offset & 0xe000) { @@ -765,7 +764,7 @@ WRITE8_MEMBER(gb_rom_mmm01_device::write_bank) case 0x2000: // RA20..RA19 RA18..RA14 if (!m_map) m_romb = (m_romb & ~0x60) | (data & 0x60); - + m_romb = (m_romb & (~0x1f | m_romb_nwe)) | (data & (0x1f & ~m_romb_nwe)); break; case 0x4000: // Mode #WE, RA22..RA21, AA16..AA15, AA14..AA13 @@ -774,7 +773,7 @@ WRITE8_MEMBER(gb_rom_mmm01_device::write_bank) m_romb = (m_romb & ~0x180) | ((data & 0x30) << 3); m_ramb = (m_ramb & ~0x0c) | (data & 0x0c); } - + m_ramb = (m_ramb & (~0x03 | m_ramb_nwe)) | (data & (0x03 & ~m_ramb_nwe)); break; case 0x6000: // Mux, RA18..RA15 #WE/Mask, ???, MBC1 Mode @@ -783,7 +782,7 @@ WRITE8_MEMBER(gb_rom_mmm01_device::write_bank) // m_romb_nwe is aligned to RA14, hence >> 1 instead of >> 2 m_romb_nwe = (data & 0x3c) >> 1; } - + if (!m_mode_nwe) m_mode = data & 0x01; break; @@ -796,11 +795,11 @@ READ8_MEMBER(gb_rom_mmm01_device::read_ram) { UINT8 ramb_masked = ((offset & 0x4000) | m_mode ? m_ramb : m_ramb & ~0x03); UINT8 ramb = ramb_masked; - + // multiplex with RA20..RA19 if (m_mux) ramb = (ramb & ~0x03) | ((m_romb & 0x60) >> 5); - + if (!m_ram.empty() && m_ram_enable) { return m_ram[ram_bank_map[ramb] * 0x2000 + (offset & 0x1fff)]; @@ -813,11 +812,11 @@ WRITE8_MEMBER(gb_rom_mmm01_device::write_ram) { UINT8 ramb_masked = ((offset & 0x4000) | m_mode ? m_ramb : m_ramb & ~0x03); UINT8 ramb = ramb_masked; - + // multiplex with RA20..RA19 if (m_mux) ramb = (ramb & ~0x03) | ((m_romb & 0x60) >> 5); - + if (!m_ram.empty() && m_ram_enable) { m_ram[ram_bank_map[ramb] * 0x2000 + (offset & 0x1fff)] = data; diff --git a/src/devices/bus/gameboy/mbc.h b/src/devices/bus/gameboy/mbc.h index 1dcc43875bd..827d42c392d 100644 --- a/src/devices/bus/gameboy/mbc.h +++ b/src/devices/bus/gameboy/mbc.h @@ -195,7 +195,7 @@ public: virtual DECLARE_WRITE8_MEMBER(write_bank) override; virtual DECLARE_READ8_MEMBER(read_ram) override; virtual DECLARE_WRITE8_MEMBER(write_ram) override; - + UINT16 m_romb; UINT8 m_romb_nwe; UINT8 m_ramb; diff --git a/src/devices/bus/gba/gba_slot.h b/src/devices/bus/gba/gba_slot.h index 03b9ca4f653..62c25bc6674 100644 --- a/src/devices/bus/gba/gba_slot.h +++ b/src/devices/bus/gba/gba_slot.h @@ -607,7 +607,7 @@ static const gba_chip_fix_item gba_chip_fix_rumble_list[] = { "KYGP" }, // Yoshi's Universal Gravitation (EUR) { "KYGE" }, // Yoshi - Topsy-Turvy (USA) { "KYGJ" }, // Yoshi no Banyuuinryoku (JPN) - { "KHPJ" } // Koro Koro Puzzle - Happy Panechu! (JPN) + { "KHPJ" } // Koro Koro Puzzle - Happy Panechu! (JPN) }; diff --git a/src/devices/bus/gba/rom.cpp b/src/devices/bus/gba/rom.cpp index 5fc4798f1d7..4f10bbb0733 100644 --- a/src/devices/bus/gba/rom.cpp +++ b/src/devices/bus/gba/rom.cpp @@ -268,7 +268,7 @@ void gba_rom_3dmatrix_device::device_reset() This is a preliminary implementation of the General Purpose I/O Port embedded in the GBA PCBs as described at : http://problemkaputt.de/gbatek.htm#gbacartioportgpio - + Functions read_gpio/write_gpio only give the I/O interface while the actual on-cart devices are read and written through gpio_dev_read/gpio_dev_write @@ -400,7 +400,7 @@ void gba_rom_wariotws_device::gpio_dev_write(UINT16 data, int gpio_dirs) if (data & 1) m_counter = 15; - + m_last_val = data & 0x0b; } } @@ -586,19 +586,19 @@ WRITE32_MEMBER(gba_rom_eeprom64_device::write_ram) /*------------------------------------------------- Carts with EEPROM + Tilt Sensor - - Note about the calibration: this can seem a bit + + Note about the calibration: this can seem a bit tricky at first, because the emulated screen does not turn as the GBA would... In order to properly calibrate the sensor, just keep pressed right for a few seconds when requested - to calibrate right inclination (first calibration - screen in Yoshi Universal Gravitation) so to get the - full right range; then keep pressed for left for a + to calibrate right inclination (first calibration + screen in Yoshi Universal Gravitation) so to get the + full right range; then keep pressed for left for a few seconds when requested to calibrate left - inclination (second calibration screen in Yoshi + inclination (second calibration screen in Yoshi Universal Gravitation) so to get the full left range - + -------------------------------------------------*/ static INPUT_PORTS_START( yoshiug_tilt ) @@ -700,14 +700,14 @@ void gba_rom_boktai_device::gpio_dev_write(UINT16 data, int gpio_dirs) { if (data & 2) m_counter = 0; - + if ((data & 1) && !(m_last_val & 1)) { m_counter++; if (m_counter == 0x100) m_counter = 0; } - + m_last_val = data & 7; } } @@ -775,7 +775,7 @@ WRITE32_MEMBER(gba_rom_3dmatrix_device::write_mapper) /*------------------------------------------------- Seiko S-3511 RTC implementation - + TODO: transform this into a separate device, using also dirtc.cpp! -------------------------------------------------*/ @@ -789,7 +789,7 @@ gba_s3511_device::gba_s3511_device(running_machine &machine) : m_command = 0; m_data_len = 1; m_data[0] = 0; - + m_machine.save().save_item(m_phase, "GBA_RTC/m_phase"); m_machine.save().save_item(m_data, "GBA_RTC/m_data"); m_machine.save().save_item(m_last_val, "GBA_RTC/m_last_val"); @@ -808,7 +808,7 @@ void gba_s3511_device::update_time(int len) { system_time curtime; m_machine.current_datetime(curtime); - + if (len == 7) { m_data[0] = convert_to_bcd(curtime.local_time.year); @@ -840,7 +840,7 @@ int gba_s3511_device::read_line() if (m_bits == 8 * m_data_len) { //for (int i = 0; i < m_data_len; i++) - // printf("RTC DATA OUT COMPLETE %X (reg %d) \n", m_data[i], i); + // printf("RTC DATA OUT COMPLETE %X (reg %d) \n", m_data[i], i); m_bits = 0; m_phase = S3511_RTC_IDLE; } @@ -852,7 +852,7 @@ int gba_s3511_device::read_line() void gba_s3511_device::write(UINT16 data, int gpio_dirs) { -// printf("gpio_dev_write data %X\n", data); +// printf("gpio_dev_write data %X\n", data); if (m_phase == S3511_RTC_IDLE && (m_last_val & 5) == 1 && (data & 5) == 5) { m_phase = S3511_RTC_COMMAND; @@ -861,8 +861,8 @@ void gba_s3511_device::write(UINT16 data, int gpio_dirs) } else { -// if (m_phase == 3) -// printf("RTC command OK\n"); +// if (m_phase == 3) +// printf("RTC command OK\n"); if (!(m_last_val & 1) && (data & 1)) { // bit transfer @@ -877,7 +877,7 @@ void gba_s3511_device::write(UINT16 data, int gpio_dirs) if (m_bits == 8 * m_data_len) { //for (int i = 0; i < m_data_len; i++) - // printf("RTC DATA IN COMPLETE %X (reg %d) \n", m_data[i], i); + // printf("RTC DATA IN COMPLETE %X (reg %d) \n", m_data[i], i); m_bits = 0; m_phase = S3511_RTC_IDLE; } @@ -940,7 +940,7 @@ void gba_s3511_device::write(UINT16 data, int gpio_dirs) /*------------------------------------------------- GBA EEPROM Device - + TODO: can this sketchy EEPROM device be merged with the core implementation? -------------------------------------------------*/ @@ -954,7 +954,7 @@ gba_eeprom_device::gba_eeprom_device(running_machine &machine, UINT8 *eeprom, UI m_data = eeprom; m_data_size = size; m_addr_bits = addr_bits; - + m_machine.save().save_item(m_state, "GBA_EEPROM/m_state"); m_machine.save().save_item(m_command, "GBA_EEPROM/m_command"); m_machine.save().save_item(m_count, "GBA_EEPROM/m_count"); @@ -966,16 +966,16 @@ gba_eeprom_device::gba_eeprom_device(running_machine &machine, UINT8 *eeprom, UI UINT32 gba_eeprom_device::read() { UINT32 out; - + switch (m_state) { case EEP_IDLE: // printf("eeprom_r: @ %x, mask %08x (state %d) (PC=%x) = %d\n", offset, ~mem_mask, m_state, activecpu_get_pc(), 1); return 0x00010001; // "ready" - + case EEP_READFIRST: m_count--; - + if (!m_count) { m_count = 64; @@ -996,19 +996,19 @@ UINT32 gba_eeprom_device::read() m_addr++; m_bits = 8; } - + out = (m_eep_data & 0x80) ? 1 : 0; out |= (out<<16); m_eep_data <<= 1; - + m_bits--; m_count--; - + if (!m_count) { m_state = EEP_IDLE; } - + // printf("out = %08x\n", out); // printf("eeprom_r: @ %x, mask %08x (state %d) (PC=%x) = %08x\n", offset, ~mem_mask, m_state, activecpu_get_pc(), out); return out; @@ -1026,7 +1026,7 @@ void gba_eeprom_device::write(UINT32 data) if (data == 1) m_state++; break; - + case EEP_COMMAND: if (data == 1) m_command = EEP_READFIRST; @@ -1036,7 +1036,7 @@ void gba_eeprom_device::write(UINT32 data) m_count = m_addr_bits; m_addr = 0; break; - + case EEP_ADDR: m_addr <<= 1; m_addr |= (data & 1); @@ -1055,7 +1055,7 @@ void gba_eeprom_device::write(UINT32 data) } } break; - + case EEP_AFTERADDR: m_state = m_command; m_count = 64; @@ -1064,32 +1064,31 @@ void gba_eeprom_device::write(UINT32 data) if (m_state == EEP_READFIRST) m_count = 4; break; - + case EEP_WRITE: m_eep_data <<= 1; m_eep_data |= (data & 1); m_bits--; m_count--; - + if (m_bits == 0) { osd_printf_verbose("%08x: EEPROM: %02x to %x\n", machine().device("maincpu")->safe_pc(), m_eep_data, m_addr); if (m_addr >= m_data_size) fatalerror("eeprom: invalid address (%x)\n", m_addr); - + m_data[m_addr] = m_eep_data; m_addr++; m_eep_data = 0; m_bits = 8; } - + if (!m_count) m_state = EEP_AFTERWRITE; break; - + case EEP_AFTERWRITE: m_state = EEP_IDLE; break; } } - diff --git a/src/devices/bus/gba/rom.h b/src/devices/bus/gba/rom.h index 4a1850c5fa2..13a69c44a65 100644 --- a/src/devices/bus/gba/rom.h +++ b/src/devices/bus/gba/rom.h @@ -20,19 +20,19 @@ class gba_s3511_device public: gba_s3511_device(running_machine &machine); running_machine &machine() const { return m_machine; } - + void update_time(int len); UINT8 convert_to_bcd(int val); - + int read_line(); void write(UINT16 data, int gpio_dirs); - + protected: int m_phase; UINT8 m_last_val, m_bits, m_command; int m_data_len; UINT8 m_data[7]; - + running_machine& m_machine; }; @@ -58,10 +58,10 @@ class gba_eeprom_device public: gba_eeprom_device(running_machine &machine, UINT8 *eeprom, UINT32 size, int addr_bits); running_machine &machine() const { return m_machine; } - + UINT32 read(); void write(UINT32 data); - + protected: UINT8 *m_data; UINT32 m_data_size; @@ -72,7 +72,7 @@ protected: int m_bits; int m_addr_bits; UINT8 m_eep_data; - + running_machine& m_machine; }; @@ -97,7 +97,7 @@ public: virtual DECLARE_READ32_MEMBER(read_gpio) override; virtual DECLARE_WRITE32_MEMBER(write_gpio) override; - + virtual UINT16 gpio_dev_read(int gpio_dirs) { return 0; } virtual void gpio_dev_write(UINT16 data, int gpio_dirs) {} @@ -129,7 +129,7 @@ class gba_rom_drilldoz_device : public gba_rom_sram_device public: // construction/destruction gba_rom_drilldoz_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void gpio_dev_write(UINT16 data, int gpio_dirs) override; }; @@ -190,12 +190,12 @@ class gba_rom_flash_rtc_device : public gba_rom_flash_device public: // construction/destruction gba_rom_flash_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual UINT16 gpio_dev_read(int gpio_dirs) override; virtual void gpio_dev_write(UINT16 data, int gpio_dirs) override; - + private: std::unique_ptr m_rtc; }; @@ -232,7 +232,7 @@ class gba_rom_flash1m_rtc_device : public gba_rom_flash1m_device public: // construction/destruction gba_rom_flash1m_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual UINT16 gpio_dev_read(int gpio_dirs) override; @@ -271,16 +271,16 @@ class gba_rom_yoshiug_device : public gba_rom_eeprom_device public: // construction/destruction gba_rom_yoshiug_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual void device_reset() override; virtual ioport_constructor device_input_ports() const override; - + // reading and writing virtual DECLARE_READ32_MEMBER(read_tilt) override; virtual DECLARE_WRITE32_MEMBER(write_tilt) override; - + private: int m_tilt_ready; UINT16 m_xpos, m_ypos; @@ -317,7 +317,7 @@ class gba_rom_boktai_device : public gba_rom_eeprom64_device public: // construction/destruction gba_rom_boktai_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual void device_reset() override; @@ -325,7 +325,7 @@ public: virtual UINT16 gpio_dev_read(int gpio_dirs) override; virtual void gpio_dev_write(UINT16 data, int gpio_dirs) override; - + private: std::unique_ptr m_rtc; required_ioport m_sensor; diff --git a/src/devices/bus/isa/cga.cpp b/src/devices/bus/isa/cga.cpp index 2dc3a5cd300..71e924dab84 100644 --- a/src/devices/bus/isa/cga.cpp +++ b/src/devices/bus/isa/cga.cpp @@ -1814,12 +1814,12 @@ WRITE8_MEMBER( isa8_ec1841_0002_device::io_write ) m_p3df = data; if (data & 1) { m_isa->install_memory(0xb8000, 0xb9fff, - read8_delegate( FUNC(isa8_ec1841_0002_device::char_ram_read), this), - write8_delegate(FUNC(isa8_ec1841_0002_device::char_ram_write), this) ); + read8_delegate( FUNC(isa8_ec1841_0002_device::char_ram_read), this), + write8_delegate(FUNC(isa8_ec1841_0002_device::char_ram_write), this) ); if(m_vram_size == 0x4000) m_isa->install_memory(0xbc000, 0xbdfff, - read8_delegate( FUNC(isa8_ec1841_0002_device::char_ram_read), this), - write8_delegate(FUNC(isa8_ec1841_0002_device::char_ram_write), this) ); + read8_delegate( FUNC(isa8_ec1841_0002_device::char_ram_read), this), + write8_delegate(FUNC(isa8_ec1841_0002_device::char_ram_write), this) ); } else { m_isa->install_bank(0xb8000, 0xb8000 + MIN(0x8000,m_vram_size) - 1, "bank_cga", &m_vram[0]); if(m_vram_size == 0x4000) diff --git a/src/devices/bus/macpds/macpds.h b/src/devices/bus/macpds/macpds.h index 511355f6e42..9e42e47b3c1 100644 --- a/src/devices/bus/macpds/macpds.h +++ b/src/devices/bus/macpds/macpds.h @@ -83,7 +83,7 @@ public: void add_macpds_card(device_macpds_card_interface *card); void install_device(offs_t start, offs_t end, read8_delegate rhandler, write8_delegate whandler, UINT32 mask=0xffffffff); void install_device(offs_t start, offs_t end, read16_delegate rhandler, write16_delegate whandler, UINT32 mask=0xffffffff); - void install_bank(offs_t start, offs_t end, const char *tag, UINT8 *data); + void install_bank(offs_t start, offs_t end, const char *tag, UINT8 *data); void set_irq_line(int line, int state); protected: diff --git a/src/devices/bus/megadrive/rom.cpp b/src/devices/bus/megadrive/rom.cpp index ed17cfff044..039574487ca 100644 --- a/src/devices/bus/megadrive/rom.cpp +++ b/src/devices/bus/megadrive/rom.cpp @@ -930,7 +930,7 @@ READ16_MEMBER(md_rom_cjmjclub_device::read) { if (offset == 0x400000/2) return 0x9000; if (offset == 0x400002/2) return 0xd300; - + // non-protection accesses if (offset < 0x400000/2) return m_rom[MD_ADDR(offset)]; diff --git a/src/devices/bus/megadrive/rom.h b/src/devices/bus/megadrive/rom.h index 3bafead4346..d640242ff3c 100644 --- a/src/devices/bus/megadrive/rom.h +++ b/src/devices/bus/megadrive/rom.h @@ -270,7 +270,7 @@ class md_rom_cjmjclub_device : public md_std_rom_device public: // construction/destruction md_rom_cjmjclub_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // reading and writing virtual DECLARE_READ16_MEMBER(read) override; }; diff --git a/src/devices/bus/nes/bootleg.cpp b/src/devices/bus/nes/bootleg.cpp index fbd00b7fadf..f21db4454ff 100644 --- a/src/devices/bus/nes/bootleg.cpp +++ b/src/devices/bus/nes/bootleg.cpp @@ -1238,7 +1238,7 @@ READ8_MEMBER(nes_lh32_device::read_m) READ8_MEMBER(nes_lh32_device::read_h) { -// LOG_MMC(("lh32 read_h, offset: %04x\n", offset)); +// LOG_MMC(("lh32 read_h, offset: %04x\n", offset)); if (offset >= 0x4000 && offset < 0x6000) return m_prgram[offset & 0x1fff]; @@ -1294,7 +1294,7 @@ READ8_MEMBER(nes_lh10_device::read_m) READ8_MEMBER(nes_lh10_device::read_h) { -// LOG_MMC(("lh10 read_h, offset: %04x\n", offset)); +// LOG_MMC(("lh10 read_h, offset: %04x\n", offset)); if (offset >= 0x4000 && offset < 0x6000) return m_prgram[offset & 0x1fff]; @@ -1363,7 +1363,7 @@ READ8_MEMBER(nes_lh53_device::read_m) READ8_MEMBER(nes_lh53_device::read_h) { -// LOG_MMC(("lh53 read_h, offset: %04x\n", offset)); +// LOG_MMC(("lh53 read_h, offset: %04x\n", offset)); if (offset >= 0x3800 && offset < 0x5800) return m_battery[offset & 0x1fff]; @@ -1431,7 +1431,7 @@ WRITE8_MEMBER(nes_2708_device::write_m) READ8_MEMBER(nes_2708_device::read_h) { -// LOG_MMC(("btl-2708 read_h, offset: %04x\n", offset)); +// LOG_MMC(("btl-2708 read_h, offset: %04x\n", offset)); if (offset >= 0x3800 && offset < 0x5800 && !m_reg[1]) return m_prgram[0x2000 + ((offset - 0x3800) & 0x1fff)]; // higher 8K of WRAM @@ -1656,30 +1656,29 @@ READ8_MEMBER(nes_shuiguan_device::read_m) /*------------------------------------------------- - + RT-01 - + Games: Russian test cart - - The PRG EPROM has copy protected areas with + + The PRG EPROM has copy protected areas with "weak bits", which is tested at some points (info from Cah4e3). - + iNES: - + In MESS: - + -------------------------------------------------*/ READ8_MEMBER(nes_rt01_device::read_h) { -// LOG_MMC(("rt01 read_h, offset: %04x\n", offset)); +// LOG_MMC(("rt01 read_h, offset: %04x\n", offset)); if ((offset >= 0x4e80) && (offset < 0x4f00)) return 0xf2 | (machine().rand() & 0x0d); if ((offset >= 0x7e80) && (offset < 0x7f00)) return 0xf2 | (machine().rand() & 0x0d); - + return hi_access_rom(offset); } - diff --git a/src/devices/bus/nes/bootleg.h b/src/devices/bus/nes/bootleg.h index 30b40b589a4..59f02a476a5 100644 --- a/src/devices/bus/nes/bootleg.h +++ b/src/devices/bus/nes/bootleg.h @@ -460,11 +460,11 @@ class nes_rt01_device : public nes_nrom_device public: // construction/destruction nes_rt01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual DECLARE_READ8_MEMBER(read_h) override; - + virtual void pcb_reset() override; }; diff --git a/src/devices/bus/nes/kaiser.cpp b/src/devices/bus/nes/kaiser.cpp index 340aca500cc..e335681157d 100644 --- a/src/devices/bus/nes/kaiser.cpp +++ b/src/devices/bus/nes/kaiser.cpp @@ -252,7 +252,7 @@ void nes_ks7016_device::pcb_reset() prg8_cd(0xe); prg8_ef(0xf); chr8(0, CHRRAM); - + m_reg = 4; } @@ -270,7 +270,7 @@ void nes_ks7037_device::pcb_reset() prg8_cd(0); prg8_ef(0x1f); chr8(0, CHRRAM); - + memset(m_reg, 0, sizeof(m_reg)); m_latch = 0; } @@ -637,15 +637,15 @@ WRITE8_MEMBER(nes_ks7031_device::write_h) /*------------------------------------------------- - + Kaiser Board KS7016 - + Games: Exciting Basket FDS Conversion - + iNES: - + In MESS: Unsupported. - + -------------------------------------------------*/ READ8_MEMBER(nes_ks7016_device::read_m) @@ -666,20 +666,20 @@ WRITE8_MEMBER(nes_ks7016_device::write_h) /*------------------------------------------------- - + Kaiser Board KS7037 - + Games: Metroid (FDS conversion) - + This PCB maps PRG in 0x7000-0x7fff in a very similar fashion to LH10 (see bootleg.cpp) but with WRAM split between 0x6000-0x6fff and 0xb000-0xbfff. - + iNES: - + In MESS: Unsupported. - + -------------------------------------------------*/ void nes_ks7037_device::update_prg() @@ -696,7 +696,7 @@ void nes_ks7037_device::update_prg() READ8_MEMBER(nes_ks7037_device::read_m) { -// LOG_MMC(("ks7037 read_m, offset: %04x\n", offset)); +// LOG_MMC(("ks7037 read_m, offset: %04x\n", offset)); if (offset < 0x1000) return m_prgram[offset & 0x0fff]; else @@ -712,18 +712,18 @@ WRITE8_MEMBER(nes_ks7037_device::write_m) READ8_MEMBER(nes_ks7037_device::read_h) { -// LOG_MMC(("ks7037 read_h, offset: %04x\n", offset)); - +// LOG_MMC(("ks7037 read_h, offset: %04x\n", offset)); + if (offset >= 0x3000 && offset < 0x4000) return m_prgram[0x1000 + (offset & 0x0fff)]; - + return hi_access_rom(offset); } WRITE8_MEMBER(nes_ks7037_device::write_h) { LOG_MMC(("ks7037 write_h, offset: %04x, data: %02x\n", offset, data)); - + if (offset >= 0x3000 && offset < 0x4000) m_prgram[0x1000 + (offset & 0x0fff)] = data; else @@ -740,4 +740,3 @@ WRITE8_MEMBER(nes_ks7037_device::write_h) } } } - diff --git a/src/devices/bus/nes/kaiser.h b/src/devices/bus/nes/kaiser.h index e5ad8628436..6d58ff134fe 100644 --- a/src/devices/bus/nes/kaiser.h +++ b/src/devices/bus/nes/kaiser.h @@ -177,14 +177,14 @@ class nes_ks7016_device : public nes_nrom_device public: // construction/destruction nes_ks7016_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual DECLARE_READ8_MEMBER(read_m) override; virtual DECLARE_WRITE8_MEMBER(write_h) override; - + virtual void pcb_reset() override; - + private: UINT8 m_reg; }; @@ -196,16 +196,16 @@ class nes_ks7037_device : public nes_nrom_device public: // construction/destruction nes_ks7037_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + // device-level overrides virtual void device_start() override; virtual DECLARE_READ8_MEMBER(read_m) override; virtual DECLARE_READ8_MEMBER(read_h) override; virtual DECLARE_WRITE8_MEMBER(write_m) override; virtual DECLARE_WRITE8_MEMBER(write_h) override; - + virtual void pcb_reset() override; - + private: void update_prg(); UINT8 m_latch; diff --git a/src/devices/bus/nubus/nubus_image.h b/src/devices/bus/nubus/nubus_image.h index 6badecd4f0d..54fe5dbb39b 100644 --- a/src/devices/bus/nubus/nubus_image.h +++ b/src/devices/bus/nubus/nubus_image.h @@ -18,7 +18,7 @@ struct nbfilectx { UINT32 curcmd; UINT8 filename[128]; UINT8 curdir[1024]; - osd::directory::ptr dirp; + osd::directory::ptr dirp; osd_file::ptr fd; UINT64 filelen; UINT32 bytecount; diff --git a/src/devices/bus/pofo/exp.h b/src/devices/bus/pofo/exp.h index 3b1e936dca5..81777cf9852 100644 --- a/src/devices/bus/pofo/exp.h +++ b/src/devices/bus/pofo/exp.h @@ -65,16 +65,16 @@ MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) #define MCFG_PORTFOLIO_EXPANSION_SLOT_IINT_CALLBACK(_write) \ - devcb = &portfolio_expansion_slot_t::set_iint_wr_callback(*device, DEVCB_##_write); + devcb = &portfolio_expansion_slot_t::set_iint_wr_callback(*device, DEVCB_##_write); #define MCFG_PORTFOLIO_EXPANSION_SLOT_EINT_CALLBACK(_write) \ - devcb = &portfolio_expansion_slot_t::set_eint_wr_callback(*device, DEVCB_##_write); + devcb = &portfolio_expansion_slot_t::set_eint_wr_callback(*device, DEVCB_##_write); #define MCFG_PORTFOLIO_EXPANSION_SLOT_NMIO_CALLBACK(_write) \ - devcb = &portfolio_expansion_slot_t::set_nmio_wr_callback(*device, DEVCB_##_write); + devcb = &portfolio_expansion_slot_t::set_nmio_wr_callback(*device, DEVCB_##_write); #define MCFG_PORTFOLIO_EXPANSION_SLOT_WAKE_CALLBACK(_write) \ - devcb = &portfolio_expansion_slot_t::set_wake_wr_callback(*device, DEVCB_##_write); + devcb = &portfolio_expansion_slot_t::set_wake_wr_callback(*device, DEVCB_##_write); @@ -89,71 +89,71 @@ class portfolio_expansion_slot_t; class device_portfolio_expansion_slot_interface : public device_slot_card_interface { public: - // construction/destruction - device_portfolio_expansion_slot_interface(const machine_config &mconfig, device_t &device); - virtual ~device_portfolio_expansion_slot_interface() { } + // construction/destruction + device_portfolio_expansion_slot_interface(const machine_config &mconfig, device_t &device); + virtual ~device_portfolio_expansion_slot_interface() { } - virtual bool nmd1() { return 1; } - virtual bool pdet() { return 0; } - virtual bool cdet() { return 1; } + virtual bool nmd1() { return 1; } + virtual bool pdet() { return 0; } + virtual bool cdet() { return 1; } - virtual UINT8 iack_r() { return 0xff; } - virtual UINT8 eack_r() { return 0xff; } + virtual UINT8 iack_r() { return 0xff; } + virtual UINT8 eack_r() { return 0xff; } - virtual UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) { return data; }; - virtual void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) { }; + virtual UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) { return data; }; + virtual void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) { }; - DECLARE_WRITE_LINE_MEMBER( iint_w ); - DECLARE_WRITE_LINE_MEMBER( eint_w ); - DECLARE_WRITE_LINE_MEMBER( nmio_w ); - DECLARE_WRITE_LINE_MEMBER( wake_w ); + DECLARE_WRITE_LINE_MEMBER( iint_w ); + DECLARE_WRITE_LINE_MEMBER( eint_w ); + DECLARE_WRITE_LINE_MEMBER( nmio_w ); + DECLARE_WRITE_LINE_MEMBER( wake_w ); protected: - portfolio_expansion_slot_t *m_slot; + portfolio_expansion_slot_t *m_slot; }; // ======================> portfolio_expansion_slot_t class portfolio_expansion_slot_t : public device_t, - public device_slot_interface + public device_slot_interface { public: // construction/destruction portfolio_expansion_slot_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~portfolio_expansion_slot_t() { } - template static devcb_base &set_iint_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_iint.set_callback(object); } - template static devcb_base &set_eint_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_eint.set_callback(object); } - template static devcb_base &set_nmio_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_nmio.set_callback(object); } - template static devcb_base &set_wake_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_wake.set_callback(object); } + template static devcb_base &set_iint_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_iint.set_callback(object); } + template static devcb_base &set_eint_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_eint.set_callback(object); } + template static devcb_base &set_nmio_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_nmio.set_callback(object); } + template static devcb_base &set_wake_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_wake.set_callback(object); } // computer interface - bool nmd1_r() { return (m_card != nullptr) ? m_card->nmd1() : 1; } - bool pdet_r() { return (m_card != nullptr) ? m_card->pdet() : 0; } - bool cdet_r() { return (m_card != nullptr) ? m_card->cdet() : 1; } + bool nmd1_r() { return (m_card != nullptr) ? m_card->nmd1() : 1; } + bool pdet_r() { return (m_card != nullptr) ? m_card->pdet() : 0; } + bool cdet_r() { return (m_card != nullptr) ? m_card->cdet() : 1; } - UINT8 iack_r() { return (m_card != nullptr) ? m_card->iack_r() : 0xff; }; - UINT8 eack_r() { return (m_card != nullptr) ? m_card->eack_r() : 0xff; }; + UINT8 iack_r() { return (m_card != nullptr) ? m_card->iack_r() : 0xff; }; + UINT8 eack_r() { return (m_card != nullptr) ? m_card->eack_r() : 0xff; }; UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) { return (m_card != nullptr) ? m_card->nrdi_r(space, offset, data, iom, bcom, ncc1) : data; } void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) { if (m_card != nullptr) m_card->nwri_w(space, offset, data, iom, bcom, ncc1); } - // peripheral interface - WRITE_LINE_MEMBER( iint_w ) { m_write_iint(state); } - WRITE_LINE_MEMBER( eint_w ) { m_write_eint(state); } - WRITE_LINE_MEMBER( nmio_w ) { m_write_nmio(state); } - WRITE_LINE_MEMBER( wake_w ) { m_write_wake(state); } + // peripheral interface + WRITE_LINE_MEMBER( iint_w ) { m_write_iint(state); } + WRITE_LINE_MEMBER( eint_w ) { m_write_eint(state); } + WRITE_LINE_MEMBER( nmio_w ) { m_write_nmio(state); } + WRITE_LINE_MEMBER( wake_w ) { m_write_wake(state); } protected: // device-level overrides virtual void device_start() override; virtual void device_reset() override; - devcb_write_line m_write_iint; - devcb_write_line m_write_eint; - devcb_write_line m_write_nmio; - devcb_write_line m_write_wake; + devcb_write_line m_write_iint; + devcb_write_line m_write_eint; + devcb_write_line m_write_nmio; + devcb_write_line m_write_wake; device_portfolio_expansion_slot_interface *m_card; }; diff --git a/src/devices/bus/pofo/hpc101.h b/src/devices/bus/pofo/hpc101.h index 36b4129049b..7fbdd58a1a9 100644 --- a/src/devices/bus/pofo/hpc101.h +++ b/src/devices/bus/pofo/hpc101.h @@ -25,7 +25,7 @@ // ======================> hpc101_t class hpc101_t : public device_t, - public device_portfolio_expansion_slot_interface + public device_portfolio_expansion_slot_interface { public: // construction/destruction @@ -42,8 +42,8 @@ protected: // device_portfolio_expansion_slot_interface overrides bool pdet() override { return 1; } - virtual UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; - virtual void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; + virtual UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; + virtual void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; private: required_device m_ppi; diff --git a/src/devices/bus/pofo/hpc102.h b/src/devices/bus/pofo/hpc102.h index c1fb91305af..fc251b2e87b 100644 --- a/src/devices/bus/pofo/hpc102.h +++ b/src/devices/bus/pofo/hpc102.h @@ -25,7 +25,7 @@ // ======================> hpc102_t class hpc102_t : public device_t, - public device_portfolio_expansion_slot_interface + public device_portfolio_expansion_slot_interface { public: // construction/destruction @@ -42,10 +42,10 @@ protected: // device_portfolio_expansion_slot_interface overrides bool pdet() override { return 1; } - virtual UINT8 eack_r() override; + virtual UINT8 eack_r() override; - virtual UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; - virtual void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; + virtual UINT8 nrdi_r(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; + virtual void nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom, bool bcom, bool ncc1) override; private: required_device m_uart; @@ -63,4 +63,4 @@ extern const device_type HPC102; /* -*/ \ No newline at end of file +*/ diff --git a/src/devices/bus/sg1000_exp/fm_unit.cpp b/src/devices/bus/sg1000_exp/fm_unit.cpp index 935346e17de..46e7b036704 100644 --- a/src/devices/bus/sg1000_exp/fm_unit.cpp +++ b/src/devices/bus/sg1000_exp/fm_unit.cpp @@ -74,7 +74,7 @@ READ8_MEMBER(sega_fm_unit_device::peripheral_r) return m_audio_control & 0x01; } // will not be called for other offsets. - return 0xff; + return 0xff; } //------------------------------------------------- @@ -116,4 +116,3 @@ bool sega_fm_unit_device::is_writeable(UINT8 offset) { return (offset <= 2) ? true : false; } - diff --git a/src/devices/bus/sg1000_exp/sk1100.cpp b/src/devices/bus/sg1000_exp/sk1100.cpp index 3c5726f96dc..aee9e3c09f7 100644 --- a/src/devices/bus/sg1000_exp/sk1100.cpp +++ b/src/devices/bus/sg1000_exp/sk1100.cpp @@ -334,4 +334,3 @@ WRITE8_MEMBER( sega_sk1100_device::ppi_pc_w ) /* TODO printer */ } - -- cgit v1.2.3