diff options
Diffstat (limited to 'src/mess/machine')
| -rw-r--r-- | src/mess/machine/dec_lk201.c | 24 | ||||
| -rw-r--r-- | src/mess/machine/kb_poisk1.h | 36 | ||||
| -rw-r--r-- | src/mess/machine/mb8795.c | 8 | ||||
| -rw-r--r-- | src/mess/machine/mc1502_fdc.c | 10 | ||||
| -rw-r--r-- | src/mess/machine/nes_mmc5.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/p1_fdc.c | 4 | ||||
| -rw-r--r-- | src/mess/machine/p1_hdc.c | 8 | ||||
| -rw-r--r-- | src/mess/machine/prof80mmu.c | 4 | ||||
| -rw-r--r-- | src/mess/machine/prof80mmu.h | 2 | ||||
| -rw-r--r-- | src/mess/machine/xsu_cards.c | 14 |
10 files changed, 56 insertions, 56 deletions
diff --git a/src/mess/machine/dec_lk201.c b/src/mess/machine/dec_lk201.c index 4383821fecc..1aa7749cd01 100644 --- a/src/mess/machine/dec_lk201.c +++ b/src/mess/machine/dec_lk201.c @@ -6,14 +6,14 @@ */ /* LK201-AA keyboard matrix (8048 version with updates) - Source: VCB02 Technical Reference. + Source: VCB02 Technical Reference. - KBD controller scan matrix (PORT 1): 8 x BCD IN => 18 DECIMAL OUT + KBD controller scan matrix (PORT 1): 8 x BCD IN => 18 DECIMAL OUT Keyboard itself: - 18 x IN (KEYBOARD DRIVE) KBD 17... KBD 0 => - 8 OUT (keyboard data @ D7..D0) - + 18 x IN (KEYBOARD DRIVE) KBD 17... KBD 0 => + 8 OUT (keyboard data @ D7..D0) + to => PORT 0 @ KBD controller. ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 @@ -34,7 +34,7 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 --------|----|----|----|---|---|---|---|--- ..KBD13:|Ins.|--- |'Do'|Prev { |" |[R]|[R] ........|Here|- | Scrn| [ |' | | -........|E17 |E11 |G16 |D17|D11|C11| | +........|E17 |E11 |G16 |D17|D11|C11| | --------|----|----|----|---|---|---|---|--- ..KBD12:|Find|+ |Help|Se-| } |Re-|C:L| | ........| |= | |lect ] |turn...| \ @@ -45,14 +45,14 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 ........|G14 | E13|....|E10|D10|...|C10|B10 --------|----|----|----|---|---|---|---|--- ..KBD10:|[R] |F12 |[R] |F13| ( |O |L | . -........|....|(BS)| |(LF) 9 | | | . +........|....|(BS)| |(LF) 9 | | | . ........|....|G12 |....|G13|E09|D09|C09|B09 --------|----|----|----|---|---|---|---|--- ..KBD_9:|[R] |F11 |[R] |[R]|* |I |K | , ........|....|ESC | | |8 | | | , ........|....|G11 |....|...|E08|D08|C08|B08 --------|----|----|----|---|---|---|---|--- -..KBD_8:|[R] |Main|[R] Exit|& |U |J |M +..KBD_8:|[R] |Main|[R] Exit|& |U |J |M ........| |Scrn| | |7 | | | ........| |G08 | |G09|E07|D07|C07|B07 --------|----|----|----|---|---|---|---|--- @@ -65,7 +65,7 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 ........|....|....|....|G05|E05|D05|C05|B05 --------|----|----|----|---|---|---|---|--- ..KBD_5: F4 |Break [R]|$ |R |F |V |Space -........|....|....|....|4 | | | | +........|....|....|....|4 | | | | ........ G02 |G03 |....|E04 D04 C04 B04 A01-A09 --------|----|----|----|---|---|---|---|--- ..KBD_4: [R] |Prt.|[R] |Set|# |E |D |C @@ -77,7 +77,7 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 ........|G99 |E02 |....|D00|D02|C02|B02|B00 --------|----|----|----|---|---|---|---|--- ..KBD_2: [R] |[R] |[R] |~ |! |Q |A |Z -........|..............|...|1 +........|..............|...|1 ........|..............|E00 E01 D01 C01 B01 --------|----|----|----|---|---|---|---|--- ..KBD_1: Ctrl|Lock|Comp|[R] @@ -93,13 +93,13 @@ ________|D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 Normally only the N0 keyswitch is implemented as a double-sized key. NOTE 3) Return key occupies 2 positions that are decoded as the Return (C13) key. - + C:D - Cursor down (B17) C:U - Cursor up (C17) C:R - Cursor right (B18) C:L - Cursor left (B16) */ - + #include "emu.h" #include "dec_lk201.h" #include "cpu/m6805/m6805.h" diff --git a/src/mess/machine/kb_poisk1.h b/src/mess/machine/kb_poisk1.h index babf487b35f..7449452ad3a 100644 --- a/src/mess/machine/kb_poisk1.h +++ b/src/mess/machine/kb_poisk1.h @@ -18,22 +18,22 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Enter") PORT_CODE(KEYCODE_ENTER) PORT_CHAR('\r') PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8") PORT_CODE(KEYCODE_8_PAD) PORT_CODE(KEYCODE_UP) PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2") PORT_CODE(KEYCODE_2_PAD) PORT_CODE(KEYCODE_DOWN) -/*-12*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-12 - ?") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('?') PORT_CHAR('/') */ +/*-12*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-12 - ?") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('?') PORT_CHAR('/') */ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O') -/*-11*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-11 - %") /* PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%') */ +/*-11*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-11 - %") /* PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%') */ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F11") PORT_CODE(KEYCODE_F11) PORT_CHAR(UCHAR_MAMEKEY(F11)) PORT_START("Y2") -/*-15*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-15 - !") /* PORT_CODE(KEYCODE_1) PORT_CHAR('!') PORT_CHAR('1') */ +/*-15*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-15 - !") /* PORT_CODE(KEYCODE_1) PORT_CHAR('!') PORT_CHAR('1') */ PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4") PORT_CODE(KEYCODE_4_PAD) PORT_CODE(KEYCODE_LEFT) PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0") PORT_CODE(KEYCODE_0_PAD) PORT_CODE(KEYCODE_INSERT) /* ??? */ PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F7") PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7)) -/*-13*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-13 - ;") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ +/*-13*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-13 - ;") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_BACKSPACE) PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7") PORT_CODE(KEYCODE_7_PAD) PORT_CODE(KEYCODE_HOME) PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1") PORT_CODE(KEYCODE_1_PAD) PORT_CODE(KEYCODE_END) -/*-2*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-2 - .") /* PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') */ -/*-3*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-3 - _") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ +/*-2*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-2 - .") /* PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') */ +/*-3*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-3 - _") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P') PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{') // 0x54 @@ -58,17 +58,17 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F6") PORT_CODE(KEYCODE_F6) PORT_CHAR(UCHAR_MAMEKEY(F6)) PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F2") PORT_CODE(KEYCODE_F2) PORT_CHAR(UCHAR_MAMEKEY(F2)) PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F1") PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1)) -/*-1*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-1 - *") /* PORT_CODE(KEYCODE_8) PORT_CHAR('*') PORT_CHAR('8') */ +/*-1*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-1 - *") /* PORT_CODE(KEYCODE_8) PORT_CHAR('*') PORT_CHAR('8') */ PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Esc") PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC)) /* ??2 */ -/*-9*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-9 - :") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ -/*-10*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-10 - ,") /* PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') */ +/*-9*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-9 - :") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */ +/*-10*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-10 - ,") /* PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') */ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F5") PORT_CODE(KEYCODE_F5) PORT_CHAR(UCHAR_MAMEKEY(F5)) PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F4") PORT_CODE(KEYCODE_F4) PORT_CHAR(UCHAR_MAMEKEY(F4)) PORT_START("Y5") PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E') PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_UNUSED ) -/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL)) +/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL)) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H') PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W') PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q') @@ -82,7 +82,7 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_START("Y6") PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left Shift") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad *") PORT_CODE(KEYCODE_ASTERISK) PORT_CHAR(UCHAR_MAMEKEY(ASTERISK)) -/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Alt") PORT_CODE(KEYCODE_RALT) +/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Alt") PORT_CODE(KEYCODE_RALT) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C') PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X') PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?dc?") // 0xdc = SHIFT2 @@ -108,18 +108,18 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F9") PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9)) PORT_START("Y8") -/*-6*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-6 - -") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ +/*-6*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-6 - -") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */ PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad -") PORT_CODE(KEYCODE_MINUS_PAD) PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Tab") PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t') /* ??? */ PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y') -/*-7*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-7 - )") /* PORT_CODE(KEYCODE_0) PORT_CHAR(')') PORT_CHAR('0') */ +/*-7*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-7 - )") /* PORT_CODE(KEYCODE_0) PORT_CHAR(')') PORT_CHAR('0') */ PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock") -/*-4*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-4 - (") /* PORT_CODE(KEYCODE_9) PORT_CHAR('(') PORT_CHAR('9') */ +/*-4*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-4 - (") /* PORT_CODE(KEYCODE_9) PORT_CHAR('(') PORT_CHAR('9') */ PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|') PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U') -/*-5*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-5 - \"") /* PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('"') PORT_CHAR('\'') */ -/*-8*/ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-8 - /") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') */ +/*-5*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-5 - \"") /* PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('"') PORT_CHAR('\'') */ +/*-8*/ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-8 - /") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') */ #if 0 PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Delete") PORT_CODE(KEYCODE_DEL_PAD) @@ -130,7 +130,7 @@ INPUT_PORTS_START( poisk1_keyboard_v89 ) PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^') PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&') PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR('~') - PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) + PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) #endif INPUT_PORTS_END @@ -227,7 +227,7 @@ INPUT_PORTS_START( poisk1_keyboard_v91 ) PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("- / UKRAINIAN XXX") PORT_CODE(KEYCODE_MINUS_PAD) PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F9") PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9)) - PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock") + PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock") PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6") PORT_CODE(KEYCODE_6_PAD) PORT_CODE(KEYCODE_RIGHT) PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L') PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F7") PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7)) diff --git a/src/mess/machine/mb8795.c b/src/mess/machine/mb8795.c index 65887e9c956..e56a2b97d51 100644 --- a/src/mess/machine/mb8795.c +++ b/src/mess/machine/mb8795.c @@ -18,7 +18,7 @@ ADDRESS_MAP_END mb8795_device::mb8795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock, "mb8795", __FILE__), - device_network_interface(mconfig, *this, 10) + device_network_interface(mconfig, *this, 10) { } @@ -205,9 +205,9 @@ void mb8795_device::tx_dma_w(UINT8 data, bool eof) if(eof) { logerror("%s: send packet, dest=%02x.%02x.%02x.%02x.%02x.%02x len=%04x loopback=%s\n", tag(), - txbuf[0], txbuf[1], txbuf[2], txbuf[3], txbuf[4], txbuf[5], - txlen, - txmode & EN_TMD_LB_DISABLE ? "off" : "on"); + txbuf[0], txbuf[1], txbuf[2], txbuf[3], txbuf[4], txbuf[5], + txlen, + txmode & EN_TMD_LB_DISABLE ? "off" : "on"); if(txlen > 1500) txlen = 1500; // Weird packet send on loopback test in the next diff --git a/src/mess/machine/mc1502_fdc.c b/src/mess/machine/mc1502_fdc.c index a8d9523386a..6fbf87681f7 100644 --- a/src/mess/machine/mc1502_fdc.c +++ b/src/mess/machine/mc1502_fdc.c @@ -212,16 +212,16 @@ void mc1502_fdc_device::device_start() set_isa_device(); // BIOS 5.0, 5.2 - m_isa->install_device(0x010c, 0x010f, 0, 0, + m_isa->install_device(0x010c, 0x010f, 0, 0, READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); m_isa->install_device(this, 0x0100, 0x010b, 0, 0, FUNC(mc1502_FDC_r), FUNC(mc1502_FDC_w) ); // BIOS 5.31, 5.33 /* - m_isa->install_device(0x010c, 0x010f, 0, 0, - READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), - WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); - m_isa->install_device(this, 0x0100, 0x010b, 0, 0, FUNC(mc1502_FDC_r), FUNC(mc1502_FDC_w) ); + m_isa->install_device(0x010c, 0x010f, 0, 0, + READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), + WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); + m_isa->install_device(this, 0x0100, 0x010b, 0, 0, FUNC(mc1502_FDC_r), FUNC(mc1502_FDC_w) ); */ m_fdc->setup_drq_cb(fd1793_t::line_cb(FUNC(mc1502_fdc_device::mc1502_fdc_irq_drq), this)); m_fdc->setup_intrq_cb(fd1793_t::line_cb(FUNC(mc1502_fdc_device::mc1502_fdc_irq_drq), this)); diff --git a/src/mess/machine/nes_mmc5.c b/src/mess/machine/nes_mmc5.c index 0a1bbdced2a..54c84deb938 100644 --- a/src/mess/machine/nes_mmc5.c +++ b/src/mess/machine/nes_mmc5.c @@ -41,7 +41,7 @@ const device_type NES_EXROM = &device_creator<nes_exrom_device>; nes_exrom_device::nes_exrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : nes_nrom_device(mconfig, NES_EXROM, "NES Cart ExROM (MMC-5) PCB", tag, owner, clock, "nes_exrom", __FILE__) + : nes_nrom_device(mconfig, NES_EXROM, "NES Cart ExROM (MMC-5) PCB", tag, owner, clock, "nes_exrom", __FILE__) { } diff --git a/src/mess/machine/p1_fdc.c b/src/mess/machine/p1_fdc.c index ef24a4de48f..6035b677463 100644 --- a/src/mess/machine/p1_fdc.c +++ b/src/mess/machine/p1_fdc.c @@ -134,7 +134,7 @@ void p1_fdc_device::p1_wd17xx_aux_w(int data) if(!BIT(data, 6)) m_fdc->reset(); - + m_fdc->set_floppy(floppy); floppy->ss_w(BIT(data, 4)); @@ -196,7 +196,7 @@ void p1_fdc_device::device_start() { set_isa_device(); m_isa->install_rom(this, 0xe0000, 0xe07ff, 0, 0, "XXX", "p1_fdc"); - m_isa->install_device(0x00c0, 0x00c3, 0, 0, + m_isa->install_device(0x00c0, 0x00c3, 0, 0, READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); m_isa->install_device(this, 0x00c4, 0x00c7, 0, 0, FUNC(p1_FDC_r), FUNC(p1_FDC_w) ); diff --git a/src/mess/machine/p1_hdc.c b/src/mess/machine/p1_hdc.c index 3ea7f972a78..5a52d9df534 100644 --- a/src/mess/machine/p1_hdc.c +++ b/src/mess/machine/p1_hdc.c @@ -28,7 +28,7 @@ } \ } while (0) -#define KM1809VG7_TAG "d17" +#define KM1809VG7_TAG "d17" //************************************************************************** @@ -109,7 +109,7 @@ READ8_MEMBER(p1_hdc_device::p1_HDC_r) UINT8 data = 0x00; switch (offset >> 8) { - case 8: data = m_hdc->read(space, offset & 255); + case 8: data = m_hdc->read(space, offset & 255); } DBG_LOG(1,"hdc",("R $%04x == $%02x\n", offset, data)); @@ -120,7 +120,7 @@ WRITE8_MEMBER(p1_hdc_device::p1_HDC_w) { DBG_LOG(1,"hdc",("W $%04x <- $%02x\n", offset, data)); switch (offset >> 8) { - case 8: m_hdc->write(space, offset & 255, data, 0); + case 8: m_hdc->write(space, offset & 255, data, 0); } } @@ -144,7 +144,7 @@ void p1_hdc_device::device_start() { set_isa_device(); m_isa->install_rom(this, 0xe2000, 0xe27ff, 0, 0, "XXX", "p1_hdc"); - m_isa->install_memory(0xd0000, 0xd0fff, 0, 0, + m_isa->install_memory(0xd0000, 0xd0fff, 0, 0, READ8_DELEGATE(p1_hdc_device, p1_HDC_r), WRITE8_DELEGATE(p1_hdc_device, p1_HDC_w) ); } diff --git a/src/mess/machine/prof80mmu.c b/src/mess/machine/prof80mmu.c index 1acad1a90b8..720fef9abd4 100644 --- a/src/mess/machine/prof80mmu.c +++ b/src/mess/machine/prof80mmu.c @@ -103,7 +103,7 @@ READ8_MEMBER( prof80_mmu_device::program_r ) { offset |= 0xf0000; } - + return this->space(AS_PROGRAM).read_byte(offset); } @@ -123,6 +123,6 @@ WRITE8_MEMBER( prof80_mmu_device::program_w ) { offset |= 0xf0000; } - + this->space(AS_PROGRAM).write_byte(offset, data); } diff --git a/src/mess/machine/prof80mmu.h b/src/mess/machine/prof80mmu.h index d5de2f52650..f7407ddb208 100644 --- a/src/mess/machine/prof80mmu.h +++ b/src/mess/machine/prof80mmu.h @@ -33,7 +33,7 @@ // ======================> prof80_mmu_device class prof80_mmu_device : public device_t, - public device_memory_interface + public device_memory_interface { public: prof80_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); diff --git a/src/mess/machine/xsu_cards.c b/src/mess/machine/xsu_cards.c index 25598454317..b93ccc9a406 100644 --- a/src/mess/machine/xsu_cards.c +++ b/src/mess/machine/xsu_cards.c @@ -11,13 +11,13 @@ SLOT_INTERFACE_START( p1_isa8_cards ) SLOT_INTERFACE("rom", P1_ROM) - SLOT_INTERFACE("fdc", P1_FDC) // B504 - SLOT_INTERFACE("hdc", P1_HDC) // B942 + SLOT_INTERFACE("fdc", P1_FDC) // B504 + SLOT_INTERFACE("hdc", P1_HDC) // B942 /* - SLOT_INTERFACE("comlpt", P1_COMLPT) // B620 - SLOT_INTERFACE("joy", P1_JOY) // B621 - SLOT_INTERFACE("mouse", P1_MOUSE) // B943 - SLOT_INTERFACE("lan", P1_LAN) // B944 + SLOT_INTERFACE("comlpt", P1_COMLPT) // B620 + SLOT_INTERFACE("joy", P1_JOY) // B621 + SLOT_INTERFACE("mouse", P1_MOUSE) // B943 + SLOT_INTERFACE("lan", P1_LAN) // B944 */ SLOT_INTERFACE("pccom", ISA8_COM) SLOT_INTERFACE("pclpt", ISA8_LPT) @@ -28,7 +28,7 @@ SLOT_INTERFACE_START( mc1502_isa8_cards ) SLOT_INTERFACE("rom", MC1502_ROM) SLOT_INTERFACE("fdc", MC1502_FDC) /* - SLOT_INTERFACE("hdc", MC1502_HDC) + SLOT_INTERFACE("hdc", MC1502_HDC) */ SLOT_INTERFACE("pccom", ISA8_COM) SLOT_INTERFACE("pclpt", ISA8_LPT) |
