Home
last modified time | relevance | path

Searched refs:p5dat (Results 1 – 7 of 7) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dcubo.cpp479 uint16_t p5dat = 0x0100 << (i * 4); /* data P5 */ in potgo_w() local
480 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in potgo_w()
491 uint16_t p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_cia() local
493 if (!(m_potgo_value & p5dir) || !(m_potgo_value & p5dat)) in handle_joystick_cia()
516 uint16_t p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
519 potgor &= ~p5dat; in handle_joystick_potgor()
520 potgor |= m_potgo_value & p5dat; in handle_joystick_potgor()
524 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in handle_joystick_potgor()
H A Damiga.cpp1075 u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in potgo_w() local
1076 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in potgo_w()
1087 u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_cia() local
1089 if (!(m_potgo_value & p5dir) || !(m_potgo_value & p5dat)) in handle_joystick_cia()
1112 u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
1115 potgor &= ~p5dat; in handle_joystick_potgor()
1116 potgor |= m_potgo_value & p5dat; in handle_joystick_potgor()
1120 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in handle_joystick_potgor()
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dcubo.cpp479 uint16_t p5dat = 0x0100 << (i * 4); /* data P5 */ in potgo_w() local
480 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in potgo_w()
491 uint16_t p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_cia() local
493 if (!(m_potgo_value & p5dir) || !(m_potgo_value & p5dat)) in handle_joystick_cia()
516 uint16_t p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
519 potgor &= ~p5dat; in handle_joystick_potgor()
520 potgor |= m_potgo_value & p5dat; in handle_joystick_potgor()
524 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in handle_joystick_potgor()
H A Damiga.cpp1075 u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in potgo_w() local
1076 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in potgo_w()
1087 u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_cia() local
1089 if (!(m_potgo_value & p5dir) || !(m_potgo_value & p5dat)) in handle_joystick_cia()
1112 u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
1115 potgor &= ~p5dat; in handle_joystick_potgor()
1116 potgor |= m_potgo_value & p5dat; in handle_joystick_potgor()
1120 if ((m_potgo_value & p5dir) && (m_potgo_value & p5dat)) in handle_joystick_potgor()
/dports/emulators/uae/uae-0.8.29/src/
H A Dinputdevice.c780 uae_u16 p5dat = 0x0100 << (i * 4); in handle_joystick_buttons() local
803 uae_u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_cd32_joystick_cia() local
804 if (!(potgo_value & p5dir) || !(potgo_value & p5dat)) { in handle_cd32_joystick_cia()
826 uae_u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
831 potgor |= p5dat; in handle_joystick_potgor()
840 potgor &= ~p5dat; in handle_joystick_potgor()
847 potgor &= ~p5dat; in handle_joystick_potgor()
848 potgor |= potgo_value & p5dat; in handle_joystick_potgor()
852 if ((potgo_value & p5dir) && (potgo_value & p5dat)) in handle_joystick_potgor()
862 potgor &= ~p5dat; in handle_joystick_potgor()
[all …]
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/
H A Dinputdevice.c2112 uae_u16 p5dat = 0x0100 << (joy * 4); in cap_check() local
2121 if (cd32padmode (p5dir, p5dat)) in cap_check()
2212 uae_u16 p5dat = 0x0100 << (i * 4); in handle_joystick_buttons() local
2214 if (!cd32padmode (p5dir, p5dat)) { in handle_joystick_buttons()
2253 uae_u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_cd32_joystick_cia() local
2254 if (cd32padmode (p5dir, p5dat)) { in handle_cd32_joystick_cia()
2279 uae_u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
2284 potgor &= ~p5dat; in handle_joystick_potgor()
2285 potgor |= potgo_value & p5dat; in handle_joystick_potgor()
2299 potgor &= ~p5dat; in handle_joystick_potgor()
[all …]
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Dinputdevice.cpp3015 uae_u16 p5dat = 0x0100 << (joy * 4); in cap_check() local
3024 if (cd32padmode (p5dir, p5dat)) in cap_check()
3111 uae_u16 p5dat = 0x0100 << (i * 4); in handle_joystick_buttons() local
3113 if (!cd32padmode (p5dir, p5dat)) { in handle_joystick_buttons()
3152 uae_u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_cd32_joystick_cia() local
3153 if (cd32padmode (p5dir, p5dat)) { in handle_cd32_joystick_cia()
3178 uae_u16 p5dat = 0x0100 << (i * 4); /* data P5 */ in handle_joystick_potgor() local
3183 potgor &= ~p5dat; in handle_joystick_potgor()
3184 potgor |= potgo_value & p5dat; in handle_joystick_potgor()
3198 potgor &= ~p5dat; in handle_joystick_potgor()
[all …]