summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pxa255.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Major timer object reshuffling. timer_expired_delegate wraps the various ↵ Aaron Giles2021-03-261-1/+1
| | | | callback types. timer_callback is a class containing a timer_expired_delegate plus a user-supplied pointer, and accounting information for registration. timer_instance is a single active timer in the scheduler. persistent_timer is what you get back from timer_alloc() now, and has methods for dynamic changes. transient_timer_factory is what you use to create transient timers. Devices now own a transient_timer_factory for transient device timers. persistent_timers can be emedded and initialized directly.
* Add scheduler object and accessor to device_t. Upgrade all 3 timer ↵ Aaron Giles2021-03-241-1/+1
| | | | parameters to u64. Change first parameter of device timers to be emu_timer const. Updated all device timers to follow suit.
* Cleaned up bitmap API. Vas Crabb2020-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made const-qualified pixel accessors (pix, pixt, raw_pixptr) return const-qualified references/pointers to pixesl, and added non-const versions. This makes bitmap more like standard library containers where const protects the content as well as the dimensions. Made the templated pixt accessor protected - having it public makes it too easy to inadvertently get a pointer to the wrong location. Removed the pix(8|16|32|64) accessors from the specific bitmaps. You could only use the "correct" one anyway, and having the "incorrect" ones available prevented explicit instantiations of the class template because the static assertions would fail. You can still see the pixel type in the bitmap class names, and you can't assign the result of &pix(y, x) to the wrong kind of pointer without a cast. Added fill member functions to the specific bitmap template, and added a explicit instantiations. This allows the bitmap size check to be skipped on most bitmap fills, although the clipping check is still there. Also fixed a couple of places that were trying to fill an indexed 16-bit bitmap with rgb_t::black() exposed by this (replaced with zero to get the same net effect). The explicit template instantiations in the .cpp file mean the compiler can inline the function if necessary, but don't need to generate a local out-of-line body if it chooses not to. Extended the size of the fill value parameter in the base bitmap class to 64 bits so it works correctly for 64-bit bitmaps. Fixed places where IE15 and VGM visualiser weren't accounting for row bytes potentially being larger than width. Fixed an off-by-one in an HP-DIO card where it was treating the Topcat cursor right edge as exclusive. Updated everything to work with the API changes, reduced the scope of many variables, added more const, and replaced a few fill/copy loops with stuff from <algorithm>.
* srcclean for 0.223 Vas Crabb2020-07-261-3/+3
|
* merge fixes, nw mooglyguy2020-06-221-2/+2
|
* -arm7: Added placeholder devices for PXA250 and PXA270, and corrected PXA255 ↵ MooglyGuy2020-06-221-32/+402
| | | | | | | | CPU ID. [Ryan Holtz] -pxa255: Added preliminary support for RTC, clock, and power management registers. [Ryan Holtz] -zaurus: Added correct dumps for SL-5500 model. Renamed existing SL-5500 model to suspected model (SL-C500). [Ryan Holtz]
* devices/machine, sound and video: removed read and write macros (nw) Ivan Vangelista2020-06-171-12/+12
|
* last batch of changes to make the ↵ Ivan Vangelista2020-05-211-9/+9
| | | | https://github.com/mamedev/mame/tree/devcb-no-space branch build. (nw)
* srcclean (nw) Vas Crabb2020-03-221-11/+11
|
* -pxa255: Converted to logmacro, added more GPIO callbacks, removed ↵ MooglyGuy2020-02-261-267/+267
| | | | | | unnecessary prefixes. [Ryan Holtz] -zaurus: Split into per-SoC-type machine configs, enabled RTC hack, and adjusted to correct clocks. [Ryan Holtz]
* (nw) Clean up the mess on master Vas Crabb2019-03-261-13/+13
| | | | | | | | | | | | | 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-13/+13
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* -src/devices/machine: Random MCFG and MACHINE_CONFIG removals, nw MooglyGuy2019-02-031-13/+13
|
* small cleanup (nw) Vas Crabb2018-06-241-0/+1
|
* srcclean and other cleanup (nw) Vas Crabb2018-06-241-1/+1
|
* -39in1: Split Intel XScale PXA255 peripherals into a separate device. [Ryan ↵ mooglyguy2018-06-211-0/+1240
Holtz] note: will apply this change to any drivers using copy/pasted PXA255 code tomorrow.