summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* Various improvements to image file handling: Vas Crabb2020-10-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Moved MS DIB parser out of ICO file reader and made it available for artwork and layout images. Added more efficient I/O and better error checking for JPEG file loading (MAME will no longer exit immediately on a bad JPEG file). Made caller responsible for opening files for loading images, to avoid decompressing images used in ZIP/7z artwork multiple times. Added support for JPEG and Windows DIB to picture_image_device. Added support for SVG image files in external artwork. Added support for using I/O port value for animation state and masking animation state values. Made bounds elements more flexible in layouts. Reworked headers to reduce dependencies. Updated layout file format documentation.
* util: re-implement SHA-1 and get rid of the two third-party implementations (nw) Vas Crabb2020-04-131-3/+0
|
* pre-fill things allocated with operator new with 0xcd in debug builds (value ↵ Vas Crabb2019-11-251-0/+1
| | | | can be changed by setting global g_mame_new_prefill_byte with a debugger) - this is gonna hurt performance, but it will help catch issues exposed when we remove pre-clearing before constructing devices
* dvdisasm: Overhaul [O. Galibert] Olivier Galibert2017-11-261-0/+2
| | | | | | | | Disassemblers are now independant classes. Not only the code is cleaner, but unidasm has access to all the cpu cores again. The interface to the disassembly method has changed from byte buffers to objects that give a result to read methods. This also adds support for lfsr and/or paged PCs.
* Lua scripts cleanup. dankan18902017-05-141-2/+1
|
* Fixed building using system utf8proc Julian Sikorski2017-01-261-0/+1
|
* Added initial HTTP/HTTPS webserver/websocket server support (nw) Miodrag Milanovic2017-01-041-0/+13
|
* As promised, removing this part of code since it is used for compilers ↵ Miodrag Milanovic2016-11-231-32/+0
| | | | check, no need for this to be in release (nw)
* Added basic HTTP server, not active yet, based on ASIO example with small ↵ Miodrag Milanovic2016-11-071-0/+32
| | | | refactoring included (nw)
* While I'm causing full recompiles all the time, reduce necessary number of ↵ Vas Crabb2016-08-271-0/+2
| | | | instantiations of parts of string formatting engine
* made proper formats compiled only if needed (nw) Miodrag Milanovic2016-08-121-333/+0
|
* Compile netlist and lua only if used (nw) Miodrag Milanovic2016-08-121-1/+2
|
* Removed src/lib/util/cstrpool.[cpp|h]; it is no longer used Nathan Woods2016-08-051-2/+0
|
* Moved src/emu/hash.[cpp|h] into src/lib/util, and namespaced that code (and ↵ Nathan Woods2016-07-231-0/+2
| | | | hashing.[cpp|h]) into util::
* renamed bbc_dsk to acorn_dsk Nigel Barnes2016-07-161-2/+2
| | | | | | | - split ssd/dsd formats - added opus ddos format - split adfs into oldmap and newmap formats for archimedes - logging
* Introduced src/lib/util/timeconv.[c|h], moved code from un7z.cpp into it, ↵ Nathan Woods2016-06-261-0/+2
| | | | and implemented win_time_point_from_filetime() in terms of it
* remove all usages of tagmap Miodrag Milanovic2016-06-181-1/+0
|
* e01: added acorn filestore floppy format and softlist Nigel Barnes2016-06-051-0/+2
|
* Move a few odds and ends out of the emu core AJR2016-04-231-0/+2
|
* screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert] Olivier Galibert2016-04-041-0/+1
| | | | | | | | 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.
* fix include dirs (nw) Jeffrey Clark2016-03-291-0/+1
|
* Extend system library support (nw) Jeffrey Clark2016-03-281-16/+3
| | | | | | | 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
* * 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
* removed corealloc.cpp file from build (nw) Miodrag Milanovic2016-01-081-1/+0
|
* tagged_list without tagmap_t (nw) Miodrag Milanovic2015-12-111-1/+0
|
* Added addprojectflags function and added -Wsuggest-override for all that are ↵ Miodrag Milanovic2015-12-061-0/+4
| | | | | | not 3rdparty projects. It is place where all additional checks we should put
* bbc: preliminary support for FSD format. Nigel Barnes2015-11-151-0/+2
|
* Added info header at the top of each .lua file (nw) Scott Stone2015-11-141-0/+8
|
* move formats to proper place (nw) Miodrag Milanovic2015-11-121-0/+2
|
* Remove not longer needed ForceCpp flag (nw) Miodrag Milanovic2015-11-081-5/+0
|
* update build scripts for rename c - > cpp (nw) Miodrag Milanovic2015-11-081-183/+183
|
* i8271: modernize [Carl] cracyc2015-09-281-0/+2
|
* reorganized scripts according to new structure (nw) Miodrag Milanovic2015-09-131-0/+3
|
* mfmhd: Introduced format definition, now generally available. Michael Zapf2015-08-021-0/+2
|
* guab: Updated driver to use the standard wd floppy controller. Dirk Best2015-07-091-0/+2
| | | | | | | This also means that it now uses the software list system instead of loading the floppy disk image into a memory region. To run the driver use: "mame guab -flop guab3" now. You may also just start the driver, then choose a floppy disk image from the builtin file manager.
* no need for subdir for these projects, those are same for all mame builds (nw) Miodrag Milanovic2015-06-221-2/+0
|
* move some legacy formats over to imgtool since it's now the only user Dirk Best2015-06-101-4/+0
|
* vtech1_dsk: remove, no longer used Dirk Best2015-06-081-2/+0
|
* atarist_dsk: remove, no longer used Dirk Best2015-06-081-2/+0
|
* Added the ability to use system flac, jpeg, lua, sqlite3, portmidi and zlib ↵ Julian Sikorski2015-06-061-2/+11
| | | | based on wallyweek's work
* thompson: updated to use the new wd fdc. same deal with as bbc: drives 0 Dirk Best2015-06-051-0/+2
| | | | | and 1 are used for the controller with the wd, other legacy drives for other controllers (needs slotification).
* coco: updated to use the new wd fdc Dirk Best2015-06-041-0/+2
|
* trs80: updated to use the new wd fdc Dirk Best2015-06-041-2/+2
|
* vector06: updated to use the new wd fdc. system appears to be broken but Dirk Best2015-06-021-0/+2
| | | | loads some sectors from disk.
* hec2mdhrx: updated to use the new wd fdc. Dirk Best2015-06-021-0/+2
|
* mz2000: updated to use new wd fdc. fix softlist to use the correct Dirk Best2015-06-011-2/+2
| | | | interface. change x1_dsk to 2d_dsk and use it for the mz2000 as well.
* pk8020: updated to use the new wd fdc. fixes regression booting cp/m. Dirk Best2015-05-311-0/+2
|
* Allow compiling with shared libraries [O. Galibert] Olivier Galibert2015-05-311-2/+4
| | | | | | | | | | Put SHLIB=1 in the main makefile, or on the command line. The idea is to get a *way* faster link with symbols. It works at least on linux, with one annoying caveat: you have to be in the build/projects/sdl/mame/gmake-linux directory to start mame afterwards. We're going to move some things around to be able to use LD_LIBRARY_PATH or have it start as-is from the root.
* x1/x1twin: updated to use the new wd fdc. bonus: formatting disks now Dirk Best2015-05-311-0/+2
| | | | works in hubasic.
* dgnalpha: updated to use the new wd fdc Dirk Best2015-05-301-0/+2
|