Home
last modified time | relevance | path

Searched refs:dipswitch (Results 1 – 25 of 50) sorted by relevance

12

/dports/games/libretro-fceumm/libretro-fceumm-91ccd3b/src/boards/
H A D360.c25 static uint8 dipswitch; variable
29 { &dipswitch, 1, "DPSW" },
35 if (dipswitch < 2) in Sync()
36 setprg32(0x8000, dipswitch >> 1); in Sync()
38 setprg16(0x8000, dipswitch); in Sync()
39 setprg16(0xC000, dipswitch); in Sync()
41 setchr8(dipswitch); in Sync()
42 setmirror(((dipswitch & 0x10) >> 4) ^ 1); in Sync()
46 dipswitch = 0; in M360Power()
53 dipswitch = (dipswitch + 1) & 31; in M360Reset()
[all …]
H A D401.c28 static uint8 dipswitch = 0; variable
37 if ((dipswitch & 1) && (EXPREGS[1] & 0x80)) { in M401PW()
42 ((dipswitch & 2) ? (EXPREGS[2] & 0x20) : ((EXPREGS[1] >> 1) & 0x20)) | in M401PW()
43 ((dipswitch & 4) ? (EXPREGS[2] & 0x40) : ((EXPREGS[1] << 1) & 0x40)); in M401PW()
49 if ((dipswitch & 1) && (EXPREGS[1] & 0x80)) in DECLFR()
66 dipswitch = (dipswitch + 1) & 7; in M401Reset()
67 FCEU_printf("dipswitch = %d\n", dipswitch); in M401Reset()
77 dipswitch = 7; in M401Power()
95 AddExState(&dipswitch, 1, 0, "DPSW"); in Mapper401_Init()
H A D357.c31 static uint8 dipswitch; variable
41 { &dipswitch, 1, "DPSW" },
47 if (dipswitch == 0) { in Sync()
57 setprg16(0x8000, outer_bank[dipswitch] | preg[2]); in Sync()
58 setprg16(0xc000, outer_bank[dipswitch] | 7); in Sync()
61 setmirror(dipswitch == 3 ? MI_H : MI_V); in Sync()
98 dipswitch++; in M357Reset()
99 dipswitch &= 3; in M357Reset()
H A D380.c27 static uint8 dipswitch; variable
31 { &dipswitch, 1, "DPSW" },
58 return dipswitch; in DECLFR()
70 dipswitch = (dipswitch + 1) & 0xF; in M380Reset()
77 dipswitch = 0; in M380Power()
H A D390.c26 static uint8 dipswitch; variable
31 { &dipswitch, 1, "DPSW" },
60 ret |= dipswitch; in DECLFR()
72 dipswitch = 11; /* hard-coded 150-in-1 menu */ in M390Power()
79 dipswitch = 11; /* hard-coded 150-in-1 menu */ in M390Reset()
H A D237.c32 static uint8 dipswitch; variable
38 { &dipswitch, 1, "DPSW" },
64 return dipswitch; in DECLFR()
90 dipswitch = 0; in Mapper237_Init()
92 dipswitch = 2; in Mapper237_Init()
H A Dhp10xx_hp20xx.c33 static uint32 dipswitch; variable
135 return dipswitch; in DECLFR()
139 dipswitch++; in BMCHPxxReset()
140 dipswitch &= 0xF; in BMCHPxxReset()
151 dipswitch = lock = 0; in BMCHPxxPower()
169 AddExState(&dipswitch, 1, 0, "DPSW"); in BMCHPxx_Init()
H A Daddrlatch.c25 static uint8 dipswitch; variable
106 return dipswitch; in DECLFR()
112 dipswitch++; in BMCD1038Reset()
113 dipswitch &= 3; in BMCD1038Reset()
119 AddExState(&dipswitch, 1, 0, "DIPSW"); in BMCD1038_Init()
148 AddExState(&dipswitch, 1, 0, "DIPSW"); in UNL43272_Init()
505 ret |= (dipswitch << 2); in DECLFR()
510 dipswitch++; in M288Reset()
511 dipswitch &= 3; in M288Reset()
516 dipswitch = 0; in Mapper288_Init()
[all …]
H A DBS110.c38 static uint8 dipswitch; variable
53 { &dipswitch, 1, "DIP0" },
140 return dipswitch; in DECLFR()
149 dipswitch = 0; in BS110Power()
167 dipswitch++; in BS110Reset()
H A DBs5652.c41 static uint8 dipswitch; variable
55 { &dipswitch, 1, "DIP0" },
173 return dipswitch; in DECLFR()
181 dipswitch = 0; in Bs5652Power()
201 dipswitch++; in Bs5652Reset()
H A Dfk23c.c126 static uint8 dipswitch = 0; variable
138 { &dipswitch, 1, "DPSW" },
308 if (((WRAM_EXTENDED == 0) || FK23_ENABLED) && (A & (0x10 << dipswitch))) in DECLFW()
430 dipswitch = (dipswitch + 1) & 7; in Reset()
431 FCEU_printf("BMCFK23C dipswitch set to $%04x\n",0x5000|0x10 << dipswitch); in Reset()
/dports/net-mgmt/librenms/librenms-21.5.1/mibs/mrv/
H A DNBS-JUMPER-MIB36 "Jumper and dipswitch information"
58 "All Jumper and dipswitch information"
66 "Individual Jumper and dipswitch information"
94 "Unique index of the jumper or dipswitch. Index starts at 1."
107 "Actual/current position of this jumper or dipswitch. For
128 number for this dipswitch, as etched into the circuit
129 board or dipswitch block."
/dports/net-mgmt/observium/observium/mibs/mrv/
H A DNBS-JUMPER-MIB36 "Jumper and dipswitch information"
58 "All Jumper and dipswitch information"
66 "Individual Jumper and dipswitch information"
94 "Unique index of the jumper or dipswitch. Index starts at 1."
107 "Actual/current position of this jumper or dipswitch. For
128 number for this dipswitch, as etched into the circuit
129 board or dipswitch block."
/dports/emulators/mess/mame-mame0226/hash/
H A Dsoftwarelist.dtd17 <!ELEMENT part (feature*, dataarea*, diskarea*, dipswitch*)>
45 <!ELEMENT dipswitch (dipvalue*)> element
46 <!ATTLIST dipswitch name CDATA #REQUIRED>
47 <!ATTLIST dipswitch tag CDATA #REQUIRED>
48 <!ATTLIST dipswitch mask CDATA #REQUIRED>
/dports/emulators/mame/mame-mame0226/hash/
H A Dsoftwarelist.dtd17 <!ELEMENT part (feature*, dataarea*, diskarea*, dipswitch*)>
45 <!ELEMENT dipswitch (dipvalue*)> element
46 <!ATTLIST dipswitch name CDATA #REQUIRED>
47 <!ATTLIST dipswitch tag CDATA #REQUIRED>
48 <!ATTLIST dipswitch mask CDATA #REQUIRED>
/dports/emulators/mess/mame-mame0226/src/devices/bus/ti99/peb/
H A Dcc_fdc.cpp303 const uint8_t dipswitch[] = { 0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; in tms9901_input() local
308 return ((ioport("HEADSTEP")->read() & dipswitch[8])!=0)? 0:1; in tms9901_input()
310 return ((ioport("HEADSTEP")->read() & dipswitch[1])!=0)? 0:1; in tms9901_input()
312 return ((ioport("HEADSTEP")->read() & dipswitch[7])!=0)? 0:1; in tms9901_input()
314 return ((ioport("HEADSTEP")->read() & dipswitch[5])!=0)? 0:1; in tms9901_input()
316 return ((ioport("HEADSTEP")->read() & dipswitch[3])!=0)? 0:1; in tms9901_input()
318 return ((ioport("HEADSTEP")->read() & dipswitch[2])!=0)? 0:1; in tms9901_input()
320 return ((ioport("HEADSTEP")->read() & dipswitch[4])!=0)? 0:1; in tms9901_input()
322 return ((ioport("HEADSTEP")->read() & dipswitch[6])!=0)? 0:1; in tms9901_input()
H A Dmyarcfdc.cpp198 const uint8_t dipswitch[] = { 0x00, 0x01, 0x02, 0x04, 0x08 }; in crureadz() local
219 *value = ((ioport("SW1")->read() & dipswitch[8-bitno])!=0)? 0:1; in crureadz()
/dports/emulators/mame/mame-mame0226/src/devices/bus/ti99/peb/
H A Dcc_fdc.cpp303 const uint8_t dipswitch[] = { 0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; in tms9901_input() local
308 return ((ioport("HEADSTEP")->read() & dipswitch[8])!=0)? 0:1; in tms9901_input()
310 return ((ioport("HEADSTEP")->read() & dipswitch[1])!=0)? 0:1; in tms9901_input()
312 return ((ioport("HEADSTEP")->read() & dipswitch[7])!=0)? 0:1; in tms9901_input()
314 return ((ioport("HEADSTEP")->read() & dipswitch[5])!=0)? 0:1; in tms9901_input()
316 return ((ioport("HEADSTEP")->read() & dipswitch[3])!=0)? 0:1; in tms9901_input()
318 return ((ioport("HEADSTEP")->read() & dipswitch[2])!=0)? 0:1; in tms9901_input()
320 return ((ioport("HEADSTEP")->read() & dipswitch[4])!=0)? 0:1; in tms9901_input()
322 return ((ioport("HEADSTEP")->read() & dipswitch[6])!=0)? 0:1; in tms9901_input()
H A Dmyarcfdc.cpp198 const uint8_t dipswitch[] = { 0x00, 0x01, 0x02, 0x04, 0x08 }; in crureadz() local
219 *value = ((ioport("SW1")->read() & dipswitch[8-bitno])!=0)? 0:1; in crureadz()
/dports/emulators/nestopia/nestopia-1.51.1/source/win32/
H A DNstDialogDipSwitches.hpp48 #error Must update dipswitch dialog fields!
/dports/games/libretro-fbneo/FBNeo-bbe3c05/
H A DREADME-PI.md75 `-f`: Enables free play in games that include a Free Play dipswitch. This
77 dipswitch, and because different sets may have the switch labeled differently.
/dports/emulators/simh/simh-3.9.0_5/AltairZ80/
H A Ds100_adcs6.c129 static int32 dipswitch = 0x00; /* 5-position DIP switch on 64FDC card */ variable
192 { HRDATA (J7, dipswitch, 8), },
694 result = dipswitch; in adcs6_banksel()
H A Ds100_64fdc.c126 static int32 dipswitch = 0; /* 5-position DIP switch on 64FDC card */ variable
229 { HRDATA (DIPSW, dipswitch, 8), },
1720 result = dipswitch & 0x1F; in cromfdc_ext()
/dports/emulators/mess/mame-mame0226/scripts/minimaws/lib/
H A Ddbaccess.py985 def add_diplocation(self, dipswitch, bit, name, num, inverted): argument
986 self.dbcurs.execute(UpdateQueries.ADD_DIPLOCATION, (dipswitch, bit, name, num, inverted))
989 def add_dipvalue(self, dipswitch, name, value, isdefault): argument
990 self.dbcurs.execute(UpdateQueries.ADD_DIPVALUE, (dipswitch, name, value, isdefault))
/dports/emulators/mame/mame-mame0226/scripts/minimaws/lib/
H A Ddbaccess.py985 def add_diplocation(self, dipswitch, bit, name, num, inverted): argument
986 self.dbcurs.execute(UpdateQueries.ADD_DIPLOCATION, (dipswitch, bit, name, num, inverted))
989 def add_dipvalue(self, dipswitch, name, value, isdefault): argument
990 self.dbcurs.execute(UpdateQueries.ADD_DIPVALUE, (dipswitch, name, value, isdefault))

12