ports/emulators/simh/files/patch-HP2100_hp2100__pif.c
Luca Pizzamiglio b020e1344e emulators/simh: fix name clash with other ports and tidy compilations
Fix name clash with gri and nova, that caused conflicts
Fix compilation warnings

PR:		222968
Submitted by:	bob@eager.cx (maintainer)
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12651
2017-10-13 11:38:04 +00:00

11 lines
503 B
C

--- HP2100/hp2100_pif.c.orig 2017-10-12 22:55:55 UTC
+++ HP2100/hp2100_pif.c
@@ -306,7 +306,7 @@ while (working_set) {
else { /* DOS PIF */
setPRL (dibptr->select_code, !(pif.control | pif.flag));
- setIRQ (dibptr->select_code, !pif.control & pif.flag & pif.flagbuf);
+ setIRQ (dibptr->select_code, (!pif.control) & pif.flag & pif.flagbuf);
}
if (DEBUG_PRS (pif_dev))