/dports/emulators/simh/simh-3.9.0_5/swtp6800/common/ |
H A D | mp-s.c | 124 "PTR", &ptr_unit, NULL, NULL, 168 sim_activate (&ptr_unit, ptr_unit.wait); // continue poll in ptr_svc() 171 ptr_unit.buf = temp & 0xFF; // Save char in ptr_svc() 199 ptr_unit.buf = 0; in ptr_reset() 200 ptr_unit.u3 = 0x02; in ptr_reset() 201 sim_activate (&ptr_unit, ptr_unit.wait); // activate unit in ptr_reset() 229 if (feof(ptr_unit.fileref)) { // EOF in sio0s() 233 ptr_unit.u3 |= 0x01; // set ready in sio0s() 245 ptr_unit.buf = 0; in sio0s() 246 ptr_unit.pos = 0; in sio0s() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/ALTAIR/ |
H A D | altair_sio.c | 92 { ORDATA (DATA, ptr_unit.buf, 8) }, 93 { ORDATA (STAT, ptr_unit.u3, 8) }, 99 "PTR", &ptr_unit, ptr_reg, NULL, 166 ptr_unit.buf = 0; in ptr_reset() 167 ptr_unit.u3 = 0x02; in ptr_reset() 227 ptr_unit.u3 = 0; in sio1s() 228 ptr_unit.buf = 0; in sio1s() 229 ptr_unit.pos = 0; in sio1s() 246 if (ptr_unit.u3 != 0) in sio1d() 250 ptr_unit.u3 = 0x01; in sio1d() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/PDP8/ |
H A D | pdp8_pt.c | 58 UNIT ptr_unit = { variable 64 { ORDATA (BUF, ptr_unit.buf, 8) }, 80 "PTR", &ptr_unit, ptr_reg, ptr_mod, 138 sim_activate (&ptr_unit, ptr_unit.wait); in ptr() 145 sim_activate (&ptr_unit, ptr_unit.wait); in ptr() 163 if ((temp = getc (ptr_unit.fileref)) == EOF) { in ptr_svc() 164 if (feof (ptr_unit.fileref)) { in ptr_svc() 170 clearerr (ptr_unit.fileref); in ptr_svc() 175 ptr_unit.buf = temp & 0377; in ptr_svc() 176 ptr_unit.pos = ptr_unit.pos + 1; in ptr_svc() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/NOVA/ |
H A D | nova_pt.c | 80 UNIT ptr_unit = { /* 2007-May-30, bkr */ variable 86 { ORDATA (BUF, ptr_unit.buf, 8) }, 91 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 92 { DRDATA (TIME, ptr_unit.wait, 24), PV_LEFT }, 105 "PTR", &ptr_unit, ptr_reg, ptr_mod /* 2007-May-30, bkr */, 162 ptr_unit.buf & 0377 in ptr() 170 sim_activate (&ptr_unit, ptr_unit.wait); /* activate unit */ in ptr() 194 if (feof (ptr_unit.fileref)) { in ptr_svc() 200 clearerr (ptr_unit.fileref); in ptr_svc() 207 ptr_unit.buf = temp & ((ptr_unit.flags & UNIT_8B)? 0377: 0177); in ptr_svc() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/PDP18B/ |
H A D | pdp18b_stddev.c | 216 UNIT ptr_unit = { variable 562 sim_activate (&ptr_unit, ptr_unit.wait); in ptr() 598 ptr_unit.buf = ptr_unit.buf ^ 0200; /* count bits */ in ptr_svc() 607 ptr_unit.buf = ptr_unit.buf | ((temp & 077) << ptr_state); in ptr_svc() 612 ptr_unit.pos = ptr_unit.pos + 1; in ptr_svc() 621 ptr_unit.buf = 0; in ptr_reset() 624 if (((ptr_unit.flags & UNIT_ATT) == 0) || feof (ptr_unit.fileref)) in ptr_reset() 654 ptr_unit.flags = ptr_unit.flags & ~(UNIT_RASCII|UNIT_KASCII); in ptr_attach() 656 ptr_unit.flags = ptr_unit.flags | UNIT_RASCII; in ptr_attach() 658 ptr_unit.flags = ptr_unit.flags | UNIT_KASCII; in ptr_attach() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/PDP11/ |
H A D | pdp11_pt.c | 87 UNIT ptr_unit = { variable 181 *data = ptr_unit.buf & 0377; in ptr_rd() 203 sim_activate (&ptr_unit, ptr_unit.wait); in ptr_wr() 224 if ((ptr_unit.flags & UNIT_ATT) == 0) in ptr_svc() 227 if (feof (ptr_unit.fileref)) { in ptr_svc() 233 clearerr (ptr_unit.fileref); in ptr_svc() 237 ptr_unit.buf = temp & 0377; in ptr_svc() 238 ptr_unit.pos = ptr_unit.pos + 1; in ptr_svc() 246 ptr_unit.buf = 0; in ptr_reset() 248 if ((ptr_unit.flags & UNIT_ATT) == 0) in ptr_reset() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/SDS/ |
H A D | sds_stddev.c | 80 UNIT ptr_unit = { variable 86 { ORDATA (BUF, ptr_unit.buf, 7) }, 89 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 90 { DRDATA (TIME, ptr_unit.wait, 24), REG_NZ + PV_LEFT }, 102 "PTR", &ptr_unit, ptr_reg, ptr_mod, 239 sim_activate (&ptr_unit, ptr_unit.wait); /* activate */ in ptr() 284 clearerr (ptr_unit.fileref); in ptr_svc() 287 ptr_unit.pos = ptr_unit.pos + 1; /* inc position */ in ptr_svc() 295 sim_activate (&ptr_unit, ptr_unit.wait); /* get next char */ in ptr_svc() 306 sim_cancel (&ptr_unit); /* stop */ in ptr_set_err() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/HP2100/ |
H A D | hp2100_stddev.c | 218 UNIT ptr_unit = { variable 224 { ORDATA (BUF, ptr_unit.buf, 8) }, 230 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 231 { DRDATA (TIME, ptr_unit.wait, 24), PV_LEFT }, 247 "PTR", &ptr_unit, ptr_reg, ptr_mod, 461 sim_activate (&ptr_unit, ptr_unit.wait); in ptrio() 494 if ((ptr_unit.flags & UNIT_ATT) == 0) /* attached? */ in ptr_svc() 498 if ((ptr_unit.flags & UNIT_DIAG) && (ptr_unit.pos > 0)) { in ptr_svc() 500 ptr_unit.pos = 0; in ptr_svc() 517 clearerr (ptr_unit.fileref); in ptr_svc() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/PDP1/ |
H A D | pdp1_stddev.c | 144 UNIT ptr_unit = { variable 150 { ORDATA (BUF, ptr_unit.buf, 18) }, 157 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 158 { DRDATA (TIME, ptr_unit.wait, 24), PV_LEFT }, 174 "PTR", &ptr_unit, ptr_reg, ptr_mod, 301 return ptr_unit.buf; /* return data */ in ptr() 306 sim_cancel (&ptr_unit); /* stop reader */ in ptr() 319 sim_activate (&ptr_unit, ptr_unit.wait); /* start reader */ in ptr() 426 ptr_unit.buf = 0; in ptr_reset() 465 if ((val = ptr_getw (&ptr_unit)) < 0) in ptr_boot() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/I1620/ |
H A D | i1620_pt.c | 61 UNIT ptr_unit = { variable 66 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 71 "PTR", &ptr_unit, ptr_reg, NULL, 322 if ((ptr_unit.flags & UNIT_ATT) == 0) { /* attached? */ in ptr_read() 328 if ((temp = getc (ptr_unit.fileref)) == EOF) { /* read char */ in ptr_read() 330 if (feof (ptr_unit.fileref)) in ptr_read() 333 clearerr (ptr_unit.fileref); in ptr_read() 337 ptr_unit.pos = ptr_unit.pos + 1; /* incr file addr */ in ptr_read()
|
/dports/emulators/simh/simh-3.9.0_5/Ibm1130/ |
H A D | ibm1130_ptrp.c | 51 UNIT ptr_unit[1] = { variable 62 "PTR", ptr_unit, ptr_reg, NULL, 111 sim_activate(ptr_unit, ptr_wait); /* schedule interrupt */ in xio_1134_papertape() 167 sim_cancel(ptr_unit); in ptr_reset() 172 if (IS_ONLINE(ptr_unit) && ! feof(ptr_unit->fileref)) in ptr_reset() 242 if ((ch = getc(ptr_unit->fileref)) == EOF) { in ptr_boot()
|
/dports/emulators/simh/simh-3.9.0_5/LGP/ |
H A D | lgp_stddev.c | 228 UNIT ptr_unit = { variable 233 { HRDATA (BUF, ptr_unit.buf, 6) }, 235 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 236 { DRDATA (TIME, ptr_unit.wait, 24), REG_NZ + PV_LEFT }, 256 "PTR", &ptr_unit, ptr_reg, ptr_mod, 310 sim_activate (&ptr_unit, ptr_unit.wait); /* activate */ in op_i_strt() 339 if ((ptr_unit.buf != FLEX_DEL) && /* ignore delete and */ in op_i() 340 (!Q_LGP21 || ((ptr_unit.buf & 3) == 2))) /* LGP-21 4b? zone != 2 */ in op_i() 341 A = shift_in (A, ptr_unit.buf, sh4); /* shift data in */ in op_i() 603 sim_cancel (&ptr_unit); in ptr_reset() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/H316/ |
H A D | h316_stddev.c | 141 UNIT ptr_unit = { variable 147 { ORDATA (BUF, ptr_unit.buf, 8) }, 151 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 152 { DRDATA (TIME, ptr_unit.wait, 24), PV_LEFT }, 153 { ORDATA (RSTATE, ptr_unit.STA, 2), REG_HIDDEN }, 165 "PTR", &ptr_unit, ptr_reg, pt_mod, 322 sim_cancel (&ptr_unit); in ptrio() 323 else sim_activate (&ptr_unit, ptr_unit.wait); /* fnc 0? start */ in ptrio() 340 sim_activate (&ptr_unit, ptr_unit.wait); in ptrio() 420 ptr_unit.buf = 0; /* clear buffer */ in ptr_reset() [all …]
|
/dports/emulators/simh/simh-3.9.0_5/AltairZ80/ |
H A D | altairz80_sio.c | 336 static UNIT ptr_unit = { variable 341 { HRDATA (STAT, ptr_unit.u3, 8) }, 346 "PTR", &ptr_unit, ptr_reg, ptpptr_mod, 478 …ptr_unit.u3 = FALSE; /* End Of File not yet reached … in ptr_reset() 479 ptr_unit.buf = 0; in ptr_reset() 480 …if (ptr_unit.flags & UNIT_ATT) /* attached? … in ptr_reset() 481 rewind(ptr_unit.fileref); in ptr_reset() 782 return ptr_unit.u3 ? SIO_CAN_WRITE : (SIO_CAN_READ | SIO_CAN_WRITE); in sio1sCore() 1264 if (uptr == &ptr_unit) in attachCPM() 1723 attachCPM(&ptr_unit); in simh_out() [all …]
|
/dports/emulators/simh-hpdoc/simh-hpdoc-3.11.0/SCP/HP2100/ |
H A D | hp2100_pt.c | 329 #define ptr_unit pt_unit [ptr] /* paper tape reader unit */ macro 358 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 400 &ptr_unit, /* unit array */ 703 if (uptr == &ptr_unit) /* if the reader mode is being set */ in set_mode() 742 sim_cancel (&ptr_unit); /* and cancel any read in progress */ in ptr_reset()
|
/dports/emulators/simh-hp2100/simh-hp2100-3.11.0.31/SCP/HP2100/ |
H A D | hp2100_pt.c | 335 #define ptr_unit pt_unit [ptr] /* paper tape reader unit */ macro 365 { DRDATA (POS, ptr_unit.pos, T_ADDR_W), PV_LEFT }, 407 &ptr_unit, /* unit array */ 724 if (uptr == &ptr_unit) /* if the reader mode is being set */ in set_mode() 762 sim_cancel (&ptr_unit); /* cancel any read in progress */ in ptr_reset()
|
/dports/games/fillets-ng/fillets-ng-1.0.1/src/level/ |
H A D | LevelScript.cpp | 79 std::auto_ptr<Unit> ptr_unit(new_unit); in addModel() local 82 return room()->addModel(ptr_model.release(), ptr_unit.release()); in addModel()
|
/dports/misc/clpbar/bar-1.11.1/ |
H A D | args.c | 835 char *ptr_unit = 0; in parse_num() local 857 ptr_unit = s; in parse_num() 858 while ((*ptr_unit != '\0') && (isdigit((int)*ptr_unit) || (*ptr_unit == '.'))) in parse_num() 859 ptr_unit++; in parse_num() 860 if ((*ptr_unit != '\0') && (*(ptr_unit+1) != '\0')) { in parse_num() 869 num_fractional_part = (size_t)(ptr_unit - ptr_decimal - 1); in parse_num() 871 else if (*ptr_unit != '\0') { in parse_num() 872 num_whole_part = (size_t)(ptr_unit - s); in parse_num() 884 switch (toupper(*ptr_unit)) { in parse_num() 942 ptr_end = ptr_unit; in parse_num() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/lint/ |
H A D | lint-ctypes.rs | 50 pub fn ptr_unit(p: *const ()); in ptr_unit() function
|
H A D | lint-ctypes-fn.rs | 69 pub extern "C" fn ptr_unit(p: *const ()) { } in ptr_unit() function
|