summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/emu.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove timer_device from emu.h and move it out of src/emu (nw) AJR2017-10-011-2/+0
|
* general cleanup: Vas Crabb2017-05-231-0/+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.
* New device interface for palettes AJR2017-04-061-0/+2
| | | | | | - Create device_palette_interface, which takes over most functionality from palette_device except for the initialization/decoding routines and RAM interface. - Update screen_device and device_gfx_interface to use a device_palette_interface object rather than a palette_device. This necessitates slight alterations to a few drivers and devices. - Modify v9938 and v9958 to use the new device_palette_interface rather than a subdevice. This entails breaking a cyclic dependency between device_video_interface and screen_device for this case.
* Refactored HTTP handling to be easier to extend and use (nw) Miodrag Milanovic2017-03-191-0/+2
|
* add logmacro.h inspired by Edstrom's log macros Vas Crabb2017-01-201-0/+1
| | | | | | | * should be #included after other headers and after optionally #defining VERBOSE * usage samples in z80scc.cpp and m68705.cpp 68705: add lots of logging to help trace issues
* Added initial HTTP/HTTPS webserver/websocket server support (nw) Miodrag Milanovic2017-01-041-0/+1
|
* Overhaul of devcb (nw) AJR2016-12-211-2/+0
| | | | | | | | | | | | | | - Allow stringing multiple callbacks together recursively. Chained callbacks will be read or written in sequence, and each can be configured with its own type and mask/shift/XOR parameters. - Chained input callbacks cannot have overlapping masks (there's no such thing as a free multiplex). Chained output callbacks have no such restriction. - Remove the constant parameter for the LOGGER callback type: it makes no sense for output, was always zero in existing usage, and is now unnecessary with callback chaining. - Change LOGGER behavior for writes to log the user-defined message only if the output as masked is nonzero. With callback chaining, this can be used to monitor when individual bits become active. - Constant read callbacks can no longer have MCFG_DEVCB_XOR or MCFG_DEVCB_INVERT specified (makes no sense in this context). - Add a MEMBANK callback type to allow output bits to be used for bank-switching. - Add ASSERTLINE and CLEARLINE callback types that raise or lower an interrupt line if the selected bit of the written value is active. These are intended for where periodic or ready-pulse signals from devices are used to trigger IRQs that the CPU program will independently acknowledge. - Add MCFG_DEVCB_BIT as shorthand for masking and shifting out an individual bit for a callback. - Removed DEVCB_LINE_DISPATCH_<n>. Where we're going, we don't need line dispatcher devices. The incompatibility of compilers with regard to post-C90 printf string formats is shockingly bad. There seems to be no easy way to format a 64-bit value and please both gcc and clang, let alone MSVC.
* coretmpl: add an associative LRU cache with map-like behaviour Vas Crabb2016-12-151-1/+0
| | | | | | | | | | | | | | selmenu: use LRU cache so icons don't all need to be reloaded on scroll uismall.bdf: set default character for missing glyphs rendfont.cpp: * encapsulate many BDF and BDC handling details * make file I/O 64-bit clean, check for allocation errors * more solid BDF parser with error messages and trace logging * fix heap smash when building bitmaps for BDF fonts * extend BDC format to support high planes and default character * render default character if glyph not found for BDF/BDC
* Added ability to use ASIO in all core MAME parts (nw) Miodrag Milanovic2016-11-071-0/+1
|
* Polymorphize input_device and input_class; move to separate source file (nw) AJR2016-10-241-0/+2
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-2/+2
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Separate natural keyboard support from ioport.cpp (nw) AJR2016-10-021-0/+2
|
* Add Lua-cleaning ability to srcclean Vas Crabb2016-08-301-1/+1
|
* dirom: device_rom_interface for sound chips with rom/memory map alternative ↵ Olivier Galibert2016-08-151-0/+2
| | | | [O. Galibert]
* Compile netlist and lua only if used (nw) Miodrag Milanovic2016-08-121-1/+0
|
* Changed how ROM_COPY and ROM_FILL are represented in tiny_rom_entry to be ↵ Nathan Woods2016-08-111-0/+1
| | | | | | more how they were in the past Turbosub had a ROM_COPY declaration with an expression ('ROM_COPY( "main_code", 0x18000 + 0x2000,...) and this simply did not work with the new model. This required changing ROM_* declarations to more resemble how they used to be and to perform the conversion on load.
* Redo of split of src/emu/softlist.[cpp|h] Nathan Woods2016-08-021-0/+2
| | | | | | | | This is a redo of the split first submitted in #137, with the following differences: * The newly refactored rom_entry data structure is used * I've kept the refactored softlist code in src/emu, in order to defer the mechanical process of moving it * I've kept includes of softlist[_dev].h out of diimage.h, so that changes to either do not trigger an emu.h recompilation * Obviously, this goes against the latest master
* Changes rom_entry from a struct to a class, storing its strings as ↵ Nathan Woods2016-08-011-0/+1
| | | | | | | std::string and separated the declaration into a new header. This should really be followed up by further changes to eliminate the usage of the weird accessor macros in favor of conventional C++ accessors
* Moved src/emu/hash.[cpp|h] into src/lib/util, and namespaced that code (and ↵ Nathan Woods2016-07-231-2/+0
| | | | hashing.[cpp|h]) into util::
* Made the way jpeglib.h is included more pretty Julian Sikorski2016-06-151-0/+1
|
* INC -> HXX makes editors and code analyzers see it as C++ (nw) Miodrag Milanovic2016-05-011-1/+1
|
* separate those libs that are different only (nw) Miodrag Milanovic2016-04-291-2/+0
|
* Move a few odds and ends out of the emu core AJR2016-04-231-4/+0
|
* Removed specific filter implementation and merged it with placed where used (nw) Miodrag Milanovic2016-04-231-2/+0
|
* more cleanup of includes (nw) Miodrag Milanovic2016-04-231-5/+0
|
* deps are fixed remove includes (nw) Miodrag Milanovic2016-04-231-3/+0
|
* move vector to video devices (nw) Miodrag Milanovic2016-04-231-2/+0
|
* mode devices to proper library (nw) Miodrag Milanovic2016-04-231-51/+0
|
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-114/+7
|
* Added file for mame depended handling of opts (nw) Miodrag Milanovic2016-04-221-0/+2
|
* Isolate CLI part (nw) Miodrag Milanovic2016-04-201-2/+0
|
* submenu: merged some options menu. (nw) dankan18902016-04-111-4/+0
|
* remove ui/ui.h dependency from emu.h (for couriersud) Vas Crabb2016-04-101-1/+0
|
* renamed memory.* to emumem.* (nw) Miodrag Milanovic2016-04-081-2/+2
|
* luaengine: add plugin options menu [Carl] cracyc2016-04-041-0/+2
|
* screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert] Olivier Galibert2016-04-041-0/+2
| | | | | | | | It's damn slow, ~50ms/frame on cdkong. Caching and/or hw accel will solve that easily. It doesn't look very good, nanosvg need better anti-aliasing. It also doesn't do texturing very well and images not at all, so some of our current svgs won't look good. But all that's fixable.
* refactor miscmenu and add adv menu (nw) Jeffrey Clark2016-04-031-0/+2
|
* fix the MSVC build (nw) Peter Ferrie2016-04-011-0/+1
| | | | | I wonder how it could have ever worked. emu lacked zlib.h reference, super80.cpp lacked UINT8 declaration.
* scrclean on lua scripts (nw) Miodrag Milanovic2016-03-291-1/+1
|
* fix include dirs (nw) Jeffrey Clark2016-03-291-0/+1
|
* Extend system library support (nw) Jeffrey Clark2016-03-281-10/+5
| | | | | | | Extend USE_SYSTEM_LIB_* to support providing the library name and include directory. To link against system specific lib names and header path: (ref #711) USE_SYSTEM_LIB_LUA=lua5.3:/usr/include/lua5.3
* Added parsing of plugin json files for machine_manager (nw) Miodrag Milanovic2016-03-241-0/+3
|
* Fixed issue with internal font (nw) Miodrag Milanovic2016-03-201-9/+3
|
* Fixed osdmini building for android and pnacl (nw) Miodrag Milanovic2016-03-081-1/+1
|
* Restore uismall.png for now so that Emscripten menus work (nw) Justin Kerk2016-03-051-1/+10
|
* * Support *n conversion in stream_format/string_format Vas Crabb2016-03-011-0/+2
| | | | | | | | | * Make stream_format return characters printed * Add iostreams with std::vector storage * Move to type-safe templates for logerror and popmessage * Remove now-unnecessary I64FMT from calls to logerror/popmessage * Put some lib/util stuff in util:: namespace * Some fixes to Japanese translation
* Added NotoSans-Bold as backup font for platforms that do not have default ↵ Miodrag Milanovic2016-02-271-2/+2
| | | | system fonts exposed (nw)
* fix building Emscripten build on Windows (nw) Miodrag Milanovic2016-02-221-1/+3
|
* Added option in the "Customize UI" menu for selecting the language. (nw) dankan18902016-02-211-0/+2
|
* placed back OPENGL check since GL is not same as GLES (nw) Miodrag Milanovic2016-02-161-1/+1
|