The Legend of Kage Had to build the Control Panel from scratch using the pic shown. I did borrow the grass pattern from the bezel done by Mr.Retrolust from Mr.Do's.
Layfile note: the Mame artwork system reads inputs i/o in groups of 4 In the taito/lkage.cpp the Joystick imports are spread across the first and second groups in binary it would be 1111 1111 because its active low, active High would be all zero's.
PORT_START("P1") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
Normaly I have been using a script mostly just to move the inputs into a group of 4 to read the joystick inputs, but you don't have to using the input mask.
inputmask="0x3c"
if you convert the 4 bits in each to hexidecimal you need the 3 and fourth bit of the first set 0011=3 the first and second bit in the second set 1100 = c most of the time your using a mask of f=1111 all four bits.
hope that helps someone its a lot easier than writing the script.
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
|