From e7c25cf0dc2df9afadba4c7a92c4a2a1750590fb Mon Sep 17 00:00:00 2001 From: rakslice Date: Sun, 19 Aug 2018 17:34:41 -0700 Subject: [PATCH] dp8390: allow AppleTalk broadcast through recv --- src/devices/machine/dp8390.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices/machine/dp8390.cpp b/src/devices/machine/dp8390.cpp index a77034461f7..874f301311e 100644 --- a/src/devices/machine/dp8390.cpp +++ b/src/devices/machine/dp8390.cpp @@ -132,7 +132,9 @@ void dp8390_device::recv(uint8_t *buf, int len) { if(buf[0] & 1) { if(!memcmp((const char *)buf, "\xff\xff\xff\xff\xff\xff", 6)) { if(!(m_regs.rcr & 4)) return; - } else return; // multicast + } else if (memcmp((const char *)buf, "\x09\x00\x07\xff\xff\xff", 6) != 0) { // not AppleTalk broadcast + return; // multicast + } m_regs.rsr = 0x20; } else m_regs.rsr = 0; len &= 0xffff;