Skip to content

Commit

Permalink
mpf1,mpf1p: add pwm display device for digits panel,
Browse files Browse the repository at this point in the history
berlin: add hardware notes
  • Loading branch information
happppp committed Jul 7, 2024
1 parent 81af055 commit 64366ea
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 160 deletions.
16 changes: 16 additions & 0 deletions src/mame/hegenerglaser/berlin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
Mephisto Berlin 68000 / Berlin Professional 68020
Berlin Professional has the same engine as Mephisto Genius.
Hardware notes:
Berlin 68000:
- MC68HC000FN12 @ 12.288MHz
- 128KB ROM (2*M27C512-15XF1)
- 512KB DRAM (4*TC514256AP-80)
- 8KB SRAM (HM6264ALP-12 or equivalent), CR2032 battery
- HD44780, 2-line LCD display (small daughterboard)
- 8*8 chessboard buttons, 64 leds, piezo
Berlin Professional 68020:
- MC68EC020RP25 @ 24.576MHz
- 256KB ROM (D27C020-200V10)
- 1MB DRAM (8*MCM514256AP70)
- rest is similar to Berlin 68000
Undocumented buttons:
- holding ENTER and LEFT cursor on boot runs diagnostics
- holding CLEAR on boot clears battery backed RAM
Expand Down
15 changes: 5 additions & 10 deletions src/mame/hegenerglaser/mm1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class mm1_state : public driver_device

protected:
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void machine_reset() override { m_reset = true; }

private:
// devices/pointers
Expand Down Expand Up @@ -109,11 +109,6 @@ void mm1_state::machine_start()
save_item(NAME(m_kp_mux));
}

void mm1_state::machine_reset()
{
m_reset = true;
}



/*******************************************************************************
Expand Down Expand Up @@ -319,8 +314,8 @@ ROM_END
Drivers
*******************************************************************************/

// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
SYST( 1983, mm1, 0, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I (ver. B)", MACHINE_SUPPORTS_SAVE )
SYST( 1983, mm1a, mm1, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I (ver. A)", MACHINE_SUPPORTS_SAVE )
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
SYST( 1983, mm1, 0, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I (ver. B)", MACHINE_SUPPORTS_SAVE )
SYST( 1983, mm1a, mm1, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I (ver. A)", MACHINE_SUPPORTS_SAVE )

SYST( 1984, mmirage, 0, 0, mirage, mirage, mm1_state, empty_init, "Hegener + Glaser", "Mephisto Mirage", MACHINE_SUPPORTS_SAVE )
SYST( 1984, mmirage, 0, 0, mirage, mirage, mm1_state, empty_init, "Hegener + Glaser", "Mephisto Mirage", MACHINE_SUPPORTS_SAVE )
2 changes: 1 addition & 1 deletion src/mame/hegenerglaser/mm2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Open Computer Chess Championship.
MM IV TurboKit 18MHz - (mm4tk)
This is a replacement ROM combining the TurboKit initial ROM with the original MM IV.
The TurboKit powers up to it's tiny ROM, copies itself to RAM, banks in normal ROM,
The TurboKit powers up to its tiny ROM, copies itself to RAM, banks in normal ROM,
copies that to faster SRAM, then patches the checksum and the LED blink delays.
There is an undumped MM V TurboKit, which will be the exact same except for location
Expand Down
2 changes: 1 addition & 1 deletion src/mame/hegenerglaser/polgar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class polgar_state : public driver_device
m_keys(*this, "KEY")
{ }

void polgar10(machine_config &config);
void polgar(machine_config &config);
void polgar10(machine_config &config);

private:
required_device<cpu_device> m_maincpu;
Expand Down
37 changes: 6 additions & 31 deletions src/mame/layout/mpf1.lay
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ license:CC0-1.0
</led7seg>
</element>

<element name="dot" defstate="0">
<disk state="1">
<color red="0.75" green="0.0" blue="0.0" />
</disk>
</element>

<view name="Default Layout">
<element name="led0" ref="ledgreen">
<bounds x="277" y="375" width="15" height="15" />
Expand All @@ -35,43 +29,24 @@ license:CC0-1.0
<bounds x="277" y="394" width="15" height="15" />
</element>

<element name="digit0" ref="digit">
<element name="digit5" ref="digit">
<bounds x="19" y="377" width="28" height="38" />
</element>
<element name="digit1" ref="digit">
<element name="digit4" ref="digit">
<bounds x="58" y="377" width="28" height="38" />
</element>
<element name="digit2" ref="digit">
<element name="digit3" ref="digit">
<bounds x="96" y="377" width="28" height="38" />
</element>
<element name="digit3" ref="digit">
<element name="digit2" ref="digit">
<bounds x="134" y="377" width="28" height="38" />
</element>
<element name="digit4" ref="digit">
<element name="digit1" ref="digit">
<bounds x="185" y="377" width="28" height="38" />
</element>
<element name="digit5" ref="digit">
<element name="digit0" ref="digit">
<bounds x="223" y="377" width="28" height="38" />
</element>

<element name="led2" ref="dot">
<bounds x="43" y="409" width="4" height="5" />
</element>
<element name="led3" ref="dot">
<bounds x="82" y="409" width="4" height="5" />
</element>
<element name="led4" ref="dot">
<bounds x="120" y="409" width="4" height="5" />
</element>
<element name="led5" ref="dot">
<bounds x="158" y="409" width="4" height="5" />
</element>
<element name="led6" ref="dot">
<bounds x="209" y="409" width="4" height="5" />
</element>
<element name="led7" ref="dot">
<bounds x="247" y="409" width="4" height="5" />
</element>

</view>
</mamelayout>
37 changes: 6 additions & 31 deletions src/mame/layout/mpf1b.lay
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ license:CC0-1.0
</led7seg>
</element>

<element name="dot" defstate="0">
<disk state="1">
<color red="0.75" green="0.0" blue="0.0" />
</disk>
</element>

<view name="Default Layout">
<element name="led0" ref="ledgreen">
<bounds x="277" y="375" width="15" height="15" />
Expand All @@ -35,43 +29,24 @@ license:CC0-1.0
<bounds x="277" y="394" width="15" height="15" />
</element>

<element name="digit0" ref="digit">
<element name="digit5" ref="digit">
<bounds x="19" y="377" width="28" height="38" />
</element>
<element name="digit1" ref="digit">
<element name="digit4" ref="digit">
<bounds x="58" y="377" width="28" height="38" />
</element>
<element name="digit2" ref="digit">
<element name="digit3" ref="digit">
<bounds x="96" y="377" width="28" height="38" />
</element>
<element name="digit3" ref="digit">
<element name="digit2" ref="digit">
<bounds x="134" y="377" width="28" height="38" />
</element>
<element name="digit4" ref="digit">
<element name="digit1" ref="digit">
<bounds x="185" y="377" width="28" height="38" />
</element>
<element name="digit5" ref="digit">
<element name="digit0" ref="digit">
<bounds x="223" y="377" width="28" height="38" />
</element>

<element name="led2" ref="dot">
<bounds x="43" y="409" width="4" height="5" />
</element>
<element name="led3" ref="dot">
<bounds x="82" y="409" width="4" height="5" />
</element>
<element name="led4" ref="dot">
<bounds x="120" y="409" width="4" height="5" />
</element>
<element name="led5" ref="dot">
<bounds x="158" y="409" width="4" height="5" />
</element>
<element name="led6" ref="dot">
<bounds x="209" y="409" width="4" height="5" />
</element>
<element name="led7" ref="dot">
<bounds x="247" y="409" width="4" height="5" />
</element>

</view>
</mamelayout>
37 changes: 6 additions & 31 deletions src/mame/layout/mt80z.lay
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ license:CC0-1.0
</led7seg>
</element>

<element name="dot" defstate="0">
<disk state="1">
<color red="0.75" green="0.0" blue="0.0" />
</disk>
</element>

<view name="Default Layout">
<element name="led0" ref="ledgreen">
<bounds x="277" y="375" width="15" height="15" />
Expand All @@ -35,43 +29,24 @@ license:CC0-1.0
<bounds x="277" y="394" width="15" height="15" />
</element>

<element name="digit0" ref="digit">
<element name="digit5" ref="digit">
<bounds x="19" y="377" width="28" height="38" />
</element>
<element name="digit1" ref="digit">
<element name="digit4" ref="digit">
<bounds x="58" y="377" width="28" height="38" />
</element>
<element name="digit2" ref="digit">
<element name="digit3" ref="digit">
<bounds x="96" y="377" width="28" height="38" />
</element>
<element name="digit3" ref="digit">
<element name="digit2" ref="digit">
<bounds x="134" y="377" width="28" height="38" />
</element>
<element name="digit4" ref="digit">
<element name="digit1" ref="digit">
<bounds x="185" y="377" width="28" height="38" />
</element>
<element name="digit5" ref="digit">
<element name="digit0" ref="digit">
<bounds x="223" y="377" width="28" height="38" />
</element>

<element name="led2" ref="dot">
<bounds x="43" y="409" width="4" height="5" />
</element>
<element name="led3" ref="dot">
<bounds x="82" y="409" width="4" height="5" />
</element>
<element name="led4" ref="dot">
<bounds x="120" y="409" width="4" height="5" />
</element>
<element name="led5" ref="dot">
<bounds x="158" y="409" width="4" height="5" />
</element>
<element name="led6" ref="dot">
<bounds x="209" y="409" width="4" height="5" />
</element>
<element name="led7" ref="dot">
<bounds x="247" y="409" width="4" height="5" />
</element>

</view>
</mamelayout>
2 changes: 1 addition & 1 deletion src/mame/multitech/mkit09.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Test Paste:
#include "cpu/m6809/m6809.h"
#include "imagedev/cassette.h"
#include "machine/6821pia.h"
#include "speaker.h"
#include "video/pwm.h"
#include "speaker.h"

#include "mkit09.lh"

Expand Down
Loading

0 comments on commit 64366ea

Please sign in to comment.