summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess')
-rw-r--r--src/mess/drivers/apple2.c6
-rw-r--r--src/mess/drivers/hh_hmcs40.c10
-rw-r--r--src/mess/drivers/hh_tms1k.c2
-rw-r--r--src/mess/drivers/hh_ucom4.c4
-rw-r--r--src/mess/drivers/hp64k.c348
-rw-r--r--src/mess/drivers/hp_ipc.c1
-rw-r--r--src/mess/drivers/ngen.c4
-rw-r--r--src/mess/drivers/tispeak.c20
-rw-r--r--src/mess/drivers/xbox.c24
-rw-r--r--src/mess/includes/aussiebyte.h1
-rw-r--r--src/mess/includes/thomson.h2
-rw-r--r--src/mess/machine/coco.c2
-rw-r--r--src/mess/video/aussiebyte.c5
13 files changed, 213 insertions, 216 deletions
diff --git a/src/mess/drivers/apple2.c b/src/mess/drivers/apple2.c
index 4c03b3fb63c..8b89919d309 100644
--- a/src/mess/drivers/apple2.c
+++ b/src/mess/drivers/apple2.c
@@ -377,7 +377,7 @@ UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
if (m_video->m_mix)
{
m_video->hgr_update(screen, bitmap, cliprect, 0, 159);
- if (!strcmp(machine().system().name, "ivelultr"))
+ if (!strcmp(machine().system().name, "ivelultr"))
{
m_video->text_update_ultr(screen, bitmap, cliprect, 160, 191);
}
@@ -396,7 +396,7 @@ UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
if (m_video->m_mix)
{
m_video->lores_update(screen, bitmap, cliprect, 0, 159);
- if (!strcmp(machine().system().name, "ivelultr"))
+ if (!strcmp(machine().system().name, "ivelultr"))
{
m_video->text_update_ultr(screen, bitmap, cliprect, 160, 191);
}
@@ -413,7 +413,7 @@ UINT32 napple2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
else
{
- if (!strcmp(machine().system().name, "ivelultr"))
+ if (!strcmp(machine().system().name, "ivelultr"))
{
m_video->text_update_ultr(screen, bitmap, cliprect, 0, 191);
}
diff --git a/src/mess/drivers/hh_hmcs40.c b/src/mess/drivers/hh_hmcs40.c
index 182324e86ec..765c453ce13 100644
--- a/src/mess/drivers/hh_hmcs40.c
+++ b/src/mess/drivers/hh_hmcs40.c
@@ -1718,7 +1718,7 @@ MACHINE_CONFIG_END
* PCB label Kaken Corp. PT-460
* Hitachi QFP HD38820A88 MCU(main), HD38820A89(audio)
* cyan/red VFD display
-
+
This is a memory game, the difference is instead of pictures, the player
needs to match sound effects. It has an extra MCU for sound. The case is
shaped like a glossy black pyramid. Star Trek fans will recognize it as
@@ -1758,13 +1758,13 @@ WRITE16_MEMBER(pairmtch_state::grid_w)
{
// D7: sound reset (to audiocpu reset line)
m_audiocpu->set_input_line(INPUT_LINE_RESET, (data & 0x80) ? ASSERT_LINE : CLEAR_LINE);
-
+
// D9: sound start (to audiocpu INT0)
m_audiocpu->set_input_line(0, (data & 0x200) ? ASSERT_LINE : CLEAR_LINE);
-
+
// D10,D15: input mux
m_inp_mux = (data >> 10 & 1) | (data >> 14 & 2);
-
+
// D0-D5: vfd matrix grid
m_grid = data & 0x3f;
display_matrix(12, 6, m_plate, m_grid);
@@ -1795,7 +1795,7 @@ WRITE16_MEMBER(pairmtch_state::speaker_w)
{
// D0: speaker out
m_speaker->level_w(data & 1);
-
+
// D1: sound ack (to maincpu INT0)
m_maincpu->set_input_line(0, (data & 2) ? ASSERT_LINE : CLEAR_LINE);
}
diff --git a/src/mess/drivers/hh_tms1k.c b/src/mess/drivers/hh_tms1k.c
index 00b68d3bfdb..357d0f496fe 100644
--- a/src/mess/drivers/hh_tms1k.c
+++ b/src/mess/drivers/hh_tms1k.c
@@ -235,7 +235,7 @@ void hh_tms1k_state::display_update()
}
memcpy(m_display_cache, active_state, sizeof(m_display_cache));
-
+
// output optional power led
if (m_power_led != m_power_on)
{
diff --git a/src/mess/drivers/hh_ucom4.c b/src/mess/drivers/hh_ucom4.c
index b6314b0feda..8aa5836ffe9 100644
--- a/src/mess/drivers/hh_ucom4.c
+++ b/src/mess/drivers/hh_ucom4.c
@@ -969,7 +969,7 @@ MACHINE_CONFIG_END
Castle Toy Tactix
* NEC uCOM-43 MCU, labeled D557LC 512
* 16 LEDs behind buttons
-
+
Tactix is similar to Merlin, for 1 or 2 players. In 2-player mode, simply
don't press the Comp Turn button. The four included minigames are:
1: Capture (reversi)
@@ -1194,7 +1194,7 @@ MACHINE_CONFIG_END
known releases:
- USA: Electronic Football (aka Pro-Bowl Football)
- Japan: American Football
-
+
note: MAME external artwork is not needed for this game
***************************************************************************/
diff --git a/src/mess/drivers/hp64k.c b/src/mess/drivers/hp64k.c
index 1467aac1c91..0671ea5702e 100644
--- a/src/mess/drivers/hp64k.c
+++ b/src/mess/drivers/hp64k.c
@@ -216,21 +216,21 @@ public:
DECLARE_READ16_MEMBER(hp64k_usart_r);
DECLARE_WRITE16_MEMBER(hp64k_usart_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_rxrdy_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_txrdy_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_txd_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_dtr_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_rts_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_rxrdy_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_txrdy_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_txd_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_dtr_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_rts_w);
DECLARE_WRITE16_MEMBER(hp64k_loopback_w);
- void hp64k_update_loopback(void);
- DECLARE_WRITE_LINE_MEMBER(hp64k_rs232_rxd_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_rs232_dcd_w);
- DECLARE_WRITE_LINE_MEMBER(hp64k_rs232_cts_w);
-
+ void hp64k_update_loopback(void);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_rs232_rxd_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_rs232_dcd_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_rs232_cts_w);
+
DECLARE_WRITE16_MEMBER(hp64k_beep_w);
TIMER_DEVICE_CALLBACK_MEMBER(hp64k_beeper_off);
- DECLARE_WRITE_LINE_MEMBER(hp64k_baud_clk_w);
+ DECLARE_WRITE_LINE_MEMBER(hp64k_baud_clk_w);
private:
required_device<hp_5061_3011_cpu_device> m_cpu;
required_device<i8275_device> m_crtc;
@@ -248,10 +248,10 @@ private:
required_ioport m_rs232_sw;
required_device<beep_device> m_beeper;
required_device<timer_device> m_beep_timer;
- required_device<clock_device> m_baud_rate;
- required_ioport m_s5_sw;
- required_device<i8251_device> m_uart;
- required_device<rs232_port_device> m_rs232;
+ required_device<clock_device> m_baud_rate;
+ required_ioport m_s5_sw;
+ required_device<i8251_device> m_uart;
+ required_device<rs232_port_device> m_rs232;
// Character generator
const UINT8 *m_chargen;
@@ -302,14 +302,14 @@ private:
floppy_state_t m_floppy_if_state;
floppy_image_device *m_current_floppy;
- // RS232 I/F
- bool m_16x_clk;
- bool m_baud_clk;
- UINT8 m_16x_div;
- bool m_loopback;
- bool m_txd_state;
- bool m_dtr_state;
- bool m_rts_state;
+ // RS232 I/F
+ bool m_16x_clk;
+ bool m_baud_clk;
+ UINT8 m_16x_div;
+ bool m_loopback;
+ bool m_txd_state;
+ bool m_dtr_state;
+ bool m_rts_state;
};
static ADDRESS_MAP_START(cpu_mem_map , AS_PROGRAM , 16 , hp64k_state)
@@ -329,15 +329,15 @@ static ADDRESS_MAP_START(cpu_io_map , AS_IO , 16 , hp64k_state)
// PA = 4, IC = [0..3]
// Floppy I/F
AM_RANGE(HP_MAKE_IOADDR(4 , 0) , HP_MAKE_IOADDR(4 , 3)) AM_READWRITE(hp64k_flp_r , hp64k_flp_w)
- // PA = 5, IC = [0..3]
- // Write to USART
- AM_RANGE(HP_MAKE_IOADDR(5 , 0) , HP_MAKE_IOADDR(5 , 3)) AM_WRITE(hp64k_usart_w)
+ // PA = 5, IC = [0..3]
+ // Write to USART
+ AM_RANGE(HP_MAKE_IOADDR(5 , 0) , HP_MAKE_IOADDR(5 , 3)) AM_WRITE(hp64k_usart_w)
// PA = 6, IC = [0..3]
// Read from USART
AM_RANGE(HP_MAKE_IOADDR(6 , 0) , HP_MAKE_IOADDR(6 , 3)) AM_READ(hp64k_usart_r)
// PA = 7, IC = 2
// Rear-panel switches and loopback relay control
- AM_RANGE(HP_MAKE_IOADDR(7 , 2) , HP_MAKE_IOADDR(7 , 2)) AM_READWRITE(hp64k_rear_sw_r , hp64k_loopback_w)
+ AM_RANGE(HP_MAKE_IOADDR(7 , 2) , HP_MAKE_IOADDR(7 , 2)) AM_READWRITE(hp64k_rear_sw_r , hp64k_loopback_w)
// PA = 9, IC = [0..3]
// Beeper control & interrupt status read
AM_RANGE(HP_MAKE_IOADDR(9 , 0) , HP_MAKE_IOADDR(9 , 3)) AM_WRITE(hp64k_beep_w)
@@ -366,11 +366,11 @@ hp64k_state::hp64k_state(const machine_config &mconfig, device_type type, const
m_rear_panel_sw(*this , "rear_sw"),
m_rs232_sw(*this , "rs232_sw"),
m_beeper(*this , "beeper"),
- m_beep_timer(*this , "beep_timer"),
- m_baud_rate(*this , "baud_rate"),
- m_s5_sw(*this , "s5_sw"),
- m_uart(*this , "uart"),
- m_rs232(*this , "rs232")
+ m_beep_timer(*this , "beep_timer"),
+ m_baud_rate(*this , "baud_rate"),
+ m_s5_sw(*this , "s5_sw"),
+ m_uart(*this , "uart"),
+ m_rs232(*this , "rs232")
{
}
@@ -387,22 +387,22 @@ void hp64k_state::video_start()
// Divisors of K1135 baud rate generator
static unsigned baud_rate_divisors[] = {
- 6336,
- 4224,
- 2880,
- 2355,
- 2112,
- 1056,
- 528,
- 264,
- 176,
- 158,
- 132,
- 88,
- 66,
- 44,
- 33,
- 16
+ 6336,
+ 4224,
+ 2880,
+ 2355,
+ 2112,
+ 1056,
+ 528,
+ 264,
+ 176,
+ 158,
+ 132,
+ 88,
+ 66,
+ 44,
+ 33,
+ 16
};
void hp64k_state::machine_reset()
@@ -428,13 +428,13 @@ void hp64k_state::machine_reset()
m_floppy0_wpt = false;
m_floppy1_wpt = false;
m_beeper->set_state(0);
- m_baud_rate->set_unscaled_clock(BAUD_RATE_GEN_CLOCK / baud_rate_divisors[ (m_s5_sw->read() >> 1) & 0xf ]);
- m_16x_clk = (m_rs232_sw->read() & 0x02) != 0;
- m_loopback = false;
- m_txd_state = true;
- m_dtr_state = true;
- m_rts_state = true;
-
+ m_baud_rate->set_unscaled_clock(BAUD_RATE_GEN_CLOCK / baud_rate_divisors[ (m_s5_sw->read() >> 1) & 0xf ]);
+ m_16x_clk = (m_rs232_sw->read() & 0x02) != 0;
+ m_loopback = false;
+ m_txd_state = true;
+ m_dtr_state = true;
+ m_rts_state = true;
+
}
UINT8 hp64k_state::hp64k_crtc_filter(UINT8 data)
@@ -958,125 +958,125 @@ void hp64k_state::hp64k_floppy_wpt_cb(floppy_image_device *floppy , int state)
READ16_MEMBER(hp64k_state::hp64k_usart_r)
{
- UINT16 tmp;
-
- if ((offset & 1) == 0) {
- tmp = m_uart->status_r(space , 0);
- } else {
- tmp = m_uart->data_r(space , 0);
- }
-
+ UINT16 tmp;
+
+ if ((offset & 1) == 0) {
+ tmp = m_uart->status_r(space , 0);
+ } else {
+ tmp = m_uart->data_r(space , 0);
+ }
+
// bit 8 == bit 7 rear panel switches (modem/terminal) ???
- tmp |= (m_rs232_sw->read() << 8);
+ tmp |= (m_rs232_sw->read() << 8);
+
+ if (BIT(m_rear_panel_sw->read() , 7)) {
+ BIT_SET(tmp , 8);
+ }
- if (BIT(m_rear_panel_sw->read() , 7)) {
- BIT_SET(tmp , 8);
- }
-
return tmp;
}
WRITE16_MEMBER(hp64k_state::hp64k_usart_w)
{
- if ((offset & 1) == 0) {
- m_uart->control_w(space , 0 , (UINT8)(data & 0xff));
- } else {
- m_uart->data_w(space , 0 , (UINT8)(data & 0xff));
- }
+ if ((offset & 1) == 0) {
+ m_uart->control_w(space , 0 , (UINT8)(data & 0xff));
+ } else {
+ m_uart->data_w(space , 0 , (UINT8)(data & 0xff));
+ }
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_rxrdy_w)
{
- if (state) {
- BIT_SET(m_irl_pending , 6);
- } else {
- BIT_CLR(m_irl_pending , 6);
- }
+ if (state) {
+ BIT_SET(m_irl_pending , 6);
+ } else {
+ BIT_CLR(m_irl_pending , 6);
+ }
- hp64k_update_irl();
+ hp64k_update_irl();
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_txrdy_w)
{
- if (state) {
- BIT_SET(m_irl_pending , 5);
- } else {
- BIT_CLR(m_irl_pending , 5);
- }
+ if (state) {
+ BIT_SET(m_irl_pending , 5);
+ } else {
+ BIT_CLR(m_irl_pending , 5);
+ }
- hp64k_update_irl();
+ hp64k_update_irl();
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_txd_w)
{
- m_txd_state = state;
- if (m_loopback) {
- m_uart->write_rxd(state);
- }
- m_rs232->write_txd(state);
+ m_txd_state = state;
+ if (m_loopback) {
+ m_uart->write_rxd(state);
+ }
+ m_rs232->write_txd(state);
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_dtr_w)
{
- m_dtr_state = state;
- if (m_loopback) {
- m_uart->write_dsr(state);
- }
- m_rs232->write_dtr(state);
+ m_dtr_state = state;
+ if (m_loopback) {
+ m_uart->write_dsr(state);
+ }
+ m_rs232->write_dtr(state);
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_rts_w)
{
- if (BIT(m_s5_sw->read() , 0)) {
- // Full duplex, RTS/ = 0
- state = 0;
- }
- m_rts_state = state;
- if (m_loopback) {
- m_uart->write_cts(state);
- }
- m_rs232->write_rts(state);
+ if (BIT(m_s5_sw->read() , 0)) {
+ // Full duplex, RTS/ = 0
+ state = 0;
+ }
+ m_rts_state = state;
+ if (m_loopback) {
+ m_uart->write_cts(state);
+ }
+ m_rs232->write_rts(state);
}
WRITE16_MEMBER(hp64k_state::hp64k_loopback_w)
{
- m_loopback = BIT(data , 11);
- hp64k_update_loopback();
+ m_loopback = BIT(data , 11);
+ hp64k_update_loopback();
}
void hp64k_state::hp64k_update_loopback(void)
{
- if (m_loopback) {
- m_uart->write_rxd(m_txd_state);
- m_uart->write_dsr(m_dtr_state);
- m_uart->write_cts(m_rts_state);
- } else {
- m_uart->write_rxd(m_rs232->rxd_r());
- m_uart->write_dsr(m_rs232->dcd_r());
- m_uart->write_cts(m_rs232->cts_r());
- }
+ if (m_loopback) {
+ m_uart->write_rxd(m_txd_state);
+ m_uart->write_dsr(m_dtr_state);
+ m_uart->write_cts(m_rts_state);
+ } else {
+ m_uart->write_rxd(m_rs232->rxd_r());
+ m_uart->write_dsr(m_rs232->dcd_r());
+ m_uart->write_cts(m_rs232->cts_r());
+ }
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_rs232_rxd_w)
{
- if (!m_loopback) {
- m_uart->write_rxd(state);
- }
+ if (!m_loopback) {
+ m_uart->write_rxd(state);
+ }
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_rs232_dcd_w)
{
- if (!m_loopback) {
- m_uart->write_dsr(state);
- }
+ if (!m_loopback) {
+ m_uart->write_dsr(state);
+ }
}
WRITE_LINE_MEMBER(hp64k_state::hp64k_rs232_cts_w)
{
- if (!m_loopback) {
- m_uart->write_cts(state);
- }
+ if (!m_loopback) {
+ m_uart->write_cts(state);
+ }
}
WRITE16_MEMBER(hp64k_state::hp64k_beep_w)
@@ -1095,15 +1095,15 @@ TIMER_DEVICE_CALLBACK_MEMBER(hp64k_state::hp64k_beeper_off)
WRITE_LINE_MEMBER(hp64k_state::hp64k_baud_clk_w)
{
- if (!m_16x_clk) {
- if (state && !m_baud_clk) {
- m_16x_div++;
- }
- m_baud_clk = !!state;
- state = BIT(m_16x_div , 3);
- }
- m_uart->write_txc(state);
- m_uart->write_rxc(state);
+ if (!m_16x_clk) {
+ if (state && !m_baud_clk) {
+ m_16x_div++;
+ }
+ m_baud_clk = !!state;
+ state = BIT(m_16x_div , 3);
+ }
+ m_uart->write_txc(state);
+ m_uart->write_rxc(state);
}
static INPUT_PORTS_START(hp64k)
@@ -1321,29 +1321,29 @@ static INPUT_PORTS_START(hp64k)
PORT_DIPSETTING(0x00 , "1x")
PORT_DIPSETTING(0x02 , "16x")
- PORT_START("s5_sw")
- PORT_DIPNAME(0x01 , 0x00 , "Duplex")
- PORT_DIPLOCATION("S5 IO:!1")
- PORT_DIPSETTING(0x00 , "Half duplex")
- PORT_DIPSETTING(0x01 , "Full duplex")
- PORT_DIPNAME(0x1e , 0x00 , "Baud rate")
- PORT_DIPLOCATION("S5 IO:!5,!4,!3,!2")
- PORT_DIPSETTING(0x00 , "50")
- PORT_DIPSETTING(0x02 , "75")
- PORT_DIPSETTING(0x04 , "110")
- PORT_DIPSETTING(0x06 , "134.5")
- PORT_DIPSETTING(0x08 , "150")
- PORT_DIPSETTING(0x0a , "300")
- PORT_DIPSETTING(0x0c , "600")
- PORT_DIPSETTING(0x0e , "1200")
- PORT_DIPSETTING(0x10 , "1800")
- PORT_DIPSETTING(0x12 , "2000")
- PORT_DIPSETTING(0x14 , "2400")
- PORT_DIPSETTING(0x16 , "3600")
- PORT_DIPSETTING(0x18 , "4800")
- PORT_DIPSETTING(0x1a , "7200")
- PORT_DIPSETTING(0x1c , "9600")
- PORT_DIPSETTING(0x1e , "19200")
+ PORT_START("s5_sw")
+ PORT_DIPNAME(0x01 , 0x00 , "Duplex")
+ PORT_DIPLOCATION("S5 IO:!1")
+ PORT_DIPSETTING(0x00 , "Half duplex")
+ PORT_DIPSETTING(0x01 , "Full duplex")
+ PORT_DIPNAME(0x1e , 0x00 , "Baud rate")
+ PORT_DIPLOCATION("S5 IO:!5,!4,!3,!2")
+ PORT_DIPSETTING(0x00 , "50")
+ PORT_DIPSETTING(0x02 , "75")
+ PORT_DIPSETTING(0x04 , "110")
+ PORT_DIPSETTING(0x06 , "134.5")
+ PORT_DIPSETTING(0x08 , "150")
+ PORT_DIPSETTING(0x0a , "300")
+ PORT_DIPSETTING(0x0c , "600")
+ PORT_DIPSETTING(0x0e , "1200")
+ PORT_DIPSETTING(0x10 , "1800")
+ PORT_DIPSETTING(0x12 , "2000")
+ PORT_DIPSETTING(0x14 , "2400")
+ PORT_DIPSETTING(0x16 , "3600")
+ PORT_DIPSETTING(0x18 , "4800")
+ PORT_DIPSETTING(0x1a , "7200")
+ PORT_DIPSETTING(0x1c , "9600")
+ PORT_DIPSETTING(0x1e , "19200")
INPUT_PORTS_END
@@ -1366,7 +1366,7 @@ static MACHINE_CONFIG_START(hp64k , hp64k_state)
// Clock = 25 MHz / 9 * (112/114)
MCFG_DEVICE_ADD("crtc" , I8275 , 2729045)
- MCFG_VIDEO_SET_SCREEN("screen")
+ MCFG_VIDEO_SET_SCREEN("screen")
MCFG_I8275_CHARACTER_WIDTH(9)
MCFG_I8275_DRAW_CHARACTER_CALLBACK_OWNER(hp64k_state , crtc_display_pixels)
MCFG_I8275_DRQ_CALLBACK(WRITELINE(hp64k_state , hp64k_crtc_drq_w))
@@ -1375,10 +1375,10 @@ static MACHINE_CONFIG_START(hp64k , hp64k_state)
MCFG_SCREEN_ADD("screen" , RASTER)
MCFG_SCREEN_UPDATE_DEVICE("crtc" , i8275_device , screen_update)
MCFG_SCREEN_REFRESH_RATE(60)
- MCFG_SCREEN_SIZE(720 , 390)
+ MCFG_SCREEN_SIZE(720 , 390)
MCFG_PALETTE_ADD_MONOCHROME_GREEN_HIGHLIGHT("palette")
- MCFG_FD1791_ADD("fdc" , XTAL_4MHz / 4)
+ MCFG_FD1791_ADD("fdc" , XTAL_4MHz / 4)
MCFG_WD_FDC_FORCE_READY
MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(hp64k_state , hp64k_flp_intrq_w))
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(hp64k_state , hp64k_flp_drq_w))
@@ -1410,21 +1410,21 @@ static MACHINE_CONFIG_START(hp64k , hp64k_state)
MCFG_TIMER_DRIVER_ADD("beep_timer" , hp64k_state , hp64k_beeper_off);
- MCFG_DEVICE_ADD("baud_rate" , CLOCK , 0)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE(hp64k_state , hp64k_baud_clk_w));
-
- MCFG_DEVICE_ADD("uart" , I8251 , 0)
- MCFG_I8251_RXRDY_HANDLER(WRITELINE(hp64k_state , hp64k_rxrdy_w));
- MCFG_I8251_TXRDY_HANDLER(WRITELINE(hp64k_state , hp64k_txrdy_w));
- MCFG_I8251_TXD_HANDLER(WRITELINE(hp64k_state , hp64k_txd_w));
- MCFG_I8251_DTR_HANDLER(WRITELINE(hp64k_state , hp64k_dtr_w));
- MCFG_I8251_RTS_HANDLER(WRITELINE(hp64k_state , hp64k_rts_w));
-
- MCFG_RS232_PORT_ADD("rs232" , default_rs232_devices , NULL)
- MCFG_RS232_RXD_HANDLER(WRITELINE(hp64k_state , hp64k_rs232_rxd_w))
- MCFG_RS232_DCD_HANDLER(WRITELINE(hp64k_state , hp64k_rs232_dcd_w))
- MCFG_RS232_CTS_HANDLER(WRITELINE(hp64k_state , hp64k_rs232_cts_w))
-
+ MCFG_DEVICE_ADD("baud_rate" , CLOCK , 0)
+ MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE(hp64k_state , hp64k_baud_clk_w));
+
+ MCFG_DEVICE_ADD("uart" , I8251 , 0)
+ MCFG_I8251_RXRDY_HANDLER(WRITELINE(hp64k_state , hp64k_rxrdy_w));
+ MCFG_I8251_TXRDY_HANDLER(WRITELINE(hp64k_state , hp64k_txrdy_w));
+ MCFG_I8251_TXD_HANDLER(WRITELINE(hp64k_state , hp64k_txd_w));
+ MCFG_I8251_DTR_HANDLER(WRITELINE(hp64k_state , hp64k_dtr_w));
+ MCFG_I8251_RTS_HANDLER(WRITELINE(hp64k_state , hp64k_rts_w));
+
+ MCFG_RS232_PORT_ADD("rs232" , default_rs232_devices , NULL)
+ MCFG_RS232_RXD_HANDLER(WRITELINE(hp64k_state , hp64k_rs232_rxd_w))
+ MCFG_RS232_DCD_HANDLER(WRITELINE(hp64k_state , hp64k_rs232_dcd_w))
+ MCFG_RS232_CTS_HANDLER(WRITELINE(hp64k_state , hp64k_rs232_cts_w))
+
MACHINE_CONFIG_END
ROM_START(hp64k)
diff --git a/src/mess/drivers/hp_ipc.c b/src/mess/drivers/hp_ipc.c
index a248efc299b..1eddffdf46f 100644
--- a/src/mess/drivers/hp_ipc.c
+++ b/src/mess/drivers/hp_ipc.c
@@ -356,4 +356,3 @@ ROM_END
COMP(1985, hp_ipc, 0, 0, hp_ipc, hp_ipc, driver_device, 0, "HP", "Integral Personal Computer", MACHINE_IS_SKELETON)
-
diff --git a/src/mess/drivers/ngen.c b/src/mess/drivers/ngen.c
index 83af9bec0df..29f492e5f30 100644
--- a/src/mess/drivers/ngen.c
+++ b/src/mess/drivers/ngen.c
@@ -744,7 +744,7 @@ WRITE8_MEMBER(ngen_state::dma_write_word)
MC6845_UPDATE_ROW( ngen_state::crtc_update_row )
{
UINT16 addr = ma;
-
+
for(int x=0;x<bitmap.width();x+=9)
{
UINT8 ch = m_vram.read16(addr++) & 0xff;
@@ -893,7 +893,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( ngen386_io, AS_IO, 32, ngen_state )
AM_RANGE(0x0000, 0x0003) AM_READWRITE16(xbus_r, xbus_w, 0x0000ffff)
-// AM_RANGE(0xf800, 0xfeff) AM_READWRITE16(peripheral_r, peripheral_w,0xffffffff)
+// AM_RANGE(0xf800, 0xfeff) AM_READWRITE16(peripheral_r, peripheral_w,0xffffffff)
AM_RANGE(0xfd08, 0xfd0b) AM_READWRITE16(b38_crtc_r, b38_crtc_w,0xffffffff)
AM_RANGE(0xfd0c, 0xfd0f) AM_READWRITE16(b38_keyboard_r, b38_keyboard_w,0xffffffff)
ADDRESS_MAP_END
diff --git a/src/mess/drivers/tispeak.c b/src/mess/drivers/tispeak.c
index 211d535f9ac..81a8dbff19a 100644
--- a/src/mess/drivers/tispeak.c
+++ b/src/mess/drivers/tispeak.c
@@ -9,7 +9,7 @@
These devices, mostly edu-toys, are based around an MCU(TMS0270/TMS1100),
TMS51xx speech, and VSM ROM(s). Newer devices, such as Speak & Music,
are based around the TMP50C40 and belong in another driver, probably.
-
+
note: except for tntell, MAME external artwork is not required. But it
is objectively a large improvement.
@@ -430,7 +430,7 @@ void tispeak_state::machine_start()
void tispeak_state::init_cartridge()
{
m_overlay = 0;
-
+
if (m_cart != NULL && m_cart->exists())
{
std::string region_tag;
@@ -558,7 +558,7 @@ WRITE16_MEMBER(tispeak_state::tntell_write_r)
{
// R10: CD2802 PDC pin
m_tms5100->pdc_w(data >> 10);
-
+
// R9: power-off request, on falling edge
if ((m_r >> 9 & 1) && !(data >> 9 & 1))
snspell_power_off();
@@ -578,7 +578,7 @@ READ8_MEMBER(tispeak_state::tntell_read_k)
{
// multiplexed inputs (and K2 from on-button)
UINT8 k = m_inp_matrix[9]->read() | read_inputs(9);
-
+
// K4: CD2802 CTL1
if (m_tms5100->ctl_r(space, 0) & 1)
k |= 4;
@@ -586,7 +586,7 @@ READ8_MEMBER(tispeak_state::tntell_read_k)
// K8: overlay code from R5,O4-O7
if (((m_r >> 1 & 0x10) | (m_o >> 4 & 0xf)) & m_overlay)
k |= 8;
-
+
return k;
}
@@ -596,13 +596,13 @@ TIMER_DEVICE_CALLBACK_MEMBER(tispeak_state::tntell_get_overlay)
// which one is active(if any). If it matches with the internal ROM or
// external module, the game continues.
// 00 for none, 1F for diagnostics, see comment section above for a list
-
+
// try to get overlay code from artwork file(in decimal), otherwise pick the
// one that was selected in machine configuration
m_overlay = output_get_value("overlay_code") & 0x1f;
if (m_overlay == 0)
m_overlay = m_inp_matrix[10]->read();
-
+
for (int i = 0; i < 5; i++)
output_set_indexed_value("ol", i+1, m_overlay >> i & 1);
}
@@ -1252,7 +1252,7 @@ ROM_START( tntell )
ROM_LOAD( "tms1100_cd8012_micro.pla", 0, 867, CRC(46d936c8) SHA1(b0aad486a90a5dec7fd2fb07caa503be771f91c8) )
ROM_REGION( 365, "maincpu:opla", 0 )
ROM_LOAD( "tms1100_cd8012_output.pla", 0, 365, CRC(5ada9306) SHA1(a4140118dd535af45a691832530d55cd86a23510) )
-
+
ROM_REGION( 0x8000, "tms6100", ROMREGION_ERASEFF ) // 4000-7fff = space reserved for cartridge
ROM_LOAD( "cd2610.vsm", 0x0000, 0x1000, CRC(6db34e5a) SHA1(10fa5db20fdcba68034058e7194f35c90b9844e6) )
ROM_END
@@ -1265,7 +1265,7 @@ ROM_START( tntelluk )
ROM_LOAD( "tms1100_cd8012_micro.pla", 0, 867, CRC(46d936c8) SHA1(b0aad486a90a5dec7fd2fb07caa503be771f91c8) )
ROM_REGION( 365, "maincpu:opla", 0 )
ROM_LOAD( "tms1100_cd8012_output.pla", 0, 365, CRC(5ada9306) SHA1(a4140118dd535af45a691832530d55cd86a23510) )
-
+
ROM_REGION( 0x8000, "tms6100", ROMREGION_ERASEFF ) // 4000-7fff = space reserved for cartridge
ROM_LOAD( "cd62170.vsm", 0x0000, 0x4000, CRC(6dc9d072) SHA1(9d2c9ff57c4f8fe69768666ffa41fcac649279ef) )
ROM_END
@@ -1278,7 +1278,7 @@ ROM_START( tntellfr )
ROM_LOAD( "tms1100_cd8012_micro.pla", 0, 867, CRC(46d936c8) SHA1(b0aad486a90a5dec7fd2fb07caa503be771f91c8) )
ROM_REGION( 365, "maincpu:opla", 0 )
ROM_LOAD( "tms1100_cd8012_output.pla", 0, 365, CRC(5ada9306) SHA1(a4140118dd535af45a691832530d55cd86a23510) )
-
+
ROM_REGION( 0x8000, "tms6100", ROMREGION_ERASEFF ) // 4000-7fff = space reserved for cartridge
ROM_LOAD( "cd62171.vsm", 0x0000, 0x4000, CRC(cc26f7d1) SHA1(2b03e37b3bf3cbeca36980acfc45246dac706b83) )
ROM_END
diff --git a/src/mess/drivers/xbox.c b/src/mess/drivers/xbox.c
index 7c919b54ad7..20d2ee9382b 100644
--- a/src/mess/drivers/xbox.c
+++ b/src/mess/drivers/xbox.c
@@ -130,11 +130,11 @@ void xbox_state::hack_eeprom()
}
/*static const struct {
- const char *game_name;
- struct {
- UINT32 address;
- UINT8 write_byte;
- } modify[16];
+ const char *game_name;
+ struct {
+ UINT32 address;
+ UINT8 write_byte;
+ } modify[16];
} hacks[] = { { "chihiro",{ { 0x6a79f, 0x01 },{ 0x6a7a0, 0x00 },{ 0x6b575, 0x00 },{ 0x6b576, 0x00 },{ 0x6b5af, 0x75 },{ 0x6b78a, 0x75 },{ 0x6b7ca, 0x00 },{ 0x6b7b8, 0x00 },{ 0x8f5b2, 0x75 },{ 0x79a9e, 0x74 },{ 0x79b80, 0x74 },{ 0x79b97, 0x74 },{ 0, 0 } } },
{ "outr2",{ { 0x12e4cf, 0x01 },{ 0x12e4d0, 0x00 },{ 0x4793e, 0x01 },{ 0x4793f, 0x00 },{ 0x47aa3, 0x01 },{ 0x47aa4, 0x00 },{ 0x14f2b6, 0x84 },{ 0x14f2d1, 0x75 },{ 0x8732f, 0x7d },{ 0x87384, 0x7d },{ 0x87388, 0xeb },{ 0, 0 } } } };*/
@@ -150,9 +150,9 @@ void xbox_state::hack_usb()
p = -1;
if (p >= 0) {
/*for (int a = 0; a < 16; a++) {
- if (hacks[p].modify[a].address == 0)
- break;
- m_maincpu->space(0).write_byte(hacks[p].modify[a].address, hacks[p].modify[a].write_byte);
+ if (hacks[p].modify[a].address == 0)
+ break;
+ m_maincpu->space(0).write_byte(hacks[p].modify[a].address, hacks[p].modify[a].write_byte);
}*/
}
usbhack_counter++;
@@ -164,10 +164,10 @@ void xbox_state::machine_start()
xbox_devs.ide = machine().device<bus_master_ide_controller_device>("ide");
usbhack_index = -1;
/*for (int a = 1; a < 2; a++)
- if (strcmp(machine().basename(), hacks[a].game_name) == 0) {
- usbhack_index = a;
- break;
- }*/
+ if (strcmp(machine().basename(), hacks[a].game_name) == 0) {
+ usbhack_index = a;
+ break;
+ }*/
usbhack_counter = 0;
// savestates
save_item(NAME(usbhack_counter));
diff --git a/src/mess/includes/aussiebyte.h b/src/mess/includes/aussiebyte.h
index 80dc6567ae5..0f798e1a99f 100644
--- a/src/mess/includes/aussiebyte.h
+++ b/src/mess/includes/aussiebyte.h
@@ -124,4 +124,3 @@ private:
required_device<speaker_sound_device> m_speaker;
required_device<votrax_sc01_device> m_votrax;
};
-
diff --git a/src/mess/includes/thomson.h b/src/mess/includes/thomson.h
index 440ca355e45..19c07cf763f 100644
--- a/src/mess/includes/thomson.h
+++ b/src/mess/includes/thomson.h
@@ -390,7 +390,7 @@ protected:
optional_memory_bank m_rambank;
required_memory_bank m_flopbank;
required_memory_bank m_basebank;
- required_memory_bank m_syslobank;
+ required_memory_bank m_syslobank;
optional_memory_bank m_syshibank;
optional_memory_bank m_datalobank;
optional_memory_bank m_datahibank;
diff --git a/src/mess/machine/coco.c b/src/mess/machine/coco.c
index d28fa1b3412..f1177b8d9e8 100644
--- a/src/mess/machine/coco.c
+++ b/src/mess/machine/coco.c
@@ -705,7 +705,7 @@ void coco_state::update_sound(void)
*/
if ((status & SOUNDMUX_ENABLE) != 0)
{
- m_analog_audio_level = dac_sound + cassette_sound + cart_sound;
+ m_analog_audio_level = dac_sound + cassette_sound + cart_sound;
}
m_dac->write_unsigned8(single_bit_sound + m_analog_audio_level);
diff --git a/src/mess/video/aussiebyte.c b/src/mess/video/aussiebyte.c
index b4e84863db8..f3f758fe4f6 100644
--- a/src/mess/video/aussiebyte.c
+++ b/src/mess/video/aussiebyte.c
@@ -70,7 +70,7 @@ READ8_MEMBER( aussiebyte_state::port37_r )
MC6845_ON_UPDATE_ADDR_CHANGED( aussiebyte_state::crtc_update_addr )
{
/* not sure what goes in here - parameters passed are device, address, strobe */
-// m_video_address = address;// & 0x7ff;
+// m_video_address = address;// & 0x7ff;
}
WRITE8_MEMBER( aussiebyte_state::address_w )
@@ -147,7 +147,7 @@ UINT8 aussiebyte_state::crt8002(UINT8 ac_ra, UINT8 ac_chr, UINT8 ac_attr, UINT16
gfx = m_p_chargen[((ac_chr & 0x7f)<<4) | ac_ra];
break;
}
-
+
if (BIT(ac_attr, 3) & (ac_ra == 11)) // underline
gfx = 0xff;
if (BIT(ac_attr, 2) & ((ac_ra == 5) | (ac_ra == 6))) // strike-through
@@ -194,4 +194,3 @@ MC6845_UPDATE_ROW( aussiebyte_state::crtc_update_row )
*p++ = palette[BIT(gfx, 0)];
}
}
-