summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/info.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-1403/+0
|
* Relaxed emu.h a bit, should make compile a bit faster (nw) Miodrag Milanovic2015-11-051-0/+1
|
* removed not needed conversions (nw) Miodrag Milanovic2015-10-271-6/+6
|
* change flags from GAME_ to MACHINE_ David Haywood2015-07-291-16/+16
| | | | 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.
* Cleanups and version bumpmame0163 Miodrag Milanovic2015-06-241-10/+10
|
* info.c: worked around missing sub-devices in -lx etabeta782015-06-141-0/+17
| | | | | | | | | | | | output [Fabio Priuli] out of whatsnew: I fear no proper and clean solution is possible as long as the driver has such a privileged role in the MAME core structure, because stuff that is not attached to a root_device (=driver) is hard to parse. Anyway, there should be no more missing roms from -lx output (until people starts adding them as sub-sub-subdevices... ;) )
* Revert "machine type attribute added in the xml" Olivier Galibert2015-05-291-10/+0
| | | | | | Too prone to abuse, we're afraid. This reverts commit 198c77327e08cb6f0dfa2183d6fa226f8908294d.
* machine type attribute added in the xml k2-git2015-05-291-0/+10
|
* Self-service (nw) Paul Priest2015-05-241-1/+1
| | | | Drivers/core where made (still) recognisable contributions as non-primary author. Any objections, feel free to revert.
* Cleanups and version bumpmame0161 Miodrag Milanovic2015-04-291-1/+1
|
* moved all to std::string (nw) Miodrag Milanovic2015-04-221-48/+48
|
* There is no implicit conversion to char* in std::string (nw) Miodrag Milanovic2015-04-121-13/+13
|
* cstr() - > c_str() as preparation for move to std::string (nw) Miodrag Milanovic2015-04-111-9/+9
|
* Remove relative folders in src (for future use) (nw) Miodrag Milanovic2015-03-051-1/+3
|
* devices with samples shall specify sampleof too. nw. Fabio Priuli2014-10-151-0/+1
|
* Fixed listxml (nw) Miodrag Milanovic2014-03-121-1/+1
|
* Moved core template container classes up from emutempl.h to coretmpl.h: Aaron Giles2014-03-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Aaron Giles] * these classes now no longer take a resource_pool; everything is managed globally -- this means that objects added to lists must be allocated with global_alloc * added new auto_pointer<> template which wraps a pointer and auto-frees it upon destruction; it also defaults to NULL so it doesn't need to be explicitly initialized * moved tagged_list template to tagmap.h Redo of the low-level memory tracking system: [Aaron Giles] * moved low-level tracking out of emu\emualloc into lib\util\corealloc so it can be shared among all components and used by core libraries * global_alloc and friends no longer use a resource pool to track allocations; turns out this was a wholly redundant system that wasted a lot of memory * removed global_resource_pool entirely * added global_free_array to delete arrays allocated with global_alloc_array * added tracking of object versus array allocation; we will now error if you use global_free on an array, or global_free_array on an object Added new utility helper const_string_pool which can be used to efficiently accumulate strings that are not intended to be modified. Used by updated makelist and software list code. [Aaron Giles] Updated png2bdc and makelist tools to not leak memory and use more modern techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles] Deprecated auto_strdup and removed all uses by way of caller-managed astrings and the software list rewrite. [Aaron Giles] Rewrote software list management: [Aaron Giles] * removed the notion of a software_list that is separate from a software_list_device; they are one and the same now * moved several functions into device_image_interface since they really didn't belong in the core software list class * lots of simplification as a result of the above changes Additional notes (no whatsnew): Moved definition of FPTR to osdcomm.h. Some changes happened in the OSD code to fix issues, especially regarding freeing arrays. SDL folks may need to fix up some of these. The following devices still are using tokens and should be modernized (I found them because they kept their token as void * and tried to delete it, which you can't): namco_52xx_device (mame/audio/namco52.c) namco_54xx_device (mame/audio/namco54.c) namco_06xx_device (mame/machine/namco06.c) namco_50xx_device (mame/machine/namco50.c) namco_51xx_device (mame/machine/namco51.c) namco_53xx_device (mame/machine/namco53.c) voodoo_device (emu/video/voodoo.c) mos6581_device (emu/sound/mos6581.c) aica_device (emu/sound/aica.c) scsp_device (emu/sound/scsp.c) dmadac_sound_device (emu/sound/dmadac.c) s3c2440_device (emu/machine/s3c2440.c) wd1770_device (emu/machine/wd17xx.c) latch8_device (emu/machine/latch8.c) duart68681_device (emu/machine/68681.c) s3c2400_device (emu/machine/s3c2400.c) s3c2410_device (emu/machine/s3c2410.c) strataflash_device (mess/machine/strata.c) hd63450_device (mess/machine/hd63450.c) tap_990_device (mess/machine/ti99/990_tap.c) omti8621_device (mess/machine/omti8621.c) vdt911_device (mess/video/911_vdt.c) apollo_graphics_15i (mess/video/apollo.c) asr733_device (mess/video/733_asr.c)
* Removed unselectable slot options (SLOT_INTERFACE_INTERNAL) from the ↵ Curt Coder2014-03-111-12/+15
| | | | -listxml output. [Curt Coder]
* Huge update, palette is now device (nw) Miodrag Milanovic2014-02-271-3/+0
| | | note: Aaron please give more descriptive text for release log I have no more strength :)
* fixed -listxml DTD (nw) Oliver Stöneberg2014-02-211-2/+2
|
* Slot options can now be configured inline without creating an array. Legacy ↵ smf-2013-12-161-10/+8
| | | | support for old configuration uses MCFG_FRAGMENT_ADD, which required changing so the current device could be updated by the fragment. [smf]
* - wboy4 documentation updates. [Irongiant] Scott Stone2013-11-041-1/+3
| | | | | | - Small fix for -listxml dumps regarding output of DIP switches. [Andreas Singer] - Atari 7800 palette value fix (nw)
* Bulk convert files that already had standard BSD license in my name Aaron Giles2013-10-161-31/+2
| | | | to new license tagged form.
* removed DISK_ISOPTIONAL macro in favor of identical ROM_ISOPTIONAL (nw) Oliver Stöneberg2013-09-241-1/+1
|
* Added info on input port and analog port definitions. mahlemiut2013-08-151-0/+25
| | | | | | | Out of whatsnew: This is to provide some definition of the structure of input ports as they are logged in INP files. Would allow external programs to determine how many input ports there are, and under which ports analog ports are located.
* ignore just samples when displaying sample device itself, since it gets ↵ Miodrag Milanovic2013-07-221-1/+4
| | | | first attached sample in xml (nw)
* do not output samples for devices,solves issues in output xml (nw) Miodrag Milanovic2013-07-221-1/+1
|
* expand listxml output with all devices having shortname (so all except cpus ↵ Miodrag Milanovic2013-06-211-2/+2
| | | | are in) and references to them (nw)
* when looking into merge sets look just root device (nw) Miodrag Milanovic2013-06-071-11/+10
|
* updated -lx to account for on-device samples (required by NES carts using ↵ Fabio Priuli2013-04-221-6/+7
| | | | | samples due to currently undumpable NEC D7755C/D7756C)
* let's add sourcefile name for devices since we have if set properly for all ↵ Miodrag Milanovic2013-03-271-0/+1
| | | | those having shortname (nw)
* optimized -listxml a bit more (nw) Oliver Stöneberg2013-03-161-17/+25
|
* optimized info_xml_creator::output_switches() (improves -listxml speed in ↵ Oliver Stöneberg2013-03-161-9/+2
| | | | DEBUG build by about 40%) (nw)
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-30/+30
|
* info.c: skip non-configurable slot options in -listxml. [Fabio Priuli] Fabio Priuli2012-12-281-0/+2
|
* Fixed for slot menus + some cleanup (nw) Miodrag Milanovic2012-06-051-2/+2
|
* Added support for fixed slots (used for MAME) and ability to create internal ↵ Miodrag Milanovic2012-05-231-1/+1
| | | | only slot options (for MESS) (no whatsnew)
* Clean-ups and version bump Miodrag Milanovic2012-05-211-7/+7
|
* info.c: added screen tags to xml output, so that it is possible to easily ↵ Fabio Priuli2012-05-171-66/+74
| | | | | | identify which screens depend on optional devices (mostly of use in MESS, for its slot options, but eventually handy for PC-based arcades too) [Fabio Priuli]
* ioport.c C++ conversion. Mostly internal changes, with no Aaron Giles2012-05-031-50/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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")
* fix for default attribute in slotoption of xml output (no whatsnew) Miodrag Milanovic2012-04-211-1/+1
|
* Clean-ups and version bumpmame0145u6 Angelo Salese2012-04-081-1/+1
|
* Fixed merge name for devices in xml output (no whatsnew) Miodrag Milanovic2012-03-301-1/+2
|
* Clean-ups and version bumpmame0145u2 Angelo Salese2012-02-261-1/+1
|
* info: made consistent the loops through subdevices. no whatsnew. Fabio Priuli2012-02-231-5/+3
|
* info.c: additional cleanup for device info output made possible by Micko's ↵ Fabio Priuli2012-02-231-32/+23
| | | | work + renamed slot "shortname" attribute to "devname" to make clear it is the name of the device to be mounted. no whatsnew.
* Fixed debug asserts (no whatsnew) Miodrag Milanovic2012-02-231-4/+3
|
* info.c - no need for description here since you can now check it in device ↵ Miodrag Milanovic2012-02-231-2/+0
| | | | according to shortname (nw)
* - removed need for *_dev.lst files [Miodrag Milanovic] Miodrag Milanovic2012-02-231-108/+23
| | | | | | - enforced short names for slot card devices - updated validation, romverify and listxml output accordingly - slotoptions now also contain shortnames so it's possible to link slot option and device
* info.c: several fixes and additions to listxml output [Fabio Priuli] Fabio Priuli2012-02-221-145/+327
| | | | | | | | | | | | | | | | | | | | | | - appended to xml info about devices which can be optionally mounted to slots - added a description attribute to slotoption to show which devices can be mounted in each slot - added to xml info of cpus/inputs/image/slots which are relative to devices (e.g. CPUs or Dipswitches in the device itself) - tags of elements directly attached to the root_device do not display anymore the root colon (slot tags were already behaving in this way); elements attached to optional devices use tags starting with colon (to be interpreted as a relative tags which gets appended to the device tag, when such a device is selected in a slot) - modified when necessary output routines to pass a root_device and a root_tag as parameters, in order to simplify output of relative devices and avoid duplicated code - updated DTD according to the new elements and attributes These changes allow frontends to know in advance how drivers can be configured through the various slot options (by matching option descriptions with device descriptions), without the need to run -lx with the various slot combinations. This is especially of use if a device adds e.g. dipswitches or image devices (like additional floppy drives or additional slot expansions), but also if one wants to know e.g. how many sound channels a soundcard would add to a pc driver, or which kind of screen parameters would be added by a specific choice of video card.