summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers')
-rw-r--r--src/mess/drivers/apollo.c1
-rw-r--r--src/mess/drivers/bml3.c70
-rw-r--r--src/mess/drivers/c900.c18
-rw-r--r--src/mess/drivers/esq5505.c8
-rw-r--r--src/mess/drivers/evmbug.c4
-rw-r--r--src/mess/drivers/gb.c8
-rw-r--r--src/mess/drivers/harriet.c22
-rw-r--r--src/mess/drivers/mac.c2
-rw-r--r--src/mess/drivers/nes.c2
-rw-r--r--src/mess/drivers/pc1512.c12
-rw-r--r--src/mess/drivers/pc9801.c2
-rw-r--r--src/mess/drivers/pdp11.c50
-rw-r--r--src/mess/drivers/softbox.c8
-rw-r--r--src/mess/drivers/vtech1.c2
14 files changed, 104 insertions, 105 deletions
diff --git a/src/mess/drivers/apollo.c b/src/mess/drivers/apollo.c
index 31c4e54f470..5c7955f1972 100644
--- a/src/mess/drivers/apollo.c
+++ b/src/mess/drivers/apollo.c
@@ -149,7 +149,6 @@ void apollo_set_cpu_has_fpu(m68000_base_device *device, int onoff)
}
else
{
-
device->has_fpu = onoff;
DLOG1(("apollo_set_cpu_has_fpu: FPU has been %s", onoff ? "enabled" : "disabled"));
}
diff --git a/src/mess/drivers/bml3.c b/src/mess/drivers/bml3.c
index 67677a4bdfc..b4acc1898a4 100644
--- a/src/mess/drivers/bml3.c
+++ b/src/mess/drivers/bml3.c
@@ -28,37 +28,37 @@
// System clock definitions, from the MB-6890 servce manual, p.48:
-#define MASTER_CLOCK ( 32256000 ) // Master clock crystal (X1) frequency, 32.256 MHz. "fx" in the manual.
+#define MASTER_CLOCK ( 32256000 ) // Master clock crystal (X1) frequency, 32.256 MHz. "fx" in the manual.
-#define D80_CLOCK ( MASTER_CLOCK / 2 ) // Graphics dot clock in 80-column mode. ~16 MHz.
-#define D40_CLOCK ( D80_CLOCK / 2 ) // Graphics dot clock in 40-column mode. ~8 MHz.
+#define D80_CLOCK ( MASTER_CLOCK / 2 ) // Graphics dot clock in 80-column mode. ~16 MHz.
+#define D40_CLOCK ( D80_CLOCK / 2 ) // Graphics dot clock in 40-column mode. ~8 MHz.
-#define CPU_EXT_CLOCK ( D40_CLOCK / 2 ) // IC37, 4.032 MHz signal to EXTAL on the 6809 MPU.
-#define CPU_CLOCK ( CPU_EXT_CLOCK / 4 ) // Actual MPU clock frequency ("fE" in the manual). The division yielding CPU_CLOCK is done in the 6809 itself. Also used as the 40-column character clock.
+#define CPU_EXT_CLOCK ( D40_CLOCK / 2 ) // IC37, 4.032 MHz signal to EXTAL on the 6809 MPU.
+#define CPU_CLOCK ( CPU_EXT_CLOCK / 4 ) // Actual MPU clock frequency ("fE" in the manual). The division yielding CPU_CLOCK is done in the 6809 itself. Also used as the 40-column character clock.
-#define C80_CLOCK ( CPU_EXT_CLOCK / 2 ) // 80-column character mode. IC37, "80CHRCK"; ~2 MHz.
-#define C40_CLOCK ( CPU_CLOCK ) // 40-column character mode; same as MPU clock. "40CHRCK"; ~1 MHz.
+#define C80_CLOCK ( CPU_EXT_CLOCK / 2 ) // 80-column character mode. IC37, "80CHRCK"; ~2 MHz.
+#define C40_CLOCK ( CPU_CLOCK ) // 40-column character mode; same as MPU clock. "40CHRCK"; ~1 MHz.
// Video signal clocks from the HD4650SSP CRTC (IC36)
// In the real hardware, the 80-/40-column Mode switch changes the CRTC character clock input source. However, it just uses a different divider, so the end result is the same horizontal vsync frequency.
-#define H_CLOCK ( C80_CLOCK / 128 ) // in 80-column mode
-//#define H_CLOCK ( C40_CLOCK / 64 ) // in 40-column mode (either way the frequency is the same: 15.75 kHz)
-#define V_CLOCK ( 2 * H_CLOCK / 525 ) // Vertical refresh rate comes out at exactly 60 Hz.
+#define H_CLOCK ( C80_CLOCK / 128 ) // in 80-column mode
+//#define H_CLOCK ( C40_CLOCK / 64 ) // in 40-column mode (either way the frequency is the same: 15.75 kHz)
+#define V_CLOCK ( 2 * H_CLOCK / 525 ) // Vertical refresh rate comes out at exactly 60 Hz.
// TODO: ACIA RS-232C and cassette interface clocks (service manual p.67); perhaps reverse the order and simply divide by 2 from each previous frequency.
// IC111 (74LS157P) takes 16.128 MHz and 1.008 MHz TTL clock inputs. The RS/C SW input line determines the mode (high -> RS-232C).
// Frequencies for RS-232C mode:
-// D80_CLOCK / 840.0 // 19200 Hz
-// D80_CLOCK / 420 // 38400 Hz
-// D80_CLOCK / 210 // 76800 Hz
-// D80_CLOCK / 105.0 // 153600 Hz
+// D80_CLOCK / 840.0 // 19200 Hz
+// D80_CLOCK / 420 // 38400 Hz
+// D80_CLOCK / 210 // 76800 Hz
+// D80_CLOCK / 105.0 // 153600 Hz
// Frequencies for cassette mode:
-// / 13440 //1200
-// / 6720 // 2400
-// / 3360 // 4800
-// / 1680 // 9600
+// / 13440 //1200
+// / 6720 // 2400
+// / 3360 // 4800
+// / 1680 // 9600
class bml3_state : public driver_device
@@ -332,7 +332,7 @@ WRITE8_MEMBER( bml3_state::bml3_keyboard_w )
void bml3_state::m6845_change_clock(UINT8 setting)
{
- int m6845_clock = CPU_CLOCK; // CRTC and MPU are synchronous by default
+ int m6845_clock = CPU_CLOCK; // CRTC and MPU are synchronous by default
switch(setting & 0x88)
{
@@ -349,11 +349,11 @@ WRITE8_MEMBER( bml3_state::bml3_hres_reg_w )
{
// MODE SEL register (see service manual p.43).
/*
- x--- ---- "W" bit: 0 = 40 columns, 1 = 80 columns
- -x-- ---- "HR" bit: 0 = high resolution, 1 = normal
- --x- ---- "C" bit - ACIA mode: 0 = cassette, 1 = RS-232C
- ---- -RGB Background colour
- */
+ x--- ---- "W" bit: 0 = 40 columns, 1 = 80 columns
+ -x-- ---- "HR" bit: 0 = high resolution, 1 = normal
+ --x- ---- "C" bit - ACIA mode: 0 = cassette, 1 = RS-232C
+ ---- -RGB Background colour
+ */
m_hres_reg = data;
@@ -430,11 +430,11 @@ WRITE8_MEMBER( bml3_state::bml3_vram_attr_w)
// C-REG-SELECT register
// Writes to a VRAM address copy the low-order 5 bits of this register to the corresponding 'colour RAM' address as a side-effect
/*
- x--- ---- "MK" bit: 0 = enable write, 1 = prohibit write
- ---x ---- "GC" bit: 0 = character, 1 = graphic
- ---- x--- "RV" bit: 0 = normal, 1 - reverse
- ---- -RGB Foreground colour
- */
+ x--- ---- "MK" bit: 0 = enable write, 1 = prohibit write
+ ---x ---- "GC" bit: 0 = character, 1 = graphic
+ ---- x--- "RV" bit: 0 = normal, 1 - reverse
+ ---- -RGB Foreground colour
+ */
m_attr_latch = data;
}
@@ -600,11 +600,11 @@ static INPUT_PORTS_START( bml3 )
// RAM expansion configurations (see service manual p.76)
/*
- PORT_START("RAM")
- PORT_DIPNAME( 0x0003, 0x0002, "RAM size" )
- PORT_DIPSETTING( 0x0000, "32 kiB (standard)" )
- PORT_DIPSETTING( 0x0001, "40 kiB (32 kiB + 8 kiB)" )
- PORT_DIPSETTING( 0x0002, "60 kiB (32 kiB + 28 kiB)" )
+ PORT_START("RAM")
+ PORT_DIPNAME( 0x0003, 0x0002, "RAM size" )
+ PORT_DIPSETTING( 0x0000, "32 kiB (standard)" )
+ PORT_DIPSETTING( 0x0001, "40 kiB (32 kiB + 8 kiB)" )
+ PORT_DIPSETTING( 0x0002, "60 kiB (32 kiB + 28 kiB)" )
*/
PORT_START("key1") //0x00-0x1f
@@ -756,7 +756,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(bml3_state::keyboard_callback)
}
/* Don't need this apparently...
else {
- m_maincpu->set_input_line(M6809_IRQ_LINE, CLEAR_LINE);
+ m_maincpu->set_input_line(M6809_IRQ_LINE, CLEAR_LINE);
}
*/
}
diff --git a/src/mess/drivers/c900.c b/src/mess/drivers/c900.c
index 254b76c0879..39dd3f1cf4a 100644
--- a/src/mess/drivers/c900.c
+++ b/src/mess/drivers/c900.c
@@ -23,7 +23,7 @@ public:
m_terminal(*this, TERMINAL_TAG)
{ }
-// UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+// UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_READ16_MEMBER(key_r);
DECLARE_READ16_MEMBER(stat_r);
DECLARE_WRITE8_MEMBER(kbd_put);
@@ -47,7 +47,7 @@ INPUT_PORTS_END
//UINT32 c900_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
//{
-// return 0;
+// return 0;
//}
@@ -80,13 +80,13 @@ static MACHINE_CONFIG_START( c900, c900_state )
MCFG_CPU_IO_MAP(c900_io)
/* video hardware */
-// MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
-// MCFG_SCREEN_SIZE(512, 256)
-// MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
-// MCFG_PALETTE_LENGTH(4)
-// MCFG_SCREEN_UPDATE_DRIVER(c900_state, screen_update)
+// MCFG_SCREEN_ADD("screen", RASTER)
+// MCFG_SCREEN_REFRESH_RATE(60)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
+// MCFG_SCREEN_SIZE(512, 256)
+// MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
+// MCFG_PALETTE_LENGTH(4)
+// MCFG_SCREEN_UPDATE_DRIVER(c900_state, screen_update)
MCFG_GENERIC_TERMINAL_ADD(TERMINAL_TAG, terminal_intf)
MACHINE_CONFIG_END
diff --git a/src/mess/drivers/esq5505.c b/src/mess/drivers/esq5505.c
index 7c20f889886..0b6880f6add 100644
--- a/src/mess/drivers/esq5505.c
+++ b/src/mess/drivers/esq5505.c
@@ -154,7 +154,7 @@ public:
void set_otis(es5505_device *otis) { m_otis = otis; }
void set_esp(es5510_device *esp) { m_esp = esp; }
- void set_esp_halted(bool esp_halted) {
+ void set_esp_halted(bool esp_halted) {
m_esp_halted = esp_halted;
logerror("ESP-halted -> %d\n", m_esp_halted);
if (!esp_halted) {
@@ -264,7 +264,7 @@ void esq_5505_5510_pump::sound_stream_update(sound_stream &stream, stream_sample
stream_sample_t *left = outputs[0], *right = outputs[1];
for (int i = 0; i < samples; i++)
{
- // anything for the 'aux' output?
+ // anything for the 'aux' output?
INT32 l = inputs[0][i] >> 4;
INT32 r = inputs[1][i] >> 4;
@@ -318,7 +318,7 @@ void esq_5505_5510_pump::sound_stream_update(sound_stream &stream, stream_sample
fprintf(stderr, "*-.\n");
}
was_silence = silence;
- }
+ }
#endif
#if PUMP_TRACK_SAMPLES
@@ -838,7 +838,7 @@ static const es5505_interface es5505_config =
static const esqpanel_interface esqpanel_config =
{
DEVCB_DEVICE_LINE_MEMBER("duart", duartn68681_device, rx_b_w),
- DEVCB_DRIVER_MEMBER16(esq5505_state, analog_w)
+ DEVCB_DRIVER_MEMBER16(esq5505_state, analog_w)
};
static SLOT_INTERFACE_START(midiin_slot)
diff --git a/src/mess/drivers/evmbug.c b/src/mess/drivers/evmbug.c
index 68491c8337f..ca777f6e4d7 100644
--- a/src/mess/drivers/evmbug.c
+++ b/src/mess/drivers/evmbug.c
@@ -113,8 +113,8 @@ MACHINE_CONFIG_END
/* ROM definition */
ROM_START( evmbug )
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
-// ROM_LOAD( "u8.bin", 0x0000, 0x1000, CRC(bdb8c7bd) SHA1(340829dcb7a65f2e830fd5aff82a312e3ed7918f) )
-// ROM_LOAD( "u9.bin", 0x1000, 0x0800, CRC(4de459ea) SHA1(00a42fe556d4ffe1f85b2ce369f544b07fbd06d9) )
+// ROM_LOAD( "u8.bin", 0x0000, 0x1000, CRC(bdb8c7bd) SHA1(340829dcb7a65f2e830fd5aff82a312e3ed7918f) )
+// ROM_LOAD( "u9.bin", 0x1000, 0x0800, CRC(4de459ea) SHA1(00a42fe556d4ffe1f85b2ce369f544b07fbd06d9) )
ROM_LOAD( "evmbug.bin", 0x0000, 0x8000, CRC(a239ec56) SHA1(65b500d7d0f897ce0c320cf3ec32ff4042774599) )
ROM_END
diff --git a/src/mess/drivers/gb.c b/src/mess/drivers/gb.c
index 039a6ca21c4..8a8b68f1610 100644
--- a/src/mess/drivers/gb.c
+++ b/src/mess/drivers/gb.c
@@ -674,13 +674,13 @@ static const unsigned char palette[] =
0xB0,0xB0,0xB0,
0x60,0x60,0x60,
0x00,0x00,0x00 */
-
+
/* Possibly needs a little more green in it */
0xFF,0xFB,0x87, /* Background */
0xB1,0xAE,0x4E, /* Light */
0x84,0x80,0x4E, /* Medium */
0x4E,0x4E,0x4E, /* Dark */
-
+
/* Palette for Game Boy Pocket/Light */
0xC4,0xCF,0xA1, /* Background */
0x8B,0x95,0x6D, /* Light */
@@ -708,7 +708,7 @@ PALETTE_INIT_MEMBER(gb_state, gbp)
PALETTE_INIT_MEMBER(gb_state, sgb)
{
int r, g, b;
-
+
for (int i = 0; i < 32768; i++)
{
r = (i & 0x1F) << 3;
@@ -721,7 +721,7 @@ PALETTE_INIT_MEMBER(gb_state, sgb)
PALETTE_INIT_MEMBER(gb_state, gbc)
{
int r, g, b;
-
+
for (int i = 0; i < 32768; i++)
{
r = (i & 0x1F) << 3;
diff --git a/src/mess/drivers/harriet.c b/src/mess/drivers/harriet.c
index f4145e0b024..87a8cfe73d6 100644
--- a/src/mess/drivers/harriet.c
+++ b/src/mess/drivers/harriet.c
@@ -1,11 +1,11 @@
/***************************************************************************
- Harriet (c) 1990 Quadtel
+ Harriet (c) 1990 Quadtel
- TODO:
- - PCB pics would be very useful
- - "Failed to read NVR" message.
- - hook-up keyboard/terminal, shouldn't be too hard by studying the code.
+ TODO:
+ - PCB pics would be very useful
+ - "Failed to read NVR" message.
+ - hook-up keyboard/terminal, shouldn't be too hard by studying the code.
***************************************************************************/
@@ -67,10 +67,10 @@ READ8_MEMBER(harriet_state::unk_r)
WRITE8_MEMBER(harriet_state::unk_w)
{
-/* if(offset)
- printf("%02x\n",data);
- else if(data != 0xcf)
- printf("$f1001d Control (offset 0) write %02x\n",data);*/
+/* if(offset)
+ printf("%02x\n",data);
+ else if(data != 0xcf)
+ printf("$f1001d Control (offset 0) write %02x\n",data);*/
}
/* PC=0x676/0x694 */
@@ -112,8 +112,8 @@ static ADDRESS_MAP_START( harriet_map, AS_PROGRAM, 16, harriet_state )
AM_RANGE(0xf20024, 0xf20025) AM_READ8(unk2_r,0x00ff)
AM_RANGE(0xf2002c, 0xf2002d) AM_READ8(unk3_r,0x00ff)
AM_RANGE(0xf2002e, 0xf2002f) AM_WRITE8(serial_w,0x00ff)
-// AM_RANGE(0xf4001e, 0xf4001f) AM_READ8(keyboard_status_r,0x00ff)
-// AM_RANGE(0xf4002e, 0xf4002f) AM_READ8(keyboard_status_r,0x00ff)
+// AM_RANGE(0xf4001e, 0xf4001f) AM_READ8(keyboard_status_r,0x00ff)
+// AM_RANGE(0xf4002e, 0xf4002f) AM_READ8(keyboard_status_r,0x00ff)
AM_RANGE(0xf4003e, 0xf4003f) AM_READ8(keyboard_status_r,0x00ff)
ADDRESS_MAP_END
diff --git a/src/mess/drivers/mac.c b/src/mess/drivers/mac.c
index bf2d157a3a7..3f386b92a99 100644
--- a/src/mess/drivers/mac.c
+++ b/src/mess/drivers/mac.c
@@ -890,7 +890,7 @@ static SLOT_INTERFACE_START(mac_pds030_cards)
SLOT_INTERFACE_END
static SLOT_INTERFACE_START(mac_sepds_cards)
- SLOT_INTERFACE("radiusfpd", PDS_SEDISPLAY) // Radius Full Page Display card for SE
+ SLOT_INTERFACE("radiusfpd", PDS_SEDISPLAY) // Radius Full Page Display card for SE
SLOT_INTERFACE_END
static SLOT_INTERFACE_START(mac_lcpds_cards)
diff --git a/src/mess/drivers/nes.c b/src/mess/drivers/nes.c
index 4046c817d65..713fb515232 100644
--- a/src/mess/drivers/nes.c
+++ b/src/mess/drivers/nes.c
@@ -544,7 +544,7 @@ static INPUT_PORTS_START( mahjong_panel )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START ) PORT_NAME("P1 Mahjong Start") PORT_CONDITION("EXP", 0x0f, EQUALS, 0x07)
INPUT_PORTS_END
-// these are read differently than the powerpad inputs, but we share the tags, to reduce
+// these are read differently than the powerpad inputs, but we share the tags, to reduce
static INPUT_PORTS_START( fc_ftrainer )
// difference between the two sides is that we mirror the key mapping to match the real pad layout!
PORT_START("FT_COL0")
diff --git a/src/mess/drivers/pc1512.c b/src/mess/drivers/pc1512.c
index 78e9b4c92be..472a3faef6a 100644
--- a/src/mess/drivers/pc1512.c
+++ b/src/mess/drivers/pc1512.c
@@ -1446,9 +1446,9 @@ ROM_START( pc1512 )
ROMX_LOAD( "40078.ic127", 0x0000, 0x2000, CRC(ae9c0d04) SHA1(bc8dc4dcedeea5bc1c04986b1f105ad93cb2ebcd), ROM_BIOS(3) )
ROM_END
-#define rom_pc1512dd rom_pc1512
-#define rom_pc1512hd10 rom_pc1512
-#define rom_pc1512hd20 rom_pc1512
+#define rom_pc1512dd rom_pc1512
+#define rom_pc1512hd10 rom_pc1512
+#define rom_pc1512hd20 rom_pc1512
//-------------------------------------------------
@@ -1468,9 +1468,9 @@ ROM_START( pc1640 )
ROMX_LOAD( "40043 88xx.ic129", 0x0001, 0x2000, CRC(9219d0aa) SHA1(dde1a46c8f83e413d7070f1356fc91b9f595a8b6), ROM_SKIP(1) | ROM_BIOS(3) )
ROM_END
-#define rom_pc1640dd rom_pc1640
-#define rom_pc1640hd20 rom_pc1640
-#define rom_pc1640hd30 rom_pc1640
+#define rom_pc1640dd rom_pc1640
+#define rom_pc1640hd20 rom_pc1640
+#define rom_pc1640hd30 rom_pc1640
diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c
index 225fbb0394f..ffb926767f1 100644
--- a/src/mess/drivers/pc9801.c
+++ b/src/mess/drivers/pc9801.c
@@ -2319,7 +2319,7 @@ static ADDRESS_MAP_START( pc9801ux_map, AS_PROGRAM, 16, pc9801_state )
AM_RANGE(0x0a8000, 0x0b0fff) AM_READWRITE8(pc9801_gvram_r, pc9801_gvram_w, 0xffff)
AM_RANGE(0x0e0000, 0x0fffff) AM_READ8(pc9801rs_ipl_r, 0xffff)
-// AM_RANGE(0x000000, 0xffffff) AM_READWRITE8(pc980ux_memory_r,pc9801ux_memory_w,0xffff)
+// AM_RANGE(0x000000, 0xffffff) AM_READWRITE8(pc980ux_memory_r,pc9801ux_memory_w,0xffff)
ADDRESS_MAP_END
static ADDRESS_MAP_START( pc9801ux_io, AS_IO, 16, pc9801_state )
diff --git a/src/mess/drivers/pdp11.c b/src/mess/drivers/pdp11.c
index 7cb308e2d1e..f6904ddafff 100644
--- a/src/mess/drivers/pdp11.c
+++ b/src/mess/drivers/pdp11.c
@@ -64,22 +64,22 @@
23/02/2009 Skeleton driver.
- Memory Map (converted from the annoying octal format from the manuals):
- 0x0000 - 0x00ff: irq vectors
- 0xe000: ROM
- 0xff68: "high speed reader and punch device status and buffer register"
- 0xff70 - 0xff7e: "teletype keyboard and punch device status and buffer register"
- PDP-11 internal registers:
- 0xff80 - 0xffbf: "reserved for expansion of processor registers"
- 0xffc0: R0
- 0xffc2: R1
- 0xffc4: R2
- 0xffc6: R3
- 0xffc8: R4
- 0xffca: R5
- 0xffcc: R6 / SP
- 0xffce: R7 / PC
- 0xfffe: PSW
+ Memory Map (converted from the annoying octal format from the manuals):
+ 0x0000 - 0x00ff: irq vectors
+ 0xe000: ROM
+ 0xff68: "high speed reader and punch device status and buffer register"
+ 0xff70 - 0xff7e: "teletype keyboard and punch device status and buffer register"
+ PDP-11 internal registers:
+ 0xff80 - 0xffbf: "reserved for expansion of processor registers"
+ 0xffc0: R0
+ 0xffc2: R1
+ 0xffc4: R2
+ 0xffc6: R3
+ 0xffc8: R4
+ 0xffca: R5
+ 0xffcc: R6 / SP
+ 0xffce: R7 / PC
+ 0xfffe: PSW
****************************************************************************/
@@ -117,19 +117,19 @@ READ16_MEMBER(pdp11_state::teletype_ctrl_r)
switch(offset)
{
/*
- keyboard
- ---- x--- ---- ---- busy bit
- ---- ---- x--- ---- ready bit (set on character receive, clear on buffer read)
- ---- ---- -x-- ---- irq enable
- ---- ---- ---- ---x reader enable (?)
+ keyboard
+ ---- x--- ---- ---- busy bit
+ ---- ---- x--- ---- ready bit (set on character receive, clear on buffer read)
+ ---- ---- -x-- ---- irq enable
+ ---- ---- ---- ---x reader enable (?)
*/
case 0: res = m_teletype_status; break; // reader status register (tks)
case 1: m_teletype_status &= ~0x80; res = m_teletype_data; break;// reader buffer register (tkb)
/*
- printer
- ---- ---- x--- ---- ready bit
- ---- ---- -x-- ---- irq enable
- ---- ---- ---- -x-- maintenance
+ printer
+ ---- ---- x--- ---- ready bit
+ ---- ---- -x-- ---- irq enable
+ ---- ---- ---- -x-- maintenance
*/
case 2: res = 0x80; break; // punch status register (tps)
case 3: res = 0; break; // punch buffer register (tpb)
diff --git a/src/mess/drivers/softbox.c b/src/mess/drivers/softbox.c
index a9009ed1bb6..41836384258 100644
--- a/src/mess/drivers/softbox.c
+++ b/src/mess/drivers/softbox.c
@@ -365,7 +365,7 @@ void softbox_state::machine_start()
// reset that must happen after child devices
// have performed their resets
//-------------------------------------------------
-
+
void softbox_state::device_reset_after_children()
{
/* The Z80 starts at address 0x0000 but the SoftBox has RAM there and
@@ -373,11 +373,11 @@ void softbox_state::device_reset_after_children()
74S287 PROM that temporarily changes the memory map so that the
IC3 EPROM at 0xf000 is mapped to 0x0000 for the first instruction
fetch only. The instruction normally at 0xf000 is an absolute jump
- into the BIOS. On reset, the Z80 will fetch it from 0x0000 and set
+ into the BIOS. On reset, the Z80 will fetch it from 0x0000 and set
its PC, then the normal map will be restored before the next
- instruction fetch. Here we just set the PC to 0xf000 after the Z80
+ instruction fetch. Here we just set the PC to 0xf000 after the Z80
resets, which has the same effect. */
-
+
m_maincpu->set_state_int(Z80_PC, 0xf000);
}
diff --git a/src/mess/drivers/vtech1.c b/src/mess/drivers/vtech1.c
index 6c42527df71..f3439bc6778 100644
--- a/src/mess/drivers/vtech1.c
+++ b/src/mess/drivers/vtech1.c
@@ -300,7 +300,7 @@ void vtech1_state::vtech1_get_track()
size = TRKSIZE_VZ;
offs = TRKSIZE_VZ * m_fdc_track_x2[m_drive]/2;
image->fseek(offs, SEEK_SET);
- // some disks have slightly larger header, make sure we capture the checksum at the end of the track
+ // some disks have slightly larger header, make sure we capture the checksum at the end of the track
size = image->fread(m_fdc_data, size+4);
if (LOG_VTECH1_FDC)
logerror("get track @$%05x $%04x bytes\n", offs, size);