summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/tlc34076.c
Commit message (Collapse)AuthorAgeFilesLines
* Some changes/corrections to device descriptions from MASH and Tafoid (nw) Scott Stone2014-04-121-1/+1
|
* Switched rgb_t to a class, replacing macros with methods. Mappings are Aaron Giles2014-02-191-2/+2
| | | | | | | | | | | | | | | | | | | as follows: MAKE_RGB(r,g,b) == rgb_t(r,g,b) MAKE_ARGB(a,r,g,b) == rgb_t(a,r,g,b) RGB_ALPHA(data) == data.a() RGB_RED(data) == data.r() RGB_GREEN(data) == data.g() RGB_BLUE(data) == data.b() RGB_BLACK == rgb_t::black RGB_WHITE == rgb_t::white Implicit conversions to/from UINT32 are built in as well as simple addition, subtraction, and scaling (with clamping). As a result of being a class, some stricter typing was needed in a few places but overall not too much.
* changed rest of devices (except cpu cores) to have shortname and sourcefile (nw) Miodrag Milanovic2013-06-211-1/+1
|
* Cleanups and version bumpmame0148u1 Miodrag Milanovic2013-02-111-1/+1
|
* Fully modernised the TLC34076 device [Phil Bennett] Phil Bennett2013-01-271-155/+99
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-62/+60
|
* Stop allocating arrays of UINT8s for the tokens, when Aaron Giles2012-09-181-1/+1
| | | | we can allocate objects of the real type.
* 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
* First pass at modernizing struct definitions. Aaron Giles2012-09-151-2/+1
|
* Cleanup and some inheritance fixes (no whatsnew) Miodrag Milanovic2012-09-031-14/+0
|
* conversion of legacy devices into modern wip (no whatsnew) Miodrag Milanovic2012-09-031-2/+38
|
* Removed legacy inline_config support and updated devices using it (no whatsnew) Miodrag Milanovic2012-08-301-3/+6
|
* Removed template usage for legacy devices, to make my future work easier (nw) Miodrag Milanovic2012-08-301-6/+13
|
* Cleanups and version bumpmame0142u5 Angelo Salese2011-06-051-2/+2
|
* GCC 4.6 "Variable assigned but not used" fixes part 7 (no whatsnew) R. Belmont2011-05-301-2/+2
|
* Collapsed device_config and device_t into one class. Updated all Aaron Giles2011-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 *)
* running_device -> device_t Aaron Giles2010-12-311-2/+2
| | | | | They both already existed. No sense in having two names for the same object type.
* 03992: btoads: Reload of state cause major graphic corruption [Phil Bennett] Phil Bennett2010-08-161-87/+91
| | | Converted TLC34076 to a device [Phil Bennett]
* Bulk driver.h -> emu.h switch. Aaron Giles2010-01-101-1/+1
|
* Cleanups and version bump. Aaron Giles2009-05-281-1/+1
|
* From: Xander Xander [mailto:xander85@operamail.com] Aaron Giles2009-05-151-0/+18
| | | | | | | | | | | Sent: Sunday, May 10, 2009 1:28 AM To: submit@mamedev.org Subject: Save state for artmagic.c and runaway.c I have added the save state to artmagic.c and runaway.c Xander
* WARNING: this compiles, but not fully cleanly, and a number of drivers Aaron Giles2008-11-141-4/+4
| | | | | | | | | | | | | | | | are broken. Changed READ/WRITE handlers to accept an address_space * instead of a machine *. The address_space object was enhanced to contain a machine and a pointer to the relevant CPU object. Fixed a number of errors found by the compiler, mostly in the core and CPU/sound handlers, but there is a lot remaining to fix. Added new function cpu_get_address_space() to fetch the address space for calling in manually to these functions. In some instances, code which should eventually be converted to a device is hard-coding fetching the program space of CPU #0 in order to have something valid to pass.
* Switched from ACCESSING_BYTE_*, ACCESSING_WORD_*, ACCESSING_DWORD_* Aaron Giles2008-04-031-2/+2
| | | | macros to ACCESSING_BITS_*_* macros.
* New macros added for checking mem_mask. ACCESSING_BYTE_n, ACCESSING_WORD_n & ↵ smf-2008-03-301-2/+2
| | | | | | | ACCESSING_DWORD_n. These check for any access within the bounds, currently the pattern for checking whether both bytes of a word is written is to make two byte checks ( this pattern existed before because there was no macro for testing a 16 bit word, though you could have used ACCESSING_LSW32 ). All occurrences of ACCESSING_LSB, ACCESSING_MSB, ACCESSING_LSB16, ACCESSING_MSB16, ACCESSING_LSB32, ACCESSING_MSB32, ACCESSING_LSW32, ACCESSING_MSW32 & simple mem_mask checks have been replace with the new macros. The old macros are gone.
* Added running_machine * parameter to the front of all read/write handlers. Aaron Giles2008-03-051-4/+4
| | | | | | | | | | | | | | | | | | Updated all call-through handlers appropriately. Renamed read8_handler to read8_machine_func, replicating this pattern throughout. Defined new set of memory handler functions which are similar but which pass a const device_config * in place of the running_machine *. These are called read8_device_func, etc. Added macros READ8_DEVICE_HANDLER() for specifying functions of this type. Note that some plumbing still needs to happen in memory.c before this will work. This check-in should remove the need for the global Machine and in turn "deprecat.h" for a lot of drivers, but that work has not been done. On the flip side, some new accesses to the global Machine were added in the emu/ files. These should be addressed over time, but are smaller in number than the references in the driver.
* Const-ified tlc34076_get_pens Zsolt Vasvari2008-01-141-1/+1
|
* - Changed TLC34076 and games using it to RGB32 Zsolt Vasvari2008-01-141-22/+26
| | | | | | - Removed global Machine variable where possible
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+262