mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
Mini.Boy 7: Added lamps and a internal button-lamps layout based on
the cabinet pictures. Lamps are currently disabled due to other unknown writes are happening on the same port. Need more investigation. Also added the coin counter. [Roberto Fresca]
This commit is contained in:
parent
309e48fe4f
commit
a40ec765e2
@ -1,21 +1,21 @@
|
|||||||
|
// license:???
|
||||||
|
// copyright-holders:???
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
||||||
MINI BOY 7
|
MINI-BOY 7
|
||||||
|
|
||||||
Driver by Roberto Fresca.
|
Driver by Roberto Fresca.
|
||||||
|
|
||||||
Games running on this hardware:
|
Games running on this hardware:
|
||||||
|
|
||||||
* Mini Boy 7 - 1983, Bonanza Enterprises, Ltd.
|
* Mini-Boy 7 - 1983, Bonanza Enterprises, Ltd.
|
||||||
|
|
||||||
Note: During attract mode display, pressing the service menu will allow you to
|
|
||||||
add a custom ad to scroll during attract mode display. Up to 120 characters
|
|
||||||
|
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
Game Notes:
|
Game Notes:
|
||||||
|
|
||||||
Mini Boy 7. Seven games in one, plus Ad message support.
|
Mini-Boy 7. Seven games in one, plus Ad message support.
|
||||||
http://www.arcadeflyers.com/?page=thumbs&db=videodb&id=4275
|
http://www.arcadeflyers.com/?page=thumbs&db=videodb&id=4275
|
||||||
|
|
||||||
- Draw Poker.
|
- Draw Poker.
|
||||||
@ -26,8 +26,10 @@ Note: During attract mode display, pressing the service menu will allow you to
|
|||||||
- Double-Up.
|
- Double-Up.
|
||||||
- Craps.
|
- Craps.
|
||||||
|
|
||||||
*******************************************************************************
|
During attract mode display, pressing the service menu will allow you to
|
||||||
|
add a custom ad to scroll during attract mode display. Up to 120 characters
|
||||||
|
|
||||||
|
*******************************************************************************
|
||||||
|
|
||||||
Hardware Notes:
|
Hardware Notes:
|
||||||
--------------
|
--------------
|
||||||
@ -55,10 +57,11 @@ Note: During attract mode display, pressing the service menu will allow you to
|
|||||||
- 1x 2x28 pins edge connector.
|
- 1x 2x28 pins edge connector.
|
||||||
- 1x 2x20 pins female connector.
|
- 1x 2x20 pins female connector.
|
||||||
|
|
||||||
|
- 2x pots to handle the B-G background color/intensity.
|
||||||
|
|
||||||
|
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
*** Memory Map ***
|
*** Memory Map ***
|
||||||
--------------------
|
--------------------
|
||||||
@ -75,7 +78,7 @@ Note: During attract mode display, pressing the service menu will allow you to
|
|||||||
$2800 - $2801 MC6845 ; MC6845 use $2800 for register addressing and $2801 for register values.
|
$2800 - $2801 MC6845 ; MC6845 use $2800 for register addressing and $2801 for register values.
|
||||||
|
|
||||||
$3000 - $3001 ????? ; R/W. AY8910?
|
$3000 - $3001 ????? ; R/W. AY8910?
|
||||||
$3080 - $3083 ????? ; R/W. PIA?
|
$3080 - $3083 MC6821 ; R/W. PIA
|
||||||
$3800 - $3800 ????? ; R.
|
$3800 - $3800 ????? ; R.
|
||||||
|
|
||||||
$4000 - $FFFF ROM ; ROM space.
|
$4000 - $FFFF ROM ; ROM space.
|
||||||
@ -122,9 +125,10 @@ Note: During attract mode display, pressing the service menu will allow you to
|
|||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
|
|
||||||
- Lamps layout.
|
- Find the way to clean the lamps writes.
|
||||||
- Improve colors.
|
(there are alternate writes that mess the lamps)
|
||||||
|
|
||||||
|
- Implement fake pots for B-G background color
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
@ -137,6 +141,7 @@ Note: During attract mode display, pressing the service menu will allow you to
|
|||||||
#include "machine/6821pia.h"
|
#include "machine/6821pia.h"
|
||||||
#include "sound/ay8910.h"
|
#include "sound/ay8910.h"
|
||||||
#include "machine/nvram.h"
|
#include "machine/nvram.h"
|
||||||
|
#include "miniboy7.lh"
|
||||||
|
|
||||||
|
|
||||||
class miniboy7_state : public driver_device
|
class miniboy7_state : public driver_device
|
||||||
@ -295,6 +300,20 @@ WRITE8_MEMBER(miniboy7_state::ay_pa_w)
|
|||||||
// --x- ---- coins lockout
|
// --x- ---- coins lockout
|
||||||
// -x-- ---- coins meter
|
// -x-- ---- coins meter
|
||||||
// x--- ---- unused
|
// x--- ---- unused
|
||||||
|
|
||||||
|
data = data ^ 0xff;
|
||||||
|
|
||||||
|
// output_set_lamp_value(0, (data) & 1); // [----x]
|
||||||
|
// output_set_lamp_value(1, (data >> 1) & 1); // [---x-]
|
||||||
|
// output_set_lamp_value(2, (data >> 2) & 1); // [--x--]
|
||||||
|
// output_set_lamp_value(3, (data >> 3) & 1); // [-x---]
|
||||||
|
// output_set_lamp_value(4, (data >> 4) & 1); // [x----]
|
||||||
|
|
||||||
|
coin_counter_w(machine(), 0, data & 0x40); // counter
|
||||||
|
|
||||||
|
// popmessage("Out Lamps: %02x", data);
|
||||||
|
logerror("Out Lamps: %02x\n", data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE8_MEMBER(miniboy7_state::ay_pb_w)
|
WRITE8_MEMBER(miniboy7_state::ay_pb_w)
|
||||||
@ -588,9 +607,9 @@ ROM_START( miniboy7a ) /* The term CREDIT has been changed to POINT is this vers
|
|||||||
ROM_LOAD( "mb7_0.11d", 0x0000, 0x1000, CRC(84f78ee2) SHA1(c434e8a9b19ef1394b1dac67455f859eef299f95) ) /* text layer */
|
ROM_LOAD( "mb7_0.11d", 0x0000, 0x1000, CRC(84f78ee2) SHA1(c434e8a9b19ef1394b1dac67455f859eef299f95) ) /* text layer */
|
||||||
|
|
||||||
ROM_REGION( 0x6000, "gfx2", 0 )
|
ROM_REGION( 0x6000, "gfx2", 0 )
|
||||||
ROM_LOAD( "mb7_1.12d", 0x0000, 0x2000, CRC(5f3e3b93) SHA1(41ab6a42a41ddeb8b6b76f4d790bf9fb9e7c32a3) )
|
ROM_LOAD( "mb7_1.12d", 0x0000, 0x2000, CRC(5f3e3b93) SHA1(41ab6a42a41ddeb8b6b76f4d790bf9fb9e7c32a3) ) /* bitplane 1 */
|
||||||
ROM_LOAD( "mb7_2.13d", 0x2000, 0x2000, CRC(b3362650) SHA1(603907fd3a0049c0a3e1858c4329bf9fd58137f6) )
|
ROM_LOAD( "mb7_2.13d", 0x2000, 0x2000, CRC(b3362650) SHA1(603907fd3a0049c0a3e1858c4329bf9fd58137f6) ) /* bitplane 2 */
|
||||||
ROM_LOAD( "mb7_3.14d", 0x4000, 0x2000, CRC(10c2bf71) SHA1(23a01625b0fc0b772054ee4bc026d2257df46a03) )
|
ROM_LOAD( "mb7_3.14d", 0x4000, 0x2000, CRC(10c2bf71) SHA1(23a01625b0fc0b772054ee4bc026d2257df46a03) ) /* bitplane 3 */
|
||||||
|
|
||||||
ROM_REGION( 0x0200, "proms", ROMREGION_INVERT ) /* both bipolar PROMs are identical */
|
ROM_REGION( 0x0200, "proms", ROMREGION_INVERT ) /* both bipolar PROMs are identical */
|
||||||
ROM_LOAD( "j.e7", 0x0000, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
|
ROM_LOAD( "j.e7", 0x0000, 0x0100, CRC(4b66215e) SHA1(de4a8f1ee7b9bea02f3a5fc962358d19c7a871a0) ) /* N82S129N BPROM simply labeled J */
|
||||||
@ -602,6 +621,6 @@ ROM_END
|
|||||||
* Game Drivers *
|
* Game Drivers *
|
||||||
***********************************/
|
***********************************/
|
||||||
|
|
||||||
/* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS */
|
// YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT
|
||||||
GAME( 1983, miniboy7, 0, miniboy7, miniboy7, driver_device, 0, ROT0, "Bonanza Enterprises, Ltd", "Mini Boy 7 (set 1)", GAME_NO_COCKTAIL )
|
GAMEL( 1983, miniboy7, 0, miniboy7, miniboy7, driver_device, 0, ROT0, "Bonanza Enterprises, Ltd", "Mini-Boy 7 (set 1)", GAME_NO_COCKTAIL, layout_miniboy7 )
|
||||||
GAME( 1983, miniboy7a, miniboy7, miniboy7, miniboy7, driver_device, 0, ROT0, "Bonanza Enterprises, Ltd", "Mini Boy 7 (set 2)", GAME_NO_COCKTAIL )
|
GAMEL( 1983, miniboy7a, miniboy7, miniboy7, miniboy7, driver_device, 0, ROT0, "Bonanza Enterprises, Ltd", "Mini-Boy 7 (set 2)", GAME_NO_COCKTAIL, layout_miniboy7 )
|
||||||
|
144
src/mame/layout/miniboy7.lay
Normal file
144
src/mame/layout/miniboy7.lay
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<mamelayout version="2">
|
||||||
|
<!--
|
||||||
|
Mini-Boy 7 control panel
|
||||||
|
Written by Roberto Fresca.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- define button-lamps -->
|
||||||
|
|
||||||
|
<element name="button" defstate="0">
|
||||||
|
<rect state="1">
|
||||||
|
<color red="1.0" green="0.5" blue="0.0" />
|
||||||
|
</rect>
|
||||||
|
<rect state="0">
|
||||||
|
<color red="0.15" green="0.075" blue="0.0" />
|
||||||
|
</rect>
|
||||||
|
<text string="">
|
||||||
|
<color red="0.0" green="0.0" blue="0.0" />
|
||||||
|
<bounds x="0" y="0.1" width="1" height="0.4" />
|
||||||
|
</text>
|
||||||
|
<text string="">
|
||||||
|
<color red="0.0" green="0.0" blue="0.0" />
|
||||||
|
<bounds x="0" y="0.5" width="1" height="0.4" />
|
||||||
|
</text>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- define basic elements -->
|
||||||
|
|
||||||
|
<element name="cpanel">
|
||||||
|
<rect>
|
||||||
|
<color red="0.0" green="0.0" blue="0.0" />
|
||||||
|
</rect>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="buttonedge" defstate="0">
|
||||||
|
<rect state="1">
|
||||||
|
<color red="0.7" green="0.35" blue="0.0" />
|
||||||
|
</rect>
|
||||||
|
<rect state="0">
|
||||||
|
<color red="0.1" green="0.05" blue="0.0" />
|
||||||
|
</rect>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- define cpanel degradee elements -->
|
||||||
|
|
||||||
|
<element name="cpanel1">
|
||||||
|
<rect>
|
||||||
|
<color red="0.20" green="0.20" blue="0.20" />
|
||||||
|
</rect>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="cpanel2">
|
||||||
|
<rect>
|
||||||
|
<color red="0.15" green="0.15" blue="0.15" />
|
||||||
|
</rect>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="cpanel3">
|
||||||
|
<rect>
|
||||||
|
<color red="0.10" green="0.10" blue="0.10" />
|
||||||
|
</rect>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="cpanel4">
|
||||||
|
<rect>
|
||||||
|
<color red="0.05" green="0.05" blue="0.05" />
|
||||||
|
</rect>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- define background -->
|
||||||
|
|
||||||
|
<view name="Button Lamps">
|
||||||
|
<screen index="0">
|
||||||
|
<bounds left="0" top="0" right="4" bottom="3" />
|
||||||
|
</screen>
|
||||||
|
|
||||||
|
<bezel element="cpanel">
|
||||||
|
<bounds left="0" right="4" top="3" bottom="3.40" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel element="cpanel1">
|
||||||
|
<bounds left="0" right="4" top="3.01" bottom="3.39" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel element="cpanel2">
|
||||||
|
<bounds left="0" right="4" top="3.02" bottom="3.38" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel element="cpanel3">
|
||||||
|
<bounds left="0" right="4" top="3.03" bottom="3.37" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel element="cpanel4">
|
||||||
|
<bounds left="0" right="4" top="3.04" bottom="3.36" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel element="cpanel">
|
||||||
|
<bounds left="0" right="4" top="3.05" bottom="3.35" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- define lamps -->
|
||||||
|
|
||||||
|
<bezel name="lamp0" element="buttonedge">
|
||||||
|
<bounds x="3.18" y="3.08" width="0.50" height="0.24" />
|
||||||
|
</bezel>
|
||||||
|
<bezel name="lamp0" element="button">
|
||||||
|
<bounds x="3.20" y="3.10" width="0.46" height="0.20" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel name="lamp1" element="buttonedge">
|
||||||
|
<bounds x="2.43" y="3.08" width="0.50" height="0.24" />
|
||||||
|
</bezel>
|
||||||
|
<bezel name="lamp1" element="button">
|
||||||
|
<bounds x="2.45" y="3.10" width="0.46" height="0.20" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel name="lamp2" element="buttonedge">
|
||||||
|
<bounds x="1.68" y="3.08" width="0.50" height="0.24" />
|
||||||
|
</bezel>
|
||||||
|
<bezel name="lamp2" element="button">
|
||||||
|
<bounds x="1.70" y="3.10" width="0.46" height="0.20" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel name="lamp3" element="buttonedge">
|
||||||
|
<bounds x="0.93" y="3.08" width="0.50" height="0.24" />
|
||||||
|
</bezel>
|
||||||
|
<bezel name="lamp3" element="button">
|
||||||
|
<bounds x="0.95" y="3.10" width="0.46" height="0.20" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
<bezel name="lamp4" element="buttonedge">
|
||||||
|
<bounds x="0.18" y="3.08" width="0.50" height="0.24" />
|
||||||
|
</bezel>
|
||||||
|
<bezel name="lamp4" element="button">
|
||||||
|
<bounds x="0.20" y="3.10" width="0.46" height="0.20" />
|
||||||
|
</bezel>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</mamelayout>
|
Loading…
Reference in New Issue
Block a user