summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/i8155.c
Commit message (Collapse)AuthorAgeFilesLines
* simplified read_port + make sure portc is 6 bits wide (meyc8088.c expects ↵ Michaël Banaan Ananas2012-04-301-28/+11
| | | | d6,7 to be set on read)
* timer regs can be read too (used by meyc8088 diagnostics) Michaël Banaan Ananas2012-04-301-2/+10
|
* (defaulting LOG to off) Michaël Banaan Ananas2012-04-201-1/+1
|
* added i8156 device definition Michaël Banaan Ananas2012-04-021-2/+3
|
* MAME going modern part 1 (no whatsnew) Miodrag Milanovic2012-03-311-1/+1
| | | | - Added 4th parameter to all address maps - Added missing state classes
* New games added as NOT_WORKING mariuszw12011-12-191-0/+2
| | | | ---------------------------------- Special Criminal Investigation (Tourvision PCE bootleg) [Mariusz Wojcieszek, Clawgrip, Charles MacDonald, AUMAP]
* Reimplemented devcb using delegates and classes. Unified the logic Aaron Giles2011-05-021-11/+11
| | | | | | for identifying targets and simplified the code. [Aaron Giles] I have some further ideas but this is a good midway point.
* Collapsed device_config and device_t into one class. Updated all Aaron Giles2011-04-271-91/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* BIG update. Aaron Giles2011-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant machine items from address_space and device_t. Neither machine nor m_machine are directly accessible anymore. Instead a new getter machine() is available which returns a machine reference. So: space->machine->xxx ==> space->machine().xxx device->machine->yyy ==> device->machine().yyy Globally changed all running_machine pointers to running_machine references. Any function/method that takes a running_machine takes it as a required parameter (1 or 2 exceptions). Being consistent here gets rid of a lot of odd &machine or *machine, but it does mean a very large bulk change across the project. Structs which have a running_machine * now have that variable renamed to m_machine, and now have a shiny new machine() method that works like the space and device methods above. Since most of these are things that should eventually be devices anyway, consider this a step in that direction. 98% of the update was done with regex searches. The changes are architected such that the compiler will catch the remaining errors: // find things that use an embedded machine directly and replace // with a machine() getter call S: ->machine-> R: ->machine\(\)\. // do the same if via a reference S: \.machine-> R: \.machine\(\)\. // convert function parameters to running_machine & S: running_machine \*machine([^;]) R: running_machine \&machine\1 // replace machine-> with machine. S: machine-> R: machine\. // replace &machine() with machine() S: \&([()->a-z0-9_]+machine\(\)) R: \1 // sanity check: look for this used as a cast (running_machine &) // and change to this: *(running_machine *)
* Imported some common C++ devices from MESS to emu folder. Curt Coder2011-03-281-0/+653