summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules
Commit message (Collapse)AuthorAgeFilesLines
* stupid API, I'll fix this one day (nw) Vas Crabb2017-07-231-1/+1
|
* srcclean (nw) Vas Crabb2017-07-231-1/+1
|
* cocoa debugger: save/restore console split positions Vas Crabb2017-07-213-2/+25
|
* Add a method for copying part of an XML tree into another tree and use it to ↵ Vas Crabb2017-07-211-5/+21
| | | | fix Cocoa debugger fatal error
* * Make XML file a class of its own managed with smart poitners Vas Crabb2017-07-213-7/+24
| | | | * Save/restore a little more of Cocoa debugger state
* * Save/restore more Cocoa debugger state Vas Crabb2017-07-2110-9/+111
| | | | | | * Fix some Cocoa debugger desync issues - Scroll to selection on gaining focus by keyboard (e.g. tab) only - Fixes jump on clicking a memory or disasm view that you've scrolled
* Added basic support for saving/restoring Cocoa debugger window state, ↵ Vas Crabb2017-07-2019-103/+413
| | | | compatible with Qt debugger where possible
* never hurts to srcclean (nw) Vas Crabb2017-07-091-39/+39
|
* remove unnecessary verbosity (nw) arbee2017-07-041-3/+2
|
* output: Fleshed out network output provider so it has the same capability as ↵ arbee2017-07-041-6/+69
| | | | | | | | | | | | legacy Win32. Clients: - Connect to TCP port 8000 - Messages will be of the form "verb = value\1"; if your client is busy when MAME is spamming, you may get multiple messages glued together by \1 separators. (\1 was chosen because it's neutral on Win32/Mac/Linux). - You will get a "hello = 1" message upon connection to MAME, and a "mamerun = 0" message when MAME shuts down. - You may send "send_id = n" to MAME to get IDs where n=0 means ROM set name of current game, 1-? = output node names - MAME will reply "req_id = string\1"; this is currently the only case where a string will be returned instead of an integer value. - A working example POSIX client will be released soon.
* Misc fixes (nw) Olivier Galibert2017-07-031-1/+1
|
* dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-032-2/+2
|
* Merge pull request #2409 from ↵ R. Belmont2017-06-251-0/+1
|\ | | | | | | | | 057a3dd61f99517a3afea0051a49cb27994f94d/sdl-callback-fix Fix sound_sdl::sdl_callback, fill buffer with silence when underflow.
| * Fix sound_sdl::sdl_callback, fill buffer with silence when underflow. 057a3dd61f99517a3afea0051a49cb27994f94d2017-06-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The problem is most noticeable when you are saving state, and the save takes a relatively long time, short period of audio gets played repeatedly, which is usually unpleasant. I found out it's caused by sdl_sound::sdl_callback not fill the audio buffer with silence when underflow occurs. According to https://wiki.libsdl.org/SDL_AudioSpec, if there's nothing to play, the callback should fill the buffer with silence. I tested this change and the problem is gone.
* | Merge branch 'release0187' Vas Crabb2017-06-251-1/+1
|\ \ | | | | | | | | | | | | Conflicts: src/mame/drivers/accomm.cpp
| * | srcclean (nw) Vas Crabb2017-06-251-1/+1
| | |
* | | Overhaul to how MAME handles options, take two (#2341) npwoods2017-06-252-2/+1
|/ /
* | Changed a few 'const char *' ==> 'const std::string &' in the MAME debugger ↵ npwoods2017-06-2411-13/+13
| | | | | | | | (#2170)
* | (nw)Windows debugger: removed "Mount Item" for now due to bugs, also removed ↵ Robbbert2017-06-241-2/+10
| | | | | | | | internal media slots from images menu.
* | -bgfx: Fixed xBR-lv2-multipass shader. [Ryan Holtz] MooglyGuy2017-06-112-88/+31
| |
* | -bgfx: Fixed the following xBR shaders: xBR-lv2-fast, xBR-lv2-noblend, ↵ MooglyGuy2017-06-107-426/+293
| | | | | | | | xBR-lv2, xBR-lv3-noblend, and xBR-lv3. [Ryan Holtz]
* | Windows debugger: image menu: Mount File/Create default to swpath instead of ↵ Robbbert2017-06-011-3/+39
| | | | | | | | randomness.
* | Windows debugger: image menu: added ability to load software-list items. Robbbert2017-06-012-3/+158
| |
* | scoped enum for Windows (nw) Vas Crabb2017-05-231-1/+1
| |
* | general cleanup: Vas Crabb2017-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | * move rarely-used output and pty interfaces out of emu.h * consolidate and de-duplicate forward declarations, also remove some obsolete ones * clean up more #include guard macros * scope down a few more things (nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h - this will make it far easier to keep them in sync with declarations than having them scattered through all the other files.
* | Fixed HQx shaders with BGFX OpenGL backend. Fixes for more shaders seem to ↵ MooglyGuy2017-05-183-30/+30
| | | | | | | | be a bit more involved. Will have proper commit message later. (nw)
* | Move static data out of devices into the device types. This is a ↵ Vas Crabb2017-05-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | significant change, so please pay attention. The core changes are: * Short name, full name and source file are no longer members of device_t, they are part of the device type * MACHINE_COFIG_START no longer needs a driver class * MACHINE_CONFIG_DERIVED_CLASS is no longer necessary * Specify the state class you want in the GAME/COMP/CONS line * The compiler will work out the base class where the driver init member is declared * There is one static device type object per driver rather than one per machine configuration Use DECLARE_DEVICE_TYPE or DECLARE_DEVICE_TYPE_NS to declare device type. * DECLARE_DEVICE_TYPE forward-declares teh device type and class, and declares extern object finders. * DECLARE_DEVICE_TYPE_NS is for devices classes in namespaces - it doesn't forward-declare the device type. Use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_NS to define device types. * These macros declare storage for the static data, and instantiate the device type and device finder templates. The rest of the changes are mostly just moving stuff out of headers that shouldn't be there, renaming stuff for consistency, and scoping stuff down where appropriate. Things I've actually messed with substantially: * More descriptive names for a lot of devices * Untangled the fantasy sound from the driver state, which necessitates breaking up sound/flip writes * Changed DECO BSMT2000 ready callback into a device delegate * Untangled Microprose 3D noise from driver state * Used object finders for CoCo multipak, KC85 D002, and Irem sound subdevices * Started to get TI-99 stuff out of the TI-990 directory and arrange bus devices properly * Started to break out common parts of Samsung ARM SoC devices * Turned some of FM, SID, SCSP DSP, EPIC12 and Voodoo cores into something resmbling C++ * Tried to make Z180 table allocation/setup a bit safer * Converted generic keyboard/terminal to not use WRITE8 - space/offset aren't relevant * Dynamically allocate generic terminal buffer so derived devices (e.g. teleprinter) can specify size * Imporved encapsulation of Z80DART channels * Refactored the SPC7110 bit table generator loop to make it more readable * Added wrappers for SNES PPU operations so members can be made protected * Factored out some boilerplate for YM chips with PSG * toaplan2 gfx * stic/intv resolution * Video System video * Out Run/Y-board sprite alignment * GIC video hookup * Amstrad CPC ROM box members * IQ151 ROM cart region * MSX cart IRQ callback resolution time * SMS passthrough control devices starting subslots I've smoke-tested several drivers, but I've probably missed something. Things I've missed will likely blow up spectacularly with failure to bind errors and the like. Let me know if there's more subtle breakage (could have happened in FM or Voodoo). And can everyone please, please try to keep stuff clean. In particular, please stop polluting the global namespace. Keep things out of headers that don't need to be there, and use things that can be scoped down rather than macros. It feels like an uphill battle trying to get this stuff under control while more of it's added.
* | Revert "Overhaul to how MAME handles options (#2260)" Vas Crabb2017-05-072-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 536990e77b49ccc50ef275bfbf1018cc29c16154. Conflicts: src/frontend/mame/mame.cpp Sorry, but this change was half-baked. It breaks a lot of existing functionality and clearly hasn't been tested in more than a tiny subset of use cases. Please play this work back onto your own branch, and test it before submitting another PR.
* | Overhaul to how MAME handles options (#2260) npwoods2017-05-052-2/+1
|/ | | | | | | | | | | | This is an overhaul to how MAME handles options to provide a better foundation for what MAME is already doing in practice. Previously, core_options was designed to provide an input/output facility for reading options from the command line and INI files. However, the current needs (image/slot/get_default_card_software calculus and MewUI) go way beyond that. Broadly, this PR makes the following changes: * core_options now has an extensibility mechanism, so one can register options that behave dramatically differently * With that foundation, emu_options now encapsulates all of the funky image/slot/get_default_card_software calculus that were previously handled by static methods in mameopts.cpp. Changes to emu_options should not automatically cascade in such a way so that it stays in a consistent state * emu_options no longer provides direct access to the slot_options/image_options maps; there are simpler API functions that control these capabilities * Many core_options functions that expose internal data structures (e.g. - priority) that were only really needed because of previous (now obsolete) techniques have been removed. * core_options is now exception based (rather than dumping text to an std::string). The burden is on the caller to catch these, and discern between warnings and errors as needed. Obviously this is a risky change; that's why this is being submitted at the start of the dev cycle.
* do variable substitution in bgfx_path #2201 Vas Crabb2017-04-233-12/+21
|
* srcclean (nw) Vas Crabb2017-04-231-1/+1
|
* Compile testing anybody? (nw) Olivier Galibert2017-02-271-4/+2
|
* Some reports of garbage in console with DInput controllers. Brad Hughes2017-02-271-2/+7
| | | | Change to snprintf with assert since apparently snprintf fixes the reported problem.
* Self-registering devices prep: Vas Crabb2017-02-271-0/+3
| | | | | | | | | | | | | | * Make device_creator a variable template and get rid of the ampersands * Remove screen.h and speaker.h from emu.h and add where necessary * Centralise instantiations of screen and speaker finder templates * Add/standardise #include guards in many hearers * Remove many redundant #includes * Order #includesr to help catch headers that can't be #included alone (nw) This changes #include order to be prefix, unit header if applicable then other stuff roughly in order from most dependent to least dependent library. This helps catch headers that don't #include things that they use.
* Cleanup, we already have NOMINMAX now in scripts (nw) Miodrag Milanovic2017-02-114-8/+0
|
* Fix OS X build (nw) AJR2017-02-1113-0/+13
|
* fix windows compile (nw) Miodrag Milanovic2017-02-1118-1/+18
|
* Remove emu.h from headers (nw) Olivier Galibert2017-02-1149-29/+20
| | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* Fix issues on 32-bit builds and clamp latency intealls2017-01-301-3/+13
|
* Fixed building using system portaudio Julian Sikorski2017-01-261-1/+1
|
* Updates "2016" strings to "2017 where relevant. Stiletto2017-01-241-1/+1
| | | Updates "2016" strings to "2017 where relevant.
* srcclean (nw) Vas Crabb2017-01-221-2/+2
|
* rename variables to maintain consistent with coreaudio/sdl etc intealls2017-01-191-24/+24
|
* fix up initialization intealls2017-01-191-1/+2
|
* Simplify the audio buffer and fix a wrap-around issue intealls2017-01-181-16/+12
|
* fix allowed latency range intealls2017-01-171-1/+1
|
* OS X Cocoa debugger: Improved view scroll behavior. [Curt Coder] Curt Coder2017-01-177-0/+10
|
* OS X Cocoa debugger: Autoscroll log window. [Curt Coder] Curt Coder2017-01-172-2/+2
|
* fix indentation, leading spaces to tabs intealls2017-01-151-315/+315
|
* some osd_printf_verbose calls should be to osd_printf_error intealls2017-01-141-4/+4
|