Previous 199869 Revisions Next

r21793 Monday 11th March, 2013 at 01:30:20 UTC by Carl
(mess) dp8390: packet must be at least 60 bytes (nw)
[src/mess/machine]dp8390.c

trunk/src/mess/machine/dp8390.c
r21792r21793
147147         if((offset >> 8) == m_regs.bnry) return recv_overflow();
148148      }
149149   }
150   if(len < 60) {
151      // this can't pass to the next page
152      for(; i < 60; i++) {
153         mem_write(high16 + offset, 0);
154         offset++;
155      }
156      len = 60;
157   }
158
150159   m_regs.rsr |= 1;
151160   m_regs.isr |= 1;
152161   m_regs.curr = (offset >> 8) + ((offset & 0xff)?1:0);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team