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: 4875
Loc: California
Send PM
Re: Vas Crabb or Mr. Do: Request for Input
12/04/20 07: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 04:22 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Mr. DoAdministrator  12/03/20 08:51 PM
. * Re: Vas Crabb or Mr. Do: Request for Input MooglyGuy  12/04/20 04:06 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Mr. DoAdministrator  12/04/20 07:39 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/05/20 01:46 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/04/20 11:19 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/31/20 08:36 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Mr. DoAdministrator  01/01/21 12:25 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  01/01/21 03:47 AM
. * What Am I Doing Wrong? Nightvoice  11/24/21 10:40 PM
. * Re: What Am I Doing Wrong? Vas Crabb  11/27/21 06:55 PM
. * Re: What Am I Doing Wrong? Nightvoice  11/27/21 08:07 PM
. * Re: What Am I Doing Wrong? Mr. DoAdministrator  12/05/21 03:34 PM
. * Re: What Am I Doing Wrong? Nightvoice  12/05/21 11:21 PM
. * Re: Escape From The Planet of the Robot Monsters Nightvoice  12/08/21 05:22 AM
. * Re: What Am I Doing Wrong? Vas Crabb  11/27/21 05:18 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  01/01/21 07:31 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  01/01/21 03:02 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/04/20 03:34 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Vas Crabb  12/05/20 04:36 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/03/20 10:04 PM
. * Re: Vas Crabb or Mr. Do: Request for Input wemr97dl  03/24/23 07:15 AM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  03/24/23 09:42 PM
. * Re: Vas Crabb or Mr. Do: Request for Input Nightvoice  12/03/20 04:23 PM

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