diff options
Diffstat (limited to 'src/mame/drivers')
-rw-r--r-- | src/mame/drivers/cliffhgr.cpp | 44 | ||||
-rw-r--r-- | src/mame/drivers/dlair.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/firefox.cpp | 10 | ||||
-rw-r--r-- | src/mame/drivers/gkigt.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/tecnbras.cpp | 2 |
5 files changed, 31 insertions, 31 deletions
diff --git a/src/mame/drivers/cliffhgr.cpp b/src/mame/drivers/cliffhgr.cpp index 688798a3b98..efd2290cba7 100644 --- a/src/mame/drivers/cliffhgr.cpp +++ b/src/mame/drivers/cliffhgr.cpp @@ -26,15 +26,15 @@ More info on the LD-V1100: http://www.laserdiscarchive.co.uk/laserdisc_archive/pioneer/pioneer_ld-1100/pioneer_ld-1100.htm Interrupts: -The frame decoder reads in the Phillips code from the composite signal into +The frame decoder reads in the Philips code from the composite signal into 3x8 bit flip flops. If bit 7 of the code is set, then an IRQ is generated. -Phillips codes come in scanline 17 and 18 of the composite signal for each +Philips codes come in scanline 17 and 18 of the composite signal for each field, so if we have valid codes, we would have 4 irq's per frame. NMIs are triggered by the TMS9128NL chip. The TMS9128NL SYNC signal is hooked up to the composite SYNC signal from the frame decoder. Goal To Go Side detection: -The side detection code expects to read a chapter Phillips code of 0x881DDD +The side detection code expects to read a chapter Philips code of 0x881DDD for Side 1, or 0x8F7DDD for Side 2. That would be chapter 1 for Side 1, or chapter number 119 for Side 2. @@ -47,13 +47,13 @@ IO Ports: 0x44: W TMS9128NL VRAM Port 0x45: R TMS9128NL VRAM Port 0x46: W Sound/Overlay -0x50: R Reads lower byte of Phillips code -0x51: R Reads middle byte of Phillips code -0x52: R Reads high byte of Phillips code +0x50: R Reads lower byte of Philips code +0x51: R Reads middle byte of Philips code +0x52: R Reads high byte of Philips code 0x53: R Clears the flip flop that generated the IRQ 0x54: W TMS9128NL REG Port 0x55: R TMS9128NL REG Port -0x57: W Clears the serial->parallel chips of the Phillips code reader. +0x57: W Clears the serial->parallel chips of the Philips code reader. 0x60: W Input Port/Dipswitch selector 0x62: R Input Port/Dipswitch data read 0x64: - Unused in the schematics, but used in the code (maybe as delay?) @@ -97,7 +97,7 @@ public: : driver_device(mconfig, type, tag) , m_laserdisc(*this, "laserdisc") , m_port_bank(0) - , m_phillips_code(0) + , m_philips_code(0) , m_maincpu(*this, "maincpu") , m_discrete(*this, "discrete") , m_screen(*this, "screen") @@ -107,8 +107,8 @@ public: DECLARE_WRITE8_MEMBER(cliff_test_led_w); DECLARE_WRITE8_MEMBER(cliff_port_bank_w); DECLARE_READ8_MEMBER(cliff_port_r); - DECLARE_READ8_MEMBER(cliff_phillips_code_r); - DECLARE_WRITE8_MEMBER(cliff_phillips_clear_w); + DECLARE_READ8_MEMBER(cliff_philips_code_r); + DECLARE_WRITE8_MEMBER(cliff_philips_clear_w); DECLARE_WRITE8_MEMBER(cliff_coin_counter_w); DECLARE_READ8_MEMBER(cliff_irq_ack_r); DECLARE_WRITE8_MEMBER(cliff_ldwire_w); @@ -127,7 +127,7 @@ private: required_device<pioneer_pr8210_device> m_laserdisc; int m_port_bank; - uint32_t m_phillips_code; + uint32_t m_philips_code; emu_timer *m_irq_timer; @@ -167,12 +167,12 @@ READ8_MEMBER(cliffhgr_state::cliff_port_r) return 0xff; } -READ8_MEMBER(cliffhgr_state::cliff_phillips_code_r) +READ8_MEMBER(cliffhgr_state::cliff_philips_code_r) { - return (m_phillips_code >> (8 * offset)) & 0xff; + return (m_philips_code >> (8 * offset)) & 0xff; } -WRITE8_MEMBER(cliffhgr_state::cliff_phillips_clear_w) +WRITE8_MEMBER(cliffhgr_state::cliff_philips_clear_w) { /* reset serial to parallel converters */ } @@ -209,25 +209,25 @@ WRITE8_MEMBER(cliffhgr_state::cliff_ldwire_w) TIMER_CALLBACK_MEMBER(cliffhgr_state::cliff_irq_callback) { - m_phillips_code = 0; + m_philips_code = 0; switch (param) { case 17: - m_phillips_code = m_laserdisc->get_field_code(LASERDISC_CODE_LINE17, true); + m_philips_code = m_laserdisc->get_field_code(LASERDISC_CODE_LINE17, true); param = 18; break; case 18: - m_phillips_code = m_laserdisc->get_field_code(LASERDISC_CODE_LINE18, true); + m_philips_code = m_laserdisc->get_field_code(LASERDISC_CODE_LINE18, true); param = 17; break; } /* if we have a valid code, trigger an IRQ */ - if (m_phillips_code & 0x800000) + if (m_philips_code & 0x800000) { -// printf("%2d:code = %06X\n", param, phillips_code); +// printf("%2d:code = %06X\n", param, philips_code); m_maincpu->set_input_line(0, ASSERT_LINE); } @@ -243,7 +243,7 @@ void cliffhgr_state::machine_start() void cliffhgr_state::machine_reset() { m_port_bank = 0; - m_phillips_code = 0; + m_philips_code = 0; m_irq_timer->adjust(m_screen->time_until_pos(17), 17); } @@ -262,11 +262,11 @@ void cliffhgr_state::mainport(address_map &map) map(0x44, 0x44).w("tms9928a", FUNC(tms9928a_device::vram_w)); map(0x45, 0x45).r("tms9928a", FUNC(tms9928a_device::vram_r)); map(0x46, 0x46).w(FUNC(cliffhgr_state::cliff_sound_overlay_w)); - map(0x50, 0x52).r(FUNC(cliffhgr_state::cliff_phillips_code_r)); + map(0x50, 0x52).r(FUNC(cliffhgr_state::cliff_philips_code_r)); map(0x53, 0x53).r(FUNC(cliffhgr_state::cliff_irq_ack_r)); map(0x54, 0x54).w("tms9928a", FUNC(tms9928a_device::register_w)); map(0x55, 0x55).r("tms9928a", FUNC(tms9928a_device::register_r)); - map(0x57, 0x57).w(FUNC(cliffhgr_state::cliff_phillips_clear_w)); + map(0x57, 0x57).w(FUNC(cliffhgr_state::cliff_philips_clear_w)); map(0x60, 0x60).w(FUNC(cliffhgr_state::cliff_port_bank_w)); map(0x62, 0x62).r(FUNC(cliffhgr_state::cliff_port_r)); map(0x64, 0x64).nopw(); /* unused in schematics, may be used as timing delay for IR interface */ diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp index e4db1e43738..2125123dc60 100644 --- a/src/mame/drivers/dlair.cpp +++ b/src/mame/drivers/dlair.cpp @@ -141,7 +141,7 @@ private: optional_device<palette_device> m_palette; optional_device<pioneer_ldv1000_device> m_ldv1000; optional_device<pioneer_pr7820_device> m_pr7820; - optional_device<phillips_22vp932_device> m_22vp932; + optional_device<philips_22vp932_device> m_22vp932; optional_shared_ptr<uint8_t> m_videoram; output_finder<16> m_digits; @@ -778,7 +778,7 @@ MACHINE_CONFIG_START(dlair_state::dleuro) WATCHDOG_TIMER(config, "watchdog").set_time(attotime::from_hz(MASTER_CLOCK_EURO/(16*16*16*16*16*8))); - PHILLIPS_22VP932(config, m_22vp932, 0); + PHILIPS_22VP932(config, m_22vp932, 0); m_22vp932->set_overlay(256, 256, FUNC(dlair_state::screen_update_dleuro)); m_22vp932->set_overlay_palette(m_palette); m_22vp932->add_route(0, "lspeaker", 1.0); diff --git a/src/mame/drivers/firefox.cpp b/src/mame/drivers/firefox.cpp index 46ef9f4e30e..5f0329ae858 100644 --- a/src/mame/drivers/firefox.cpp +++ b/src/mame/drivers/firefox.cpp @@ -103,14 +103,14 @@ private: uint32_t screen_update_firefox(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); TIMER_DEVICE_CALLBACK_MEMBER(video_timer_callback); void set_rgba( int start, int index, unsigned char *palette_ram ); - void firq_gen(phillips_22vp931_device &laserdisc, int state); + void firq_gen(philips_22vp931_device &laserdisc, int state); virtual void machine_start() override; virtual void video_start() override; void audio_map(address_map &map); void main_map(address_map &map); - required_device<phillips_22vp931_device> m_laserdisc; + required_device<philips_22vp931_device> m_laserdisc; required_shared_ptr<unsigned char> m_tileram; required_shared_ptr<uint8_t> m_spriteram; required_shared_ptr<unsigned char> m_sprite_palette; @@ -445,7 +445,7 @@ WRITE_LINE_MEMBER(firefox_state::coin_counter_left_w) } -void firefox_state::firq_gen(phillips_22vp931_device &laserdisc, int state) +void firefox_state::firq_gen(philips_22vp931_device &laserdisc, int state) { if (state) m_maincpu->set_input_line(M6809_FIRQ_LINE, ASSERT_LINE ); @@ -456,7 +456,7 @@ void firefox_state::machine_start() { m_mainbank->configure_entries(0, 32, memregion("maincpu")->base() + 0x10000, 0x1000); - m_laserdisc->set_data_ready_callback(phillips_22vp931_device::data_ready_delegate(&firefox_state::firq_gen, this)); + m_laserdisc->set_data_ready_callback(philips_22vp931_device::data_ready_delegate(&firefox_state::firq_gen, this)); m_sprite_bank = 0; } @@ -690,7 +690,7 @@ MACHINE_CONFIG_START(firefox_state::firefox) GFXDECODE(config, m_gfxdecode, m_palette, gfx_firefox); PALETTE(config, m_palette).set_entries(512); - PHILLIPS_22VP931(config, m_laserdisc, 0); + PHILIPS_22VP931(config, m_laserdisc, 0); m_laserdisc->set_overlay(64*8, 525, FUNC(firefox_state::screen_update_firefox)); m_laserdisc->set_overlay_clip(7*8, 53*8-1, 44, 480+44); m_laserdisc->set_overlay_palette(m_palette); diff --git a/src/mame/drivers/gkigt.cpp b/src/mame/drivers/gkigt.cpp index ee2a2b2a637..44254b69912 100644 --- a/src/mame/drivers/gkigt.cpp +++ b/src/mame/drivers/gkigt.cpp @@ -86,7 +86,7 @@ PCB board that connects to 044 boards via J6 & J7 or 039 EPROM + SIMM software More chips (from eBay auction): - 2x Phillips / NXT 28C94 quad UART (8 serial channels total) + 2x Philips / NXT 28C94 quad UART (8 serial channels total) ADV476 256 color RAMDAC */ diff --git a/src/mame/drivers/tecnbras.cpp b/src/mame/drivers/tecnbras.cpp index 0af732566d4..a7c1dbb964b 100644 --- a/src/mame/drivers/tecnbras.cpp +++ b/src/mame/drivers/tecnbras.cpp @@ -119,7 +119,7 @@ void tecnbras_state::tecnbras(machine_config &config) m_maincpu->set_addrmap(AS_IO, &tecnbras_state::i80c31_io); m_maincpu->port_out_cb<1>().set_nop(); // buzzer ? -/* TODO: Add an I2C RTC (Phillips PCF8583P) +/* TODO: Add an I2C RTC (Philips PCF8583P) pin 6 (SCL): cpu T0/P3.4 (pin 14) pin 5 (SDA): cpu T1/P3.5 (pin 15) */ |