summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/devices.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/devices.lua')
0 files changed, 0 insertions, 0 deletions
/span> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loader rewrite, which is still in progress....) Replaced mamedriv.c with a new driver list mechanism that is generated by the build tools. The emulator core now expects the presence of a file called src/$(TARGET)/$(SUBTARGET).lst which is just a raw list of driver names, one per line. C and C++ comments are still permitted. This file is parsed by a new build tool makelist which extracts the driver names, sorts them, and generates a file called drivlist.c, which is consumed by the core. [Aaron Giles] Added new osdcore function osd_malloc_array() which is identical to osd_malloc() but obviously hints that the underlying allocation is for an array. Updated all callers to use the appropriate form. Modified the Windows allocator to only use guard pages for array-style allocations, allowing us to enable them once again in debug builds. [Aaron Giles] Created new static class driver_list to wrap accesses to the list of available drivers. Improved speed of driver lookups by relying on the presorting done by makelist. [Aaron Giles] Created helper class driver_enumerator as a helper for iterating through the list of drivers. This class supports basic filtering and iteration, and also serves as a temporary cache of machine_configs. [Aaron Giles] Created cli_frontend object to wrap all the CLI handling code in clifront.c. Updated/simplified all the code to take advantage of the driver_enumerator. [Aaron Giles] Created media_auditor object to wrap all the auditing functions in audit.c. Updated all users to the new interface. Note that the new auditing mechanism is slightly out of sync with the romload code in terms of finding ROMs owned by devices, so it may mis-report some issues until the new ROM loading code is in. [Aaron Giles] Added concept of a per-device searchpath. For most devices, their searchpath is just the short name of the device. For driver_devices, the searchpath is driver[;parent[;bios]]. This searchpath will eventually be used by the rom loader to find ROMs. For now it is used by the media auditor only. [Aaron Giles] Created info_xml_creator object to wrap all the info generation functions in info.c. Converted the file to C++ and cleaned up the input processing code. [Aaron Giles] (not for whatsnew ... Known issues: auditing of CHDs appears busted, and debug builds report unfreed memory if you use the built-in game picker) * new not working game Angelo Salese2011-04-121-0/+1 | | | | -------------------- Alien: The Arcade Medal Edition [Yohji, Tormod, Smitdogg, The Dumping Union] * BIG update. Aaron Giles2011-03-291-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 *) * Add hardware info for sigmab98.c PCBs, fix OKI MSM9810 clocks. Luca Elia2011-02-201-0/+1 | * Xtal for MESS Angelo Salese2011-02-171-0/+1 | * add an xtal for MESS Jonathan Gevaryahu2011-02-131-0/+1 | * Cleanups and version bump.mame0141u1 Aaron Giles2011-01-241-1/+1 | * Added xtal for MESS. (no whatsnew) Curt Coder2011-01-051-0/+1 | * Added xtal for MESS. (no whatsnew) Curt Coder2011-01-031-0/+1 | * MDRV_* -> MCFG_* Aaron Giles2010-12-312-9/+9 | | | | | There hasn't been a machine driver for many years. * Added xtal for MESS. (no whatsnew) Curt Coder2010-12-011-0/+1 | * Cleanups and version bump.mame0140 Aaron Giles2010-10-211-2/+2 | * Refactored the CDP1869 chip into a C++ device. [Curt Coder] Curt Coder2010-10-191-0/+3 | * Fix MT04065: tiny (and ldplayer) don't link. Aaron Giles2010-10-191-0/+67 | | | | | | | This needs an unfortunate hack with a dummy driver added to seed references to the devices that are only otherwise referenced by libemu.a. Also removed SOUNDS += CUSTOM since such a sound device no longer exists. * Converted render.c objects into C++ objects. Updated all callers. Aaron Giles2010-10-131-1/+1 | * Added xtal for MESS. (no whatsnew)