summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/highvdeo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-1644/+0
|
* change flags from GAME_ to MACHINE_ David Haywood2015-07-291-2/+2
| | | | this better fits the drivers from MESS (which have always illogically used the GAME_ flags despite not being games) and also fits fine with arcade machines.
* Update for Mirko Buffoni and some shared (nw) Miodrag Milanovic2015-05-121-1/+1
|
* Added known authors to licenses tags (nw) Miodrag Milanovic2015-05-091-1/+1
|
* fix newmcard / record palette regression from RAMDAC device conversion (nw) David Haywood2014-08-081-2/+2
|
* These aren't needed anymore (nw) Ivan Vangelista2014-06-091-1/+0
|
* Hooked up RAMDAC device to following drivers [Angelo Salese]: Angelo Salese2014-06-081-37/+19
| | | | | | | | | * adp.c * bmcbowl.c * coinmvga.c * highvdeo.c * magicard.c * segajw.c
* galpani3.c, highvdeo.c, igs_m027.c, majorpkr.c: fix generic_paletteram ↵ Alex W. Jackson2014-04-301-24/+9
| | | | regressions (nw)
* Moved m_generic_paletteram_* into drivers/device state objects so they are ↵ Miodrag Milanovic2014-04-231-1/+3
| | | | not global anymore (nw)
* Cleanups and version bumpmame0153 Miodrag Milanovic2014-04-071-3/+3
|
* Moved optional_device<screen_device> m_screen and ↵ Miodrag Milanovic2014-03-051-1/+3
| | | | optional_device<palette_device> m_palette out of driver.* (nw)
* New games added or promoted from NOT_WORKING status Roberto Fresca2014-03-011-17/+213
| | | | | | | | | | | | --------------------------------------------------- Record (Version 1) [Roberto Fresca, ANY] New games marked as GAME_NOT_WORKING ------------------------------------ Gran Capitan (Version 3) [Roberto Fresca, ANY] Magic Bomb (Version 1) [Roberto Fresca, ANY]
* Huge update, palette is now device (nw) Miodrag Milanovic2014-02-271-6/+6
| | | note: Aaron please give more descriptive text for release log I have no more strength :)
* Switched rgb_t to a class, replacing macros with methods. Mappings are Aaron Giles2014-02-191-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* i186: Added internal clock divider. [Curt Coder] Curt Coder2013-10-191-1/+1
|
* Copyright update. Please let me know if there's a blank and you would like ↵ Angelo Salese2013-10-151-0/+2
| | | | to fill it somehow, not going to force it for now. I've surely missed some drivers, but for now that's enough.
* i186: move 80186 peripherals into the cpu [Carl] cracyc2013-08-191-3/+9
| | | leland: finish modernizing the leland sound and use new 80186 [Carl]
* Modernized galeco, okim6376, vr0video, mb87078, snk6502 devices. [Osso] Scott Stone2013-07-251-5/+5
|
* oki tag lookup removal (nw) Miodrag Milanovic2013-04-121-10/+8
|
* changed machine().device("maincpu") with m_maincpu in mame tree part (nw) Miodrag Milanovic2013-04-101-2/+2
|
* added m_maincpu where missing in driver classes that are placed in drivers (nw) Miodrag Milanovic2013-04-101-1/+3
|
* unified formating of state class constructors, no functional change (nw) Miodrag Milanovic2013-04-101-1/+1
|
* Cleanups and version bumpmame0148u1 Miodrag Milanovic2013-02-111-29/+29
|
* New York Joker: Added inputs, outputs, button-lamps, sound, coin and Roberto Fresca2013-02-101-123/+112
| | | | | | | | | note counters, default NVRAM, and promoted to working... [Roberto Fresca] New games added or promoted from NOT_WORKING status --------------------------------------------------- New York Joker [Roberto Fresca, David Haywood, Any, The Dumping Union]
* new NOT WORKING David Haywood2013-02-021-21/+215
| | | | | New York Joker [ANY] really just needs proper inputs / outputs, but this is where it fits.
* output of new srcclean changes that are relatively small [smf] smf-2013-01-111-1/+0
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-10/+10
|
* Since nobody checks for NULLs anyway, make Aaron Giles2012-09-191-2/+2
| | | | | | | | | | | | device_memory_interface::space() assert against NULL and return a reference, and pushed references throughout all address space usage in the system. Added a has_space() method to check for those rare case when it is ambiguous. [Aaron Giles] Also reinstated the generic space and added fatal error handlers if anyone tries to actually read/write from it.
* INTERRUPT_GEN -> INTERRUPT_GEN_MEMBER (no whatsnew) Miodrag Milanovic2012-09-181-5/+6
|
* changed most of screen.machine() to machine() (no whatsnew) Miodrag Milanovic2012-09-181-2/+2
|
* Modernized screen update calls (no whatsnew) Miodrag Milanovic2012-09-171-9/+9
|
* Memory handler normalization, part 1. Aaron Giles2012-09-171-2/+2
| | | | | | | | | | | | | READ/WRITE_DEVICE*_HANDLERs are now passed an address_space &, and the 8-bit variants get a mem_mask as well. This means they are now directly compatible with the member function delegates. Added a generic address space to the driver_device that can be used when no specific address space is available. Also added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to declare device callbacks with default mem_mask parameters. [Aaron Giles]
* Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT ↵ Miodrag Milanovic2012-09-131-3/+4
| | | | changed to be members of state classes (no whatsnew)
* Clear out remaining global inlines in diexec.h. Aaron Giles2012-09-121-1/+1
|
* All driver inits are now member of state classes. Miodrag Milanovic2012-08-101-16/+16
| | | | | Added DECLARE_DRIVER_INIT macro to define it H file, and DRIVER_INIT_MEMBER for member declaration in C files Updated all drivers accordingly (no whatsnew)
* Updated GAME and GAMEL with class name per machine used, for future ↵ Miodrag Milanovic2012-08-041-12/+12
| | | | DRIVER_INIT change (no whatsnew)
* Conversion of _DEVICE_HANDLER to _MEMBER methods - part 1 (no whatsnew) Miodrag Milanovic2012-05-251-11/+19
|
* ioport.c C++ conversion. Mostly internal changes, with no Aaron Giles2012-05-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | intended differences from previous behavior. For drivers, the main change is that input_port_read() no longer exists. Instead, the port must be fetched from the appropriate device, and then read() is called. For member functions, this is actually simpler/cleaner: value = ioport("tag")->read() For legacy functions which have a driver_data state, it goes: value = state->ioport("tag")->read() For other legacy functions, they need to fetch the root device: value = machine.root_device().ioport("tag")->read() The other big change for drivers is that IPT_VBLANK is gone. Instead, it has been replaced by a device line callback on the screen device. There's a new macro PORT_VBLANK("tag") which automatically points things to the right spot. Here's a set of imperfect search & replace strings to convert the input_port_read calls and fix up IPT_VBLANK: input_port_read( *\( *)(machine\(\)) *, *([^)]+ *\)) ioport\1\3->read\(\) input_port_read( *\( *)(.*machine[()]*) *, *([^)]+ *\)) \2\.root_device\(\)\.ioport\1\3->read\(\) (state = .*driver_data[^}]+)space->machine\(\)\.root_device\(\)\. \1state-> (state = .*driver_data[^}]+)device->machine\(\)\.root_device\(\)\. \1state-> input_port_read_safe( *\( *)(machine\(\)) *, *([^,]+), *([^)]+\)) ioport\1\3->read_safe\(\4\) IPT_VBLANK( *\)) IPT_CUSTOM\1 PORT_VBLANK("screen")
* Changed device->subregion to device->memregion. Moved Aaron Giles2012-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memory_region management into the memory manager instead of directly in the machine. Hid the global region method; now all regions must be looked up relative to a device. If you're a member function, you can just use memregion("tag") directly. If you're a global function or a device referencing global regions, use machine().root_device().memregion("tag") to look up regions relative to the root. S&R to convert all references: machine([()]*)\.region machine\1\.root_device\(\).subregion Then remove redundant machine().root_device() within src/mame: ([ \t])machine\(\)\.root_device\(\)\. \1 And use state->memregion() if we have a state variable present: (state *= *[^;]+driver_data[^}]+)([^ \t]*)machine[()]*\.root_device\(\)\. \1state-> Finally some cleanup: screen.state-> state-> device->state-> state-> space->state-> state-> And a few hand-tweaks.
* Memory banks are now device-relative only. Global lookups Aaron Giles2012-04-191-3/+3
| | | | | | are private. Renamed device_t::subbank to device_t::membank and updated a few remaining users of the global lookup.
* Remove global memory banking functions in favor of referencing Aaron Giles2012-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subbanks of a device and directly acting on them. First round S&R: memory_configure_bank( *)\(( *)([^,]+), *([^,]+), * \3.root_device().subbank\1\(\2\4\2\)->configure_entries\1\(\2 memory_configure_bank_decrypted( *)\(( *)([^,]+), *([^,]+), * \3.root_device().subbank\1\(\2\4\2\)->configure_decrypted_entries\1\(\2 memory_set_bank( *)\(( *)([^,]+), *([^,]+), * \3.root_device().subbank\1\(\2\4\2\)->set_entry\1\(\2 memory_set_bankptr( *)\(( *)([^,]+), *([^,]+), * \3.root_device().subbank\1\(\2\4\2\)->set_base\1\(\2 Then convert single entries to simpler form: configure_entries( *\( *[^,]+, *)1 *, *([^,]+),[^)]+\) configure_entry\1\2\) configure_decrypted_entries( *\( *[^,]+, *)1 *, *([^,]+),[^)]+\) configure_decrypted_entry\1\2\) Remove renundant root_device lookup for methods: ([ \t])machine\(\)\.root_device\(\)\. \1 Use state-> instead of root_device lookup where available (this one must be done by hand unfortunately): ([^ \t]*)machine[()]*\.root_device\(\)\. state->
* Removed unnecessary target() calls from shared_ptr references. Aaron Giles2012-04-111-3/+3
| | | | | | | | | | | | You still need target() if you want to cast to another pointer size. This should be rare, and in fact fixing these pointed out a few cases where code was missing BYTE/WORD/DWORD_XOR_* macros. I flagged these with: // ERROR: This cast is NOT endian-safe without the use of BYTE/WORD/DWORD_XOR_* macros! For future fixing.
* Added target() on proper places (no whatsnew) Miodrag Milanovic2012-04-111-3/+3
|
* AM_BASE and AM_BASE_SIZE to AM_SHARE by request from Aaron (no whatsnew) Miodrag Milanovic2012-04-111-7/+8
|
* Moved all drivers to using the paletteram helpers defined in the Aaron Giles2012-04-051-3/+3
| | | | | | | | | | | | | | | | | | driver_device base class. The palette base is now specified via an AM_SHARE of "paletteram" or "paletteram2". The driver_device base class now finds these pointers and places them in m_generic_paletteram_8/_16/_32 and m_generic_paletteram2_8/_16/_32. Removed machine.generic.paletteram*, and machine.generic entirely. Removed AM_BASE_GENERIC/AM_SIZE_GENERIC as they don't apply anymore. Changed required_/optional_shared_ptr to support set_target with base and size for manually configuring a shared pointer, and a new allocate method for dynamically allocating (and registering the memory for save states). A few subsequent cleanups are coming related to this, but wanted to get this in before the next modern push.
* MAME going modern part 4 (no whatsnew) Miodrag Milanovic2012-04-031-91/+105
|
* Some formating cleanup (no whatsnew) Miodrag Milanovic2012-04-021-44/+44
|
* MAME going modern part 2 (no whatsnew) Miodrag Milanovic2012-04-011-44/+44
|
* MAME going modern part 1 (no whatsnew) Miodrag Milanovic2012-03-311-10/+10
| | | | - Added 4th parameter to all address maps - Added missing state classes
* Fix several rendering issues with artwork, introduced in the Aaron Giles2012-01-161-3/+3
| | | | | | | recent changes. Also, did a pass through the code to take advantage of new methods available on rectangles.