summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/diserial.cpp
Commit message (Collapse)AuthorAgeFilesLines
* diserial: don't use bitwise OR on bool, small cleanup to spacing hap2025-09-011-30/+27
|
* diserial.cpp: Avoid updating data frame if nothing changed (#14105) Mark Garlanger2025-09-011-0/+13
|
* diserial: reset the receive register when changing frame format or the port ↵ Olivier Galibert2025-06-201-0/+2
| | | | may be stuck into synchronous receive mode due to the default start bits = 0
* -homebrew/linux4004.cpp: Emulated Linux/4004 board. Vas Crabb2024-10-041-42/+20
| | | | | | | | | | | | | | | | | | | | | | | | | * VFD is not emulated, but all other features are present. -machine/sc16is741.cpp: Emulated basic SC16IS741A UART functionality in SPI interface mode. -macine/spi_sdcard.cpp: Improved interface logic: * Start in unprotected mode as specified by the standard. * Ignore stop bits in unprotected mode - apparenty real cards do this. * Set protected or unprotected mode in response to CMD59. * Reset SPI logic when initially selected. -machine/spi_psram.cpp: Started adding PSRAM QPI functionality. -emu/diserial.cpp: Got rid of the per-instance parity lookup table. New working systems ------------------- Dmitry Grinberg Linux/4004 New working software list items (lnux4004.xml) ---------------------------------------------- uMIPS Linux 4.4.292+
* emu/diserial.cpp: Improved stop bit handling (fixes #12762). (#12770) Colin Leroy-Mira2024-09-231-6/+16
| | | | * Never check more than one stop bit on reception. * Don't add an extra stop bit on transmission.
* diserial: change the rx start delay to more realistic 0.5 cycles hap2024-03-081-2/+2
|
* diserial: increase start delay from 0.25 to 0.33 cycle hap2024-03-071-1/+3
|
* emu/device.h: Removed device (READ|WRITE)_LINE_MEMBER in favor of explicit ↵ MooglyGuy2023-06-011-4/+4
| | | | function signatures. (#11283) [Ryan Holtz]
* mcs51: implement serial input/output as bit stream (#11190) Patrick Mackinlay2023-05-081-1/+2
| | | * fix [MT#05495](https://mametesters.org/view.php?id=5495)
* diserial: Add machine time to bit logging messages AJR2023-04-221-4/+4
|
* Various devices: Correct placement of U integer suffix in definitions of ↵ AJR2023-03-231-3/+3
| | | | | | | | shifted LOG_xxx constant macros (continued from 0c382ffc806ee926765f50e0615fde4de14a2408) * bandit: Use swapendian_int32 function * pokey: Improve some subtle aspects of keyboard handling
* sega/mdioport.cpp: Added Mega Drive I/O port controller device. Vas Crabb2022-12-121-6/+5
| | | | | | | | | | | | | | | Adapted all Mega Drive hardware drivers to work with the new I/O port device, and moved based Mega Drive 68k peripherals to a common address map function. sega/megadriv_acbl.cpp: Added base machine configuration to attach an optional I/O port to the EXP port, and moved some stuff to derived classes. sega/megadriv_rad.cpp: Simplified code. bus/sms_ctrl: Added an RS-232 adapter. Only sending from the console to the attached device works so far, reception will have to wait.
* diserial: Use logmacro for optional logging and make the messages more useful AJR2020-08-231-7/+19
|
* i8251: Preliminary addition of synchronous support. Robbbert2019-09-061-4/+3
| | | | | | - Can transmit - Can receive with one sync byte - bisync still being worked on
* diserial: Make received parity consistent with transmitted parity (nw) AJR2019-05-171-2/+2
|
* diserial: correct parity output (nw) Patrick Mackinlay2019-05-171-2/+2
|
* (nw) Clean up the mess on master Vas Crabb2019-03-261-10/+0
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
* Revert "conflict resolution (nw)" andreasnaive2019-03-251-0/+10
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* diserial: Make is_receiver_register_full and is_transmit_register_empty ↵ AJR2019-01-041-10/+0
| | | | const and inline (nw)
* diserial: Actually check parity of received bytes in modes other than ↵ AJR2018-12-281-30/+22
| | | | | | PARITY_NONE; fix transmission of parity bit in PARITY_EVEN mode i8251: Flag parity and framing errors in status register
* hazl1420: Add interrupts and hook up DIP switches through I/O expanders (nw) AJR2018-09-241-0/+2
|
* More cleanup/streamlining of machine configuration and macros: Vas Crabb2018-05-151-2/+3
| | | | | | | | | | | | | * Get rid of implicit prefix for GFX decode names and prefix them all * Get rid of special macro for adding GFXDECODE in favour of constructor * Make empty GFX decode a static member of interface * Allow palette to be specified to GFXDECODE as a device finder * Removed diserial.h from emu.h as it's used relatively infrequently Also fix darkseal and vaportra propely. The palette device automatically attaches itself to a share with matching tag. The correct solution here is to rename one or the other out of the way, since it was never attached to a share before.
* mc68901: Improve USART behavior for polled operation AJR2017-11-021-1/+3
|
* Cleaned up serial, matrix keyboard and TI-8x link protocol interfaces: Vas Crabb2017-07-111-36/+28
| | | | | | | | | | * Switched to delegate timers - Frees implementations from having to call timer method - Eliminates risk of ID conflicts with implementations/other interfaces * Moved save state registration to interface post start - Plays nicely with device_missing_dependencies exceptions - Frees implementation from having to call save state registration method - Improves save state support in devices that neglected to call method
* i8251: Improve logging; restrict external command_w and mode_w access to V53 ↵ AJR2017-04-151-0/+1
| | | | variant (nw)
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-3/+3
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* Reverting part of changes from previous commits as described in mail on list ↵ Miodrag Milanovic2016-10-231-2/+2
| | | | (nw)
* there you go (nw) Miodrag Milanovic2016-10-221-2/+2
|
* 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
* some bool <-> int not needed conversions, also cleaned drivenum.* was using ↵ Miodrag Milanovic2016-10-211-2/+2
| | | | memset for clearing vector (nw)
* Added extra bit as delay between bytes to make 1 stop bit work Joakim Larsson Edstrom2016-04-101-2/+2
|
* reverting: Miodrag Milanovic2016-01-201-1/+1
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* Revert "rest of device parameters to std::string (nw)" Miodrag Milanovic2016-01-201-1/+1
| | | | This reverts commit caba131d844ade3f2b30d6be24ea6cf46b2949d7.
* rest of device parameters to std::string (nw) Miodrag Milanovic2016-01-161-1/+1
|
* tags are now strings (nw) Miodrag Milanovic2016-01-161-1/+1
| | | | fix start project for custom builds in Visual Studio (nw)
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-2/+2
|
* Cleanups and version bumpmame0168 Miodrag Milanovic2015-11-251-3/+3
|
* Some cleanups and init fixes with help of ReSharper C++ (nw) Miodrag Milanovic2015-11-111-2/+6
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+504