summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdnet.h
Commit message (Collapse)AuthorAgeFilesLines
* osd: Cleaned up MIDI and network interfaces a little more. Vas Crabb2024-03-011-2/+0
|
* osd/osdnet.cpp: Removed dependency from OSD network device to libemu. (#12058) Vas Crabb2024-02-251-14/+22
| | | | * This allows save states to be created and loaded when network interfaces are present. * device_network_interface may need some more attention to get save states taken while receiving a packet to work properly.
* schedule/timer: be more consistent with s32 param hap2023-12-111-1/+1
|
* OSD/network interface cleanup AJR2022-08-281-0/+1
| | | | | | | - Move osd_midi_device from osdcore.h to osdepend.h - Move osd_list_network_adapters from osdcore.h to osdnet.h (was already defineduniquely in osdnet.cpp) - Move #include <cstdarg> from osdcore.h to emu.h - Remove dinetwork.h from emu.h
* Remove void *ptr parameter from emu_timer, timer_device and all related ↵ AJR2022-01-261-1/+1
| | | | callbacks
* -Got rid of most of the remaining problematic uses of make_unique_clear. Vas Crabb2020-09-301-2/+10
| | | | -sound/discrete.cpp: Use C++ std::vector and range-based for.
* there are reasons for things being the way they were (nw) Vas Crabb2020-01-311-1/+1
|
* fixed some modernize-use-equals-default clang-tidy warnings (nw) (#6237) Oliver Stöneberg2020-01-301-1/+1
|
* interpro: notworking -> networking (#3815) Patrick Mackinlay2018-09-041-1/+1
| | | | | | | | | | | | | | | | | | | * 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
* Better support for screen orientation/geometry: Vas Crabb2018-07-261-3/+5
| | | | | | | | | | | | | | | | | | | | | * Eliminates the need for the horizontal/vertical/LCD/SVG layout files * Screens can now have orientation and physical aspect ratio specified * RASTER/VECTOR defaults to 4:3, LCD/SVG defaults to square pixels at config time * System orientation is applied on top of screen orientation Automatically generated single-screen views and orientation flags in XML output now work correctly for systems with multiple screens in different geometries/orientations, e.g. housemnq, rocnms, stepstag, or netmerc. The "core rotation options" only interact with system orientation. Allowing multi-screen systems to work well with one monitor per emulated screen is a complex topic. System orientation also affects the GFX viewer while screen orientation doesn't. The orientation displayed in the system selection menu is from the system orientation. Let me know if I've broken any systems or use cases. Also, add save state support for std::array/C array nested to any depth.
* 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-0/+1
|
* Remove emu.h from headers (nw) Olivier Galibert2017-02-111-1/+0
| | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* Small cleanup (nw) Miodrag Milanovic2016-11-111-2/+2
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-2/+2
| | | | | 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-2/+1
|
* did license settings for OG and Andrew, cleared up OSD part for licenses (nw) Miodrag Milanovic2015-05-091-2/+2
|
* Added license headers to the rest of files (nw) Miodrag Milanovic2015-05-071-0/+2
|
* netdev: fix race condition/crash when using the OSD to choose pcap devices. ↵ arbee2015-04-011-0/+2
| | | | [Rob Braun]
* Converted pcap and taptun network code into modules. (nw) couriersud2015-01-301-17/+16
|
* Clean-ups and version bumpmame0147 Miodrag Milanovic2012-09-171-1/+1
| | | note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
* Final round of struct/union/enum normalization. Aaron Giles2012-09-161-3/+3
|
* Sync with MESS all credited there (no whatsnew) Miodrag Milanovic2011-12-121-4/+17
|
* Fixed memory leaks in networking, used core functions for allocating memory, ↵ Miodrag Milanovic2011-11-221-0/+1
| | | | fix sdl win32 building with network enabled (no whatsnew)
* Clean-ups and version bumpmame0143u6 Angelo Salese2011-09-201-2/+2
|
* Made network device selection to be per id, which makes it simpler, and ↵ Miodrag Milanovic2011-09-091-1/+1
| | | | doesn't need hardcoded values (no whatsnew)
* Added network support used by MESS implemented by Carl (no whatsnew) Miodrag Milanovic2011-09-091-0/+33
part is disabled for now by compile options. Will be enabled,at least in MESS when all platforms get their implementation.