MAMEWorld >> MAME Artwork: Official
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4742
Loc: California
Send PM
Re: Vas Crabb or Mr. Do: Request for Input
12/04/20 01:39 AM



> Anyway, I don't know if any of this helps to demystify the underlying principles any,
> or if I've just managed to confuse you more, but hey.

No... actually, this makes it all make more sense to me... I didn't actually understand the difference between Active Low vs High, and the way you laid it all out, it's actually logical now.

(I didn't understand "why" the "subtraction" thing worked; I just knew it did).



New question then... I tried to find an example of Active High, and I think I found my first anomaly where I'm stuck:

static INPUT_PORTS_START( espial )
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_COCKTAIL

PORT_START("IN2")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON1 )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY


Since JOYSTICK_DOWN is in IN1, separate from the other three in IN2, I can't fully animate the upright 8-way stick? (Though I could still do the cocktail version?).



RELAX and just have fun. Remember, it's all about the games.








Entire thread
Subject Posted by Posted on
* Vas Crabb or Mr. Do: Request for Input Nightvoice 12/03/20 10:22 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Mr. DoAdministrator  12/03/20 02:51 PM
. * Re: Vas Crabb or Mr. Do: Request for Input MooglyGuy  12/03/20 10:06 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Mr. DoAdministrator  12/04/20 01:39 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/05/20 07:46 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/04/20 05:19 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/31/20 02:36 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Mr. DoAdministrator  12/31/20 06:25 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/31/20 09:47 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  01/01/21 01:31 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  01/01/21 09:02 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/04/20 09:34 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/04/20 10:36 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/03/20 04:04 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/03/20 10:23 AM

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 6 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 239