summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* util: Further API cleanups: (#8661) Vas Crabb2021-10-056-88/+129
| | | | | * Turned `core_file` into an implementation of `random_read_write`. * Turned PNG errors into a standard error category. * Added a helper for generating what look like derived classes on-the-fly.
* New clones marked as NOT_WORKING AJR2021-09-251-0/+1
| | | | | | | | -------------------------------- TX-0 upgraded system (8 kWords of RAM, old order code) * tx0_64kw: Swap LR and MBR when MLR and LMB are specified together * tx0_8kw: Recognize a few more composite OPRs in disassembly
* Convert JED, PLA and JEDBIN parsers to (mostly) use ioprocs instead of raw ↵ AJR2021-09-151-78/+31
| | | | memory interfaces
* imgtool/library.h: Supply some missing #includes AJR2021-09-111-0/+4
|
* Formats-related refactoring AJR2021-09-1148-102/+200
| | | | | | - Remove opresolv.h from emu.h and some other base headers - Split legacy floppy image class into a separate file - Clean up a lot of #includes in src/lib and src/tools/imgtool
* -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The UI controls are described as zoom in/out, but they had the opposite effect on the palette and tile viewers. That has been changed to make them consistent with the tilemap viewer. * Made the default zoom key not act as a toggle. People are familiar with the function of Ctrl+0/=/- in web browsers, so making them behave similarly in MAME should make it more approachable. Also added the default zoom key to the relevant documentation page. * Implemented the default zoom key for the palette and tile viewers. * In the tilemap viewer, if the view is in default expand to fit mode, zoom in/out starting from the actual zoom ratio. Once again, this behaves more like the zoom controls in a web browser displaying an image so it should be more intuitive. * Made more messages from the tilemap viewer localisable. -util/zippath.cpp: Fixed MT08074. * There were multiple issues at play here. After #8443 was applied, is_root was simply never returning true on Windows, as OSD_WINDOWS isn't actually defined outside libosd and libocore. This caused phantom parent items to appear in disk roots on Windows, but it meant that the check in zippath_resolve would always fail so the trailing backslash would be trimmed. Fixing the macro test in is_root meant the trailing backslash from C:\ would no longer be trimmed, which caused the stat in zippath_resolve to fail. -bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost. -Reduced tag map lookups in several drivers and devices. -util/coretmpl.h: Removed an overload of bitswap that can be avoided using if constexpr. -Added doxygen comments to some classes, and fixed several doxygen warnings. -util, osd: Test for _WIN32 rather than WIN32. * In C++17 mode, WIN32 is no longer a predefined macro, although various things in 3rdparty define it to maintain legacy support. We're better off moving forward anyway for when WIN32 disappears entirely. (WIN32 is not a reserved name, while _WIN32 is, starting with an underscore follwed by an uppercase letter.)
* unidasm: Add disassembler for DEC VAX architecture AJR2021-09-031-0/+2
|
* Move endianness type into lib/util header AJR2021-08-311-2/+4
|
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-2224-1029/+997
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* srcclean: Added JSON cleaning support, and some cleanup. Vas Crabb2021-08-201-2/+302
| | | | | | | | | | Made pbobble parent of bublbust, as it seems to be more widespread and more complete. Also fixed some ROM labels for bublbust. Made tbyahhoo parent of mtwinbee as the latter has substantial content removed rather than being localised, making it less complete. Applied srcclean to JSON files in bgfx subtree.
* chdman: add a few more hard disk templates (#8352) Davide Cavalca2021-07-301-5/+13
|
* f2mc16: Rewrite disassembler AJR2021-07-211-1/+1
| | | | - Fix bug in CPU core advancing PC by one too many bytes when executing ADDL A, RLn
* srcclean in preparation for release Vas Crabb2021-06-273-16/+16
|
* -util: Retire legacy object pool, removing vestigial references. Vas Crabb2021-06-241-1/+1
| | | | | | | Thanks to AJR, Ivan Vangelista and Aaron Giles for helping make this possible. Also fixed debug build of imgtool.
* tools/imgtool: Removed legacy object pool usage. (#8215) Aaron Giles2021-06-247-159/+73
|
* Added helpers for 64-bit count leading zeroes/ones. Vas Crabb2021-06-131-2/+2
|
* Better fix for vt_dsk.h header name clash AJR2021-05-263-10/+10
|
* formats/vt_dsk.cpp: Fix clang error: unused variable 'floppyoptions_vz' ↵ AJR2021-05-261-1/+1
| | | | [-Werror,-Wunused-const-variable]
* reorganize the floptool code, add some write support Olivier Galibert2021-05-243-702/+853
|
* srcclean for release Vas Crabb2021-05-231-3/+3
|
* floptool - format/filesystem errors were printing the wrong argument (#8088) ksherlock2021-05-211-4/+4
|
* unidasm: Add CPU16 disassembler AJR2021-05-211-0/+2
|
* pdp8: Rewrite disassembler; add alternate disassembly for HD-6120 AJR2021-05-191-58/+122
| | | | * unidasm: Add option to use octal instead of hexadecimal for output
* jasmin: Support write Olivier Galibert2021-05-161-53/+276
|
* prodos: Add file and resource reading Olivier Galibert2021-05-111-47/+140
|
* prodos: Start of read support Olivier Galibert2021-05-021-75/+124
|
* fs: Add full jasmin read support Olivier Galibert2021-04-301-3/+205
|
* floptool.cpp: Be stricter about types. Vas Crabb2021-04-301-4/+4
|
* floppy: first steps on metadata, and hopefully make gcc happier on enumerate Olivier Galibert2021-04-281-6/+85
|
* floppy: start block-devicing fielsystem support Olivier Galibert2021-04-281-14/+37
|
* unidasm: Add preliminary MN1860 disassembler (still missing a few opcodes ↵ AJR2021-04-081-0/+1
| | | | due to lack of documentation)
* Restore legacy pc_dsk floppy support for imgtool only AJR2021-03-293-2/+161
|
* srcclean in preparation for release Vas Crabb2021-03-281-3/+3
|
* pps41: added mm78 disasm and mm77/mm78 skeleton device hap2021-03-081-0/+1
|
* Try to fix osx compile Olivier Galibert2021-03-051-2/+2
|
* floppy: Beginning of the support for preformatted floppy images. Olivier Galibert2021-03-051-2/+232
| | | | | | What's missing: - parameters (like the disk name when it exists) - possibly a cleanup of ram_open and friends (but not sure of the appropriate direction in which to go)
* formats: Create mame_formats_full_list which gives access to all the ↵ Olivier Galibert2021-03-041-113/+51
| | | | supported formats, make floptool use it. Castool should use it too probably, but I don't want to touch it.
* imgtool: Neutralize the link error Olivier Galibert2021-03-021-1/+1
|
* New working machines AJR2021-02-271-1/+3
| | | | | -------------------- Mark 1 FORTH Computer [AJR]
* added MM76 disassembler and preliminary PPS-4/1 MCU core [hap] hap2021-02-261-0/+2
| | | | | | New machines marked as NOT_WORKING ---------------------------------- Electronic Master Mind (Invicta) [hap, Sean Riddle]
* added MM5799 MCU emulation [hap] hap2021-02-141-0/+2
| | | | | | | | | | | New working machines -------------------- Basketball (Mattel) [hap, Sean Riddle] QuizKid Speller [hap, Sean Riddle] New working clones ------------------ QuizKid Racer (MM5799 version) [hap, Sean Riddle]
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-1424-413/+407
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* ap_dsk35: make .2MG its own separate format handler [R. Belmont] arbee2021-02-051-0/+1
|
* unidasm: Fix build on gcc AJR2021-02-031-0/+4
|
* Added Apple 2 disk image format: .nib (read-only support) (#7725) leesaudan22021-01-301-0/+1
| | | | This format was not supported by the new floppy subsystem. This commit provides read-only support of .nib files.
* unidasm: Add disassemblers for NEC/Renesas V850 family AJR2021-01-301-0/+4
|
* Update "2020" text to "2021" (#7713) Stiletto2021-01-281-1/+1
| | | Update "2020" text to "2021".
* flopimg: Change the extracted bitstreams into vector<bool> Olivier Galibert2021-01-221-0/+1
| | | | | | | flopimg: Change the extracted sectors into vector<vector<uint8_t>> flopimg: Add a Mac sector extraction apple 3.5 gcr: Generalize track creation/extraction apple 3.5 gcr: Add a pure sector format
* -osd/windows: Minimise full-screen windows on losing focus (#2997). Vas Crabb2021-01-211-5/+6
| | | | | | | | -osd/modules/osdwindow.cpp: Clean up window title formatting. * Show data type model in window title. * Moved window title formatting to a single place. -tools/chdman.cpp: Removed some unnecessary .c_str() calls.
* Much more core std::string_view modernization AJR2021-01-205-17/+14
| | | | | | | | | | | | | | | - Remove corestr.h from emu.h; update a few source files to not use it at all - Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type - Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string - Remove the string-modifying version of zippath_parent - Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char * - Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only - Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this) - Change output_manager to use std::string_view for output name arguments - Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now) - Change miscellaneous other functions to accept std::string_view arguments - Remove a few string accessor macros from romload.h - Remove many unnecessary c_str() calls from logging/error messages