Home
last modified time | relevance | path

Searched refs:portC_in (Results 1 – 25 of 34) sorted by relevance

12

/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/taito/
H A Dtaito_m68705.cpp15 UINT8 portC_in; variable
106 if (ptr->portC_in) { in m67805_mcu_read()
107 ptr->portC_in(); in m67805_mcu_read()
109 return (portC_out & ddrC) | (portC_in & ~ddrC); in m67805_mcu_read()
133 portC_in = 0; in m67805_taito_reset()
167 portC_in = 0; in m67805_taito_exit()
192 SCAN_VAR(portC_in); in m68705_taito_scan()
245 portC_in = 0; in standard_m68705_portC_in()
246 if (main_sent) portC_in |= 0x01; in standard_m68705_portC_in()
247 if (!mcu_sent) portC_in |= 0x02; in standard_m68705_portC_in()
H A Dtaito_m68705.h12 void (*portC_in)(); member
23 extern UINT8 portC_in;
H A Dd_arkanoid.cpp964 portC_in = 0; in arkanoid_m68705_portC_read()
965 if (main_sent) portC_in |= 0x01; in arkanoid_m68705_portC_read()
966 if (!mcu_sent) portC_in |= 0x02; in arkanoid_m68705_portC_read()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/taito/
H A Dtaito_m68705.cpp15 UINT8 portC_in; variable
106 if (ptr->portC_in) { in m67805_mcu_read()
107 ptr->portC_in(); in m67805_mcu_read()
109 return (portC_out & ddrC) | (portC_in & ~ddrC); in m67805_mcu_read()
133 portC_in = 0; in m67805_taito_reset()
167 portC_in = 0; in m67805_taito_exit()
192 SCAN_VAR(portC_in); in m68705_taito_scan()
245 portC_in = 0; in standard_m68705_portC_in()
246 if (main_sent) portC_in |= 0x01; in standard_m68705_portC_in()
247 if (!mcu_sent) portC_in |= 0x02; in standard_m68705_portC_in()
H A Dtaito_m68705.h12 void (*portC_in)(); member
23 extern UINT8 portC_in;
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Dslapfght_machine.c30 static unsigned char portC_in,portC_out,ddrC; variable
181 portC_in = 0; in READ_HANDLER()
184 portC_in |= 0x01; in READ_HANDLER()
186 portC_in |= 0x02; in READ_HANDLER()
188 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
313 portC_in = 0; in READ_HANDLER()
314 if (!main_sent) portC_in |= 0x01; in READ_HANDLER()
315 if (mcu_sent) portC_in |= 0x02; in READ_HANDLER()
316 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dbuggychl_machine.c99 static unsigned char portC_in,portC_out,ddrC; variable
103 portC_in = 0; in READ_HANDLER()
104 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
105 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
106 log_cb(RETRO_LOG_DEBUG, LOGPRE "%04x: 68705 port C read %02x\n",activecpu_get_pc(),portC_in); in READ_HANDLER()
107 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dbigevglf_machine.c19 static unsigned char portC_in,portC_out,ddrC; variable
67 portC_in = 0; in READ_HANDLER()
68 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
69 if (mcu_sent) portC_in |= 0x02; in READ_HANDLER()
71 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dmaniach.c88 static unsigned char portC_in,portC_out,ddrC; variable
92 portC_in = 0; in READ_HANDLER()
93 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
94 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
96 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dnycaptor_machine.c78 static unsigned char portC_in,portC_out,ddrC; variable
82 portC_in = 0; in READ_HANDLER()
83 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
84 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
86 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dretofinv_machine.c88 static unsigned char portC_in,portC_out,ddrC; variable
92 portC_in = 0; in READ_HANDLER()
93 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
94 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
96 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dlkage_machine.c90 static unsigned char portC_in,portC_out,ddrC; variable
94 portC_in = 0; in READ_HANDLER()
95 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
96 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
98 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dflstory_machine.c91 static unsigned char portC_in,portC_out,ddrC; variable
95 portC_in = 0; in READ_HANDLER()
96 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
97 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
99 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/
H A Dbuggychl_machine.c99 static unsigned char portC_in,portC_out,ddrC; variable
103 portC_in = 0; in READ_HANDLER()
104 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
105 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
106 logerror("%04x: 68705 port C read %02x\n",activecpu_get_pc(),portC_in); in READ_HANDLER()
107 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dnycaptor_machine.c78 static unsigned char portC_in,portC_out,ddrC; variable
82 portC_in = 0; in READ_HANDLER()
83 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
84 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
86 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dbigevglf_machine.c19 static unsigned char portC_in,portC_out,ddrC; variable
67 portC_in = 0; in READ_HANDLER()
68 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
69 if (mcu_sent) portC_in |= 0x02; in READ_HANDLER()
71 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dmaniach.c88 static unsigned char portC_in,portC_out,ddrC; variable
92 portC_in = 0; in READ_HANDLER()
93 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
94 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
96 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dretofinv_machine.c88 static unsigned char portC_in,portC_out,ddrC; variable
92 portC_in = 0; in READ_HANDLER()
93 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
94 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
96 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dlkage_machine.c90 static unsigned char portC_in,portC_out,ddrC; variable
94 portC_in = 0; in READ_HANDLER()
95 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
96 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
98 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dflstory_machine.c91 static unsigned char portC_in,portC_out,ddrC; variable
95 portC_in = 0; in READ_HANDLER()
96 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
97 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
99 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dslapfght_machine.c162 static unsigned char portC_in,portC_out,ddrC; variable
212 portC_in = 0; in READ_HANDLER()
213 if (!main_sent) portC_in |= 0x01; in READ_HANDLER()
214 if (mcu_sent) portC_in |= 0x02; in READ_HANDLER()
215 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/machine/
H A Dmaniach.c88 static unsigned char portC_in,portC_out,ddrC; variable
92 portC_in = 0; in READ_HANDLER()
93 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
94 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
96 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dlkage.c90 static unsigned char portC_in,portC_out,ddrC; variable
94 portC_in = 0; in READ_HANDLER()
95 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
96 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
98 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dflstory.c89 static unsigned char portC_in,portC_out,ddrC; variable
93 portC_in = 0; in READ_HANDLER()
94 if (main_sent) portC_in |= 0x01; in READ_HANDLER()
95 if (!mcu_sent) portC_in |= 0x02; in READ_HANDLER()
97 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()
H A Dqix.c309 static unsigned char portC_in,portC_out,ddrC; variable
352 portC_in = (~sdungeon_coinctrl & 0x08) | ((input_port_1_r(0) & 0x70) >> 4); in READ_HANDLER()
355 return (portC_out & ddrC) | (portC_in & ~ddrC); in READ_HANDLER()

12