mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
various whitespace and comments fixes (nw)
This commit is contained in:
parent
6082fc6772
commit
787f186d48
@ -513,7 +513,7 @@ MC6845_UPDATE_ROW( isa8_cga_device::cga_text_inten_comp_grey_update_row )
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
int i;
|
||||
|
||||
if ( y == 0 ) CGA_LOG(1,"cga_text_inten_update_row",("\n"));
|
||||
if ( y == 0 ) CGA_LOG(1,"cga_text_inten_comp_grey_update_row",("\n"));
|
||||
for ( i = 0; i < x_count; i++ )
|
||||
{
|
||||
UINT16 offset = ( ( ma + i ) << 1 ) & 0x3fff;
|
||||
@ -632,7 +632,7 @@ MC6845_UPDATE_ROW( isa8_cga_device::cga_text_blink_update_row_si )
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
int i;
|
||||
|
||||
if ( y == 0 ) CGA_LOG(1,"cga_text_blink_update_row",("\n"));
|
||||
if ( y == 0 ) CGA_LOG(1,"cga_text_blink_update_row_si",("\n"));
|
||||
for ( i = 0; i < x_count; i++ )
|
||||
{
|
||||
UINT16 offset = ( ( ma + i ) << 1 ) & 0x3fff;
|
||||
|
@ -48,7 +48,6 @@ const device_type PC_KBD_EC_1841 = &device_creator<ec_1841_keyboard_device>;
|
||||
|
||||
ROM_START( ec_1841_keyboard )
|
||||
ROM_REGION( 0x400, I8048_TAG, 0 )
|
||||
// XXX add P/N etc
|
||||
ROM_LOAD( "1816be48.bin", 0x000, 0x400, CRC(e9abfe44) SHA1(1db430c72c2d007ea0b8ae2514ff15c96baba308) )
|
||||
ROM_END
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "emu.h"
|
||||
#include "cpu/mcs48/mcs48.h"
|
||||
#include "pc_kbdc.h"
|
||||
#include "machine/rescap.h"
|
||||
|
||||
|
||||
|
||||
@ -81,6 +80,4 @@ private:
|
||||
// device type definition
|
||||
extern const device_type PC_KBD_EC_1841;
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -252,7 +252,6 @@ static MACHINE_CONFIG_START( ec1841, ec184x_state )
|
||||
MCFG_CPU_IO_MAP(ec1841_io)
|
||||
MCFG_CPU_IRQ_ACKNOWLEDGE_DEVICE("mb:pic8259", pic8259_device, inta_cb)
|
||||
|
||||
// MCFG_MACHINE_START_OVERRIDE(ec184x_state, ec184x)
|
||||
MCFG_MACHINE_RESET_OVERRIDE(ec184x_state, ec184x)
|
||||
|
||||
MCFG_EC1841_MOTHERBOARD_ADD("mb", "maincpu")
|
||||
|
@ -77,9 +77,9 @@ static MACHINE_CONFIG_START( iskr1030m, iskr103x_state )
|
||||
MCFG_IBM5160_MOTHERBOARD_ADD("mb","maincpu")
|
||||
MCFG_DEVICE_INPUT_DEFAULTS(iskr1030m)
|
||||
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", iskr103x_isa8_cards, "cga_iskr1030m", false) // actually MDA?
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", iskr103x_isa8_cards, "cga_iskr1030m", false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", iskr103x_isa8_cards, "fdc_xt", false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", iskr103x_isa8_cards, NULL, false) // hdc is WIP
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", iskr103x_isa8_cards, NULL, false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", iskr103x_isa8_cards, NULL, false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", iskr103x_isa8_cards, NULL, false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", iskr103x_isa8_cards, NULL, false)
|
||||
@ -103,7 +103,7 @@ static MACHINE_CONFIG_START( iskr1031, iskr103x_state )
|
||||
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", iskr103x_isa8_cards, "cga_iskr1031", false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", iskr103x_isa8_cards, "fdc_xt", false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", iskr103x_isa8_cards, NULL, false) // hdc is WIP
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", iskr103x_isa8_cards, NULL, false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", iskr103x_isa8_cards, NULL, false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", iskr103x_isa8_cards, NULL, false)
|
||||
MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", iskr103x_isa8_cards, NULL, false)
|
||||
|
@ -219,7 +219,6 @@ static ADDRESS_MAP_START( mc1502_map, AS_PROGRAM, 8, mc1502_state )
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
AM_RANGE(0x00000, 0x97fff) AM_RAM /* 96K on mainboard + 512K on extension card */
|
||||
AM_RANGE(0xc0000, 0xfbfff) AM_NOP
|
||||
// AM_RANGE(0xe8000, 0xeffff) AM_ROM /* BASIC */
|
||||
AM_RANGE(0xfc000, 0xfffff) AM_ROM
|
||||
ADDRESS_MAP_END
|
||||
|
||||
@ -232,7 +231,7 @@ ADDRESS_MAP_END
|
||||
|
||||
static ADDRESS_MAP_START(mc1502_io, AS_IO, 8, mc1502_state )
|
||||
AM_RANGE(0x0020, 0x0021) AM_DEVREADWRITE("pic8259", pic8259_device, read, write)
|
||||
AM_RANGE(0x0028, 0x0028) AM_DEVREADWRITE("upd8251", i8251_device, data_r, data_w) // not working yet
|
||||
AM_RANGE(0x0028, 0x0028) AM_DEVREADWRITE("upd8251", i8251_device, data_r, data_w)
|
||||
AM_RANGE(0x0029, 0x0029) AM_DEVREADWRITE("upd8251", i8251_device, status_r, control_w)
|
||||
AM_RANGE(0x0040, 0x0043) AM_DEVREADWRITE("pit8253", pit8253_device, read, write)
|
||||
AM_RANGE(0x0060, 0x0063) AM_DEVREADWRITE("ppi8255n1", i8255_device, read, write)
|
||||
@ -244,7 +243,6 @@ static INPUT_PORTS_START( mc1502 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static MACHINE_CONFIG_START( mc1502, mc1502_state )
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", I8088, XTAL_16MHz/3)
|
||||
MCFG_CPU_PROGRAM_MAP(mc1502_map)
|
||||
MCFG_CPU_IO_MAP(mc1502_io)
|
||||
|
@ -154,7 +154,6 @@ extern const device_type IBM5150_MOTHERBOARD;
|
||||
MCFG_DEVICE_ADD(_tag, EC1841_MOTHERBOARD, 0) \
|
||||
ec1841_mb_device::static_set_cputag(*device, _cputag);
|
||||
|
||||
// ======================> ibm5150_mb_device
|
||||
class ec1841_mb_device : public ibm5160_mb_device
|
||||
{
|
||||
public:
|
||||
@ -177,8 +176,6 @@ public:
|
||||
virtual DECLARE_WRITE_LINE_MEMBER( keyboard_clock_w );
|
||||
};
|
||||
|
||||
|
||||
// device type definition
|
||||
extern const device_type EC1841_MOTHERBOARD;
|
||||
|
||||
#define MCFG_PCNOPPI_MOTHERBOARD_ADD(_tag, _cputag) \
|
||||
|
@ -77,15 +77,6 @@ public:
|
||||
|
||||
private:
|
||||
int m_pit_out2;
|
||||
|
||||
/*
|
||||
TIMER_CALLBACK_MEMBER(fdc_motor_callback);
|
||||
static struct {
|
||||
int fdc_motor_on;
|
||||
emu_timer *fdc_motor_timer;
|
||||
} m_motor;
|
||||
const char *m_cputag;
|
||||
*/
|
||||
};
|
||||
|
||||
#endif /* MC1502_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user