PY-1

From JAMMArcade.net WIKI
Jump to: navigation, search

Found on...

Equations

/** Inputs **/
Pin	1 = A16;
Pin	2 = A17;
Pin	3 = A18;
Pin	4 = A19;
Pin	5 = A20;
Pin	6 = m_RW;
Pin	7 = LDS;
Pin	8 = UDS;

/** Outputs **/
Pin	13 = PDSEL; /**(Combinatorial, Output feedback output, Active low) **/
Pin	14 = OE6; /**(Combinatorial, Output feedback output, Active low) **/
Pin	15 = OE5; /**(Combinatorial, No output feedback, Active low) **/
Pin	16 = OE4; /**(Combinatorial, No output feedback, Active low) **/
Pin	17 = OE3; /**(Combinatorial, Output feedback output, Active low) **/
Pin	18 = OE2; /**(Combinatorial, Output feedback output, Active low) **/
Pin	19 = OE1; /**(Combinatorial, Output feedback output, Active low) **/

/** Equations **/

!PDSEL = !A16 & !A17 & A18 & A19 & !A20; /* 0xC0000 */

!OE6 = !A16 & A17 & !A18 & !A19 & !A20 & m_RW & !UDS; */ 0x20000 */

!OE5 = A16 & !A17 & !A18 & !A19 & !A20 & m_RW & !UDS; */ 0x10000 */

!OE4 = !A16 & A17 & !A18 & !A19 & !A20 & m_RW & !LDS;

!OE3 = !A16 & !A17 & !A18 & !A19 & !A20 & m_RW & !UDS;

!OE2 = A16 & !A17 & !A18 & !A19 & !A20 & m_RW & !LDS;

!OE1 = !A16 & !A17 & !A18 & !A19 & !A20 & m_RW & !LDS;