Commit Graph

25 Commits

Author SHA1 Message Date
Michaël Banaan Ananas
bf2db1521e upd1990/4990 improvements, most notably added serial command input 2014-03-17 00:45:06 +00:00
Curt Coder
846c70bee9 License tags. (nw) 2013-10-16 13:38:21 +00:00
Miodrag Milanovic
e533a04f2e changed rest of devices (except cpu cores) to have shortname and sourcefile (nw) 2013-06-21 14:44:06 +00:00
Oliver Stöneberg
4af856c7aa shut up clang compiler warning about unused private field in upd1990a_device (nw) 2013-06-14 11:37:58 +00:00
Oliver Stöneberg
39aac3fc10 reverted r23642 (nw) 2013-06-12 11:43:35 +00:00
Oliver Stöneberg
401f0d6871 removed unused private field m_variant from upd1990a_device (nw) 2013-06-11 21:30:11 +00:00
Curt Coder
36198d2169 upd1990a: devcb2. (nw) 2013-06-10 13:43:50 +00:00
Oliver Stöneberg
3b5012fdef fixed uninitialized members in src/emu/machine/upd1990a.c (nw) 2013-03-09 09:12:19 +00:00
Oliver Stöneberg
082e6d1725 fixed uninitialized member in src/emu/machine/upd1990a.c (nw) 2013-03-08 07:20:44 +00:00
Oliver Stöneberg
8e391558d7 fixed uninitialized members in src/emu/machine/upd1990a.c (nw) 2013-02-22 08:15:35 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Angelo Salese
9952023cae Added uPD4990A clone to the uPD1990A, renamed uPD4990A -> uPD4990A_OLD for the time being (core used by Neo-Geo / Neo-Print, will be nuked at some point) 2012-12-18 18:09:34 +00:00
Angelo Salese
b6ce592c40 Perhaps PC-9801RS uses upd4990 instead, I don't know ... 2012-12-08 14:24:17 +00:00
Angelo Salese
03584acd3d Notes updates 2012-12-07 16:07:33 +00:00
Angelo Salese
0b78c005f6 Update of the previous commit, fixes Balance of Power (don't ask why the same exact MS-DOS version behaves differently on this ...), nw 2012-12-07 16:05:56 +00:00
Angelo Salese
db18011bd8 Preliminary support for Test Mode in upd1990a RTC device [Angelo Salese] 2012-12-07 15:48:05 +00:00
Curt Coder
10d8064c72 Added the clock counter chain and other common functions into device_rtc_interface, removing duplicated code in RTC implementations. Rewrote the Dallas DS1302 to support additional features needed by IDE64 in MESS. [Curt Coder] 2012-04-27 21:23:39 +00:00
R. Belmont
477946c103 Removed unnecessary extra logging (nw) 2012-04-11 03:43:39 +00:00
R. Belmont
4468e3e7cc uPD1990AC: Only latch CSx bits when STB is high. [R. Belmont] 2012-04-11 03:40:16 +00:00
Aaron Giles
722631601e Reimplemented devcb using delegates and classes. Unified the logic
for identifying targets and simplified the code. [Aaron Giles]

I have some further ideas but this is a good midway point.
2011-05-02 03:32:58 +00:00
Curt Coder
05ecfb6e21 Cleanup. (nw) 2011-04-28 09:55:54 +00:00
Aaron Giles
919913f118 Collapsed device_config and device_t into one class. Updated all
existing modern devices and the legacy wrappers to work in this
environment. This in general greatly simplifies writing a modern
device. [Aaron Giles]

General notes:
 * some more cleanup probably needs to happen behind this change,
   but I needed to get it in before the next device modernization 
   or import from MESS  :)

 * new template function device_creator which automatically defines
   the static function that creates the device; use this instead of
   creating a static_alloc_device_config function

 * added device_stop() method which is called at around the time
   the previous device_t's destructor was called; if you auto_free
   anything, do it here because the machine is gone when the 
   destructor is called

 * changed the static_set_* calls to pass a device_t & instead of
   a device_config *

 * for many devices, the static config structure member names over-
   lapped the device's names for devcb_* functions; in these cases
   the members in the interface were renamed to have a _cb suffix

 * changed the driver_enumerator to only cache 100 machine_configs
   because caching them all took a ton of memory; fortunately this
   implementation detail is completely hidden behind the 
   driver_enumerator interface

 * got rid of the macros for creating derived classes; doing it
   manually is now clean enough that it isn't worth hiding the
   details in a macro
2011-04-27 05:11:18 +00:00
Curt Coder
65c39d0596 Created device_rtc_interface which can be used to initialize RTC's to a certain date/time at driver startup, useful for regression testing. Implemented the interface in most of the modern RTC devices. Note: this is not yet plumbed down to the command line. [Curt Coder] 2011-04-22 21:41:30 +00:00
Aaron Giles
68958f72db Cleanups and version bump. 2011-04-03 05:49:24 +00:00
Curt Coder
9ce28237de Imported uPD1990A RTC from MESS. (no whatsnew) 2011-03-30 18:36:47 +00:00