Scott Stone
30cda1d3e5
A round of spelling/typographical fixes to source comments (nw)
2016-11-24 09:24:01 -05:00
Vas Crabb
8179a84458
Introduce u8/u16/u32/u64/s8/s16/s32/s64
...
* 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
2016-11-19 05:38:48 +11:00
Miodrag Milanovic
aa2e6f9df3
Reverting part of changes from previous commits as described in mail on list (nw)
2016-10-23 09:11:47 +02:00
Miodrag Milanovic
e42ed88254
there you go (nw)
2016-10-22 21:37:06 +02:00
Miodrag Milanovic
ddb290d5f6
NOTICE (TYPE NAME CONSOLIDATION)
...
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
2016-10-22 13:13:17 +02:00
Miodrag Milanovic
a291e77b2c
some bool <-> int not needed conversions, also cleaned drivenum.* was using memset for clearing vector (nw)
2016-10-21 11:54:18 +02:00
Vas Crabb
5fe3b907af
make buffered serial a mixin to promote reuse [Vas Crabb]
2016-07-30 20:34:16 +10:00
Miodrag Milanovic
89c5e1f681
Various cleanups suggested by static analyzer (nw)
2016-04-24 12:58:31 +02:00
Miodrag Milanovic
91605d3f4d
clang-modernize part 1 (nw)
2015-12-03 18:17:25 +01:00
Miodrag Milanovic
6b04fd7f05
Added some for Nathan and some more for Nicola (nw)
2015-05-11 14:42:31 +02:00
Miodrag Milanovic
6d902a08bd
Added dummy license headers for EMU section (nw)
2015-05-07 10:45:57 +02:00
Zoë Blade
90f110f261
Fix various typos and spelling mistakes
...
I'm purposefully leaving /src/emu/bus/cbmiec/c1541.c's kernal.bin
as it is, as this particular spelling mistake was originally made
by Robert Russell, therefore is canon. See
http://en.wikipedia.org/wiki/KERNAL for details.
I'm also leaving /src/emu/machine/nscsi_bus.c's RECIEVE as I don't
want to break anything, but it's worth someone looking into.
I renamed some variables in /src/mame/drivers/sfbonus.c,
/src/mame/video/tia.c and /src/mame/video/tia.h, so if anyone wants
to verify I didn't break anything, that would be nice.
2015-04-11 00:52:26 +01:00
Olivier Galibert
eeedd8a4ca
save: Give the device when available to the state save subsystem [O. Galibert]
2015-02-14 20:58:20 +01:00
Wilbert Pol
0fec47ba92
Added save state to keyboard.c, rs232/keyboard.c, and i8251.c (nw)
2014-07-29 16:03:13 +00:00
Oliver Stöneberg
f59638c2a1
more passing of attotime as const references (nw)
2014-07-04 07:17:48 +00:00
Miodrag Milanovic
fec65e0b57
Cleanups and version bump
2014-04-07 06:04:18 +00:00
smf-
36ea0b6253
Removed diserial connect(). Converted thomson, mc1502 & wangpc to use DEVCB2 instead. [smf]
2014-02-24 13:52:14 +00:00
Curt Coder
6cb839c2c5
diserial: Added framing error detection. [Curt Coder]
...
(MESS) compclr2: Floppy WIP. (nw)
2014-01-16 21:36:35 +00:00
Curt Coder
189678f296
diserial: Added some information getters for future use. (nw)
2014-01-14 18:48:54 +00:00
smf-
61424105fb
Changed parity & stop bits to an enum (you can now pass in 1.5). I've updated the uarts that were testing for 1.5 stop bits to pass that in, but there are probably others & 1.5 stop bits is converted to 2 by diserial. However the 68681 requires stop bits to be specified in clocks, so this will change in the future. Replaced synchronous flag with start bit count, as some uarts can use a start bit in synchronous mode & that whether there is a start bit is all the flag is currently controlling. Updated rs232 terminal to allow startbits, stop bits 1.5 to be specified (although that is currently not supported by diserial) and individual transmit and receive baud rates. [smf]
2014-01-13 11:20:45 +00:00
smf-
966ae37d90
Converted x68000 keyboard into a separate serial device. This allows the removal of the uart hle in the driver (which didn't work, it was always two characters behind). diserial cannot sync with the start bit properly when using an external clock, so for now I've added a hack that is only enabled when using the MC68901 (setting the flag ignores the extra spurious bit that was getting shifted in). [smf]
2013-12-28 02:21:13 +00:00
smf-
d522db3870
expose less of the diserial internals, which has meant adding i8251_device::write_cts (nw)
2013-12-27 13:23:02 +00:00
smf-
a5786db00c
removed serial_source_device [smf]
2013-12-26 21:12:44 +00:00
Miodrag Milanovic
ca546caa6e
Cleanups and version bump
2013-12-24 07:24:51 +00:00
smf-
c875524b35
fixed compiling with MSVC, added enums for T10 commands, moved seek(6) from 2410 to t10sbc (nw)
2013-11-19 17:30:35 +00:00
Olivier Galibert
9779285c52
Windows headers are crap, let me count the ways (nw)
2013-11-19 07:48:31 +00:00
Olivier Galibert
671ba32470
diserial: Remove defines, cleanup clocks/timers, add sync support [O. Galibert]
2013-11-18 21:05:30 +00:00
cracyc
9927fa5faa
diserial: simplify (nw)
...
ins8250: use clock-div rate setting for more precision (nw)
2013-07-01 13:56:21 +00:00
cracyc
285531623a
diserial: add attotime and clock-div forms of set_rate and rename check_for_start to rx_w (nw)
...
debugqt: don't hide cursor while in debugger (nw)
(mess) ibmpc: xt floppies for the xt (nw)
2013-06-30 18:00:34 +00:00
Curt Coder
9f1f052429
diserial: Added methods for clocking the receiver/transmitter outside of the timers. [Curt Coder]
2013-05-21 13:34:00 +00:00
Miodrag Milanovic
0e19f641d3
Cleanups and version bump
2013-01-11 07:32:46 +00:00
Miodrag Milanovic
400e51198b
Sync with MESS, Curt changes related to Wang PC (no whatsnew)
2012-05-29 06:44:54 +00:00
Angelo Salese
04145d0b62
Clean-ups and version bump
2012-02-26 14:31:24 +00:00
Miodrag Milanovic
de8965097c
Fixed order of timer init and save state by Sandro Ronco (no whatsnew)
2012-02-26 13:42:03 +00:00
Miodrag Milanovic
f17ae85865
mc146818 - Set period even if timer is disabled, required for windows nt [Carl]
...
diserial - added optinal rx and tx timers and callbacks [Carl]
ins8250 - serial rx line high on start and fix for msr register [Carl]
bitbanger - added 19200bps (no whatsnew)
2012-02-20 08:05:19 +00:00
Miodrag Milanovic
e82fa6e24e
Rewrite INS8250 to use diserial, updated Microtouch to modern and made it serial device, updated connected drivers [Carl]
2012-02-19 16:46:00 +00:00
Angelo Salese
c0b3576488
Cleanups and version bump
2011-09-06 13:39:18 +00:00
Miodrag Milanovic
0f537f3955
Set more proper name to interface call (no whatsnew)
2011-09-02 16:39:30 +00:00
Miodrag Milanovic
b764156f07
- Created device_serial_interface that should be used by UART's (no whatsnew)
...
- It is used by MESS side i8251 and 6551 are using it now
- Also created simple serial source devices (used by some cassette interface)
This will be optimized and rechecked after new chips are converted to use it
No whatsnew for now, but there will be info for the release.
2011-09-02 14:53:41 +00:00