summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/astrocde.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-1814/+0
|
* astrocde.c: convert profpac & friends to bankdev (nw) Alex W. Jackson2015-08-141-64/+57
|
* astrocde.c: reduce tagmap lookups (nw) Wilbert Pol2015-08-141-10/+21
|
* change flags from GAME_ to MACHINE_ David Haywood2015-07-291-12/+12
| | | | 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.
* Fixed a number of "-Wextra -Wdouble-promotion" warnings. (nw) couriersud2015-05-181-2/+2
|
* Updated for Nicola (nw) Miodrag Milanovic2015-05-111-1/+1
|
* Added known authors to licenses tags (nw) Miodrag Milanovic2015-05-091-1/+1
|
* Added dummy license headers for MAME part (nw) Miodrag Milanovic2015-05-071-0/+2
|
* samples_device: converted to use inline config and delegates. Will probably ↵ Ivan Vangelista2014-09-041-33/+11
| | | | need clean compile. (nw)
* ay8910_device and extended family: converted to devcb2 (nw) Ivan Vangelista2014-05-061-12/+1
| | | This is easily the commit I ever did that touches the most drivers. I payed extra attention while doing it, stared at the diff really hard to find any errors and did some testing. Obviously I can't test every single game / system, so please report any regression you might find.
* z80ctc: converted to use devcb2. nw. Fabio Priuli2014-04-281-10/+2
| | | | | | | | | | Notes: - for whatever reason the tlcs_z80 internal CTC fails to recognize/find its owner tag, does anyone know how to fix this? it's probably trivial, but I need an helping hand or pve500 cannot be launched anymore... - @Haze: can you check your inder_sb.c code? your CTC interface was wrong, judging from the comments in the source (the first cb was for the interrupt, and no callback was present by default for the ZC/TO3...) and I'm not sure what the code is intended to actually do
* Moved eminline and related files into /src/osd since it's system related (nw) Miodrag Milanovic2014-04-161-3/+3
| | | | | | | | Moved delegates into /src/lib/util to enable usage of delegates in other project parts Moved mame_printf_* calls into /src/osd/osdcore.c and renamed them to osd_printf_* Changed mess.mak to display compilation of ymmu100.ppm nicely
* Made palette settings for screen explicit and mandatory for ind16 mode (nw) Miodrag Milanovic2014-03-141-0/+1
|
* MCFG_DEVICE_REMOVE("palette") replaced with proper MCFG_PALETTE_MODIFY (nw) Miodrag Milanovic2014-03-071-2/+2
|
* Huge update, palette is now device (nw) Miodrag Milanovic2014-02-271-3/+5
| | | note: Aaron please give more descriptive text for release log I have no more strength :)
* Moved gorf and wow sound handlers into the driver state. Updated some ↵ Ivan Vangelista2013-11-071-29/+26
| | | | commented code (nw)
* massrename silliness corrections Michaël Banaan Ananas2013-08-131-1/+1
|
* note from gregf Michaël Banaan Ananas2013-06-021-2/+2
|
* added ebases color overlay (same as spacezap) Michaël Banaan Ananas2013-05-311-2/+9
|
* modernised the AY8910 [smf] smf-2013-05-121-3/+3
|
* voodoo is using now device callbacks and some minor cleanups in few drivers (nw) Miodrag Milanovic2013-04-291-23/+0
|
* "samples" lookup tag removal (nw) Miodrag Milanovic2013-04-141-23/+21
|
* same for "sub" and "subcpu" (nw) Miodrag Milanovic2013-04-111-1/+1
|
* changed machine().device("maincpu") with m_maincpu in mame tree part (nw) Miodrag Milanovic2013-04-101-16/+16
|
* Modernized gomoku, astrocade, saa1099, st0016, and c140 sound devices. ↵ Andrew Gardner2013-03-011-7/+7
| | | | [Andrew Gardner]
* Removal of not needed machine().root_device() (nw) Miodrag Milanovic2013-02-131-2/+2
|
* modernized reset of pre/postload calls, just few legacy left (no whatsnew) Miodrag Milanovic2013-02-011-7/+6
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-116/+116
|
* seawolf/seawolf2 internal artwork placeholders Michaël Banaan Ananas2012-10-121-1/+2
|
* (placeholder) Michaël Banaan Ananas2012-10-071-2/+3
|
* correct title of robby Michaël Banaan Ananas2012-10-051-2/+2
|
* more by Dave Nutting Associates, thanks Al & Stiletto Michaël Banaan Ananas2012-10-051-11/+11
|
* Since nobody checks for NULLs anyway, make Aaron Giles2012-09-191-39/+39
| | | | | | | | | | | | 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.
* Modernized screen update calls (no whatsnew) Miodrag Milanovic2012-09-171-2/+2
|
* Memory handler normalization, part 2. Change legacy Aaron Giles2012-09-171-2/+2
| | | | | | | read/write handlers to take an address_space & instead of an address_space *. Also update pretty much all other functions to take a reference where appropriate. [Aaron Giles]
* Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT ↵ Miodrag Milanovic2012-09-131-4/+2
| | | | changed to be members of state classes (no whatsnew)
* Closeout on old macros. Retired cputag_set_input_line Aaron Giles2012-09-121-1/+1
| | | | | | | and cputag_set_input_line_and_vector, replacing them with machine.device("tag")->execute().set_input_line[_and_vector]. [Aaron Giles]
* All driver inits are now member of state classes. Miodrag Milanovic2012-08-101-56/+47
| | | | | 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)
* Removed NOTIMER hack from Z80 CTC interface (Star Force was Aaron Giles2012-08-081-1/+0
| | | | | | the only one using it). The first parameter of the interface struct is now gone.
* Removed legacy Z80 CTC interfaces. Aaron Giles2012-08-081-1/+1
| | | | | | Removed Star Force sound hack in favor of just driving a DAC directly with the CTC output line (MAME can handle sound frequency timers no problem).
* Updated GAME and GAMEL with class name per machine used, for future ↵ Miodrag Milanovic2012-08-041-12/+12
| | | | DRIVER_INIT change (no whatsnew)
* Fix some analog control issues due to incorrect assumption Aaron Giles2012-05-051-1/+1
| | | | | | | that scale factors were INT32's not INT64's. Also explicitly use ioport_value for lookup tables instead of UINT32.
* ioport.c C++ conversion. Mostly internal changes, with no Aaron Giles2012-05-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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->
* Remove AM_BASE in favor of AM_SHARED + required_shared_ptr. Aaron Giles2012-04-151-9/+9
| | | | | | | | This update passes validity checks but will certainly have a number of drivers failing at startup because all pointers are defaulted to required by the automated scripts used. Will fix problems once we get a regression run to find out which drivers need attention.
* Convert INPUT_CHANGED to INPUT_CHANGED_MEMBER (no whatsnew) Miodrag Milanovic2012-04-121-5/+4
| | | Also drivers/galaxian.c and video/dkong.c changes for compile
* Moved soundlatch helpers into driver.c and removed emu/audio/generic.c. Aaron Giles2012-04-091-2/+2
| | | | | | | Normalized soundlatch helper function names. Created delegates for machine/sound/video_start/reset callbacks and added necessary infrastructure to use them going forward.
* modernization of some CUSTOM_INPUT's part 3 (no whatsnew) Miodrag Milanovic2012-04-091-8/+6
|