summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdnet.cpp
Commit message (Collapse)AuthorAgeFilesLines
* interpro: notworking -> networking (#3815) Patrick Mackinlay2018-09-041-4/+7
| | | | | | | | | | | | | | | | | | | * interpro: notworking -> networking These changes combine to make InterPro networking work on Windows with the TAP-Windows6 driver. * osdnet: add a receive delay (1 frame) after transmit to avoid a time-travel problem * taptun: pad short Ethernet frames and append FCS (Windows-only until Linux taptun behaviour is verified) * clipper: fix bugs in carry flag handling, prefer sign bit for tests * i82586: fix transmit bug, handle reset * networking: delayed transmit/receive A second attempt to fix networking on InterPro systems, by introducing somewhat realistic delays into network transmit and receive paths. This version works by adding functions to device_network_interface which enable a device to be informed when the transmit or receive completes. The delay is only crudely approximated based on the specified bandwidth and the number of bytes being transmitted, but it should be good enough in practice. Existing drivers should not be impacted by these changes; overriding the new functions (and no longer overriding recv_cb) is necessary to obtain the new behaviour. Changes from the previous commit: * i82586: improve interrupt handling, implement delayed transmit/receive behaviour * dinetwork: add transmit/receive delay timers, handlers and logic * osdnet: remove receive delay, add the ability to start the receive timer
* osdnet: don't call it close (nw) cracyc2018-06-011-1/+1
|
* osdnet: prevent segfault at stop and when selecting device from menu (nw) cracyc2018-06-011-2/+5
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-3/+3
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* more cleanup (nw) Miodrag Milanovic2016-07-011-17/+13
|
* removed memory tracking (nw) Miodrag Milanovic2016-01-081-1/+1
|
* clang-modernize part 5 Miodrag Milanovic2015-12-041-3/+3
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+137