summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a few more class memory access warnings. Vas Crabb10 days1-6/+11
|
* tools/chdman.cpp: Added support for extracting cue/bin GD-ROM images and ↵ 9871238791132024-03-311-134/+247
| | | | | | producing one binary file per track. (#12191) * Use --splitbin/-sb option for extractcd to produce one binary file per track. * When producing one binary file per track, the binary file name must contain a %t format conversion for the track number.
* palm: new cpu device and disassembler Patrick Mackinlay2024-03-271-0/+2
|
* cpu/z80/r800dasm.cpp: Add disassembler for ASCII R800. (#12116) wilbertpol2024-03-101-0/+2
|
* cpu/g65816: Don't expose a pile of macros to downstream users. Vas Crabb2024-03-081-1/+0
|
* util/cdrom.cpp: Refactored parse_cue and parse_gdicue (should fix GitHub ↵ 9871238791132024-03-071-5/+33
| | | | | | | | | | #12081). (#12087) This should greatly improve data integrity when creating and extracting GD-ROM images. * util/cdrom.cpp: Refactored parse_cue to handle GD-ROMs. * util/cdrom.cpp: Don't discard any data from GD-ROM cue/bin input including pre-gap data. * tools/chdman.cpp: Fixed splitframes handling. * tools/chdman.cpp: Added warning when extracting GD-ROM CHDs to cue/bin format.
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-256-38/+56
| | | | | emu/diimage.h: Removed fread overloads that allocate memory for output. util/core_file.cpp: Changed output size of load to size_t.
* image_handler.cpp: Floppy fixes AJR2024-02-151-3/+14
| | | | | | | - Refilter list of specific floppy formats using the known form factor and variant before trying to mount a filesystem on an image - Sort identify results by decreasing score (code already expects the best format to be first) * formats/ap_dsk35.cpp: Remove temporary hack
* unidasm: Add p8xc552 and p8xc562 types AJR2024-02-131-0/+2
|
* ns32k: housekeeping Patrick Mackinlay2024-02-111-1/+1
|
* formats/fs_fat.cpp: Various fixes AJR2024-02-101-1/+1
| | | | | | | - Get the volume label from the root directory, rather than from the extended BPB (which is less reliable) - Ignore long file name entries for now * floptool: Add new line to error message report
* tools/chdman.cpp: Fixed bogus uninitialised local warning. Vas Crabb2024-02-101-1/+1
| | | | | It would never use template_id uninitialised because the same condition applied for assigning it and using it, but compilers are dumb.
* tools/chdman.cpp: Helps to git add everything (fixes variable scoping issue). Vas Crabb2024-02-101-7/+8
|
* tools/chdman.cpp: Fixed numerous issues, including: Vas Crabb2024-02-101-528/+504
| | | | | | | | | | | | | | | | | | | | | | | | Support input start/size options for createdvd. Fixed not reporting an error on unrecognised command line options. Fixed --fix/-f option for verify command not working. Report an error when conflicting options are supplied (e.g. hard disk template and C/H/S geometry, or input start offset in both bytes and hunks). Previously the results would be unpredictable. Detect more invalid combinations of options, and detect when output unit size or hunk size doesn't match parent. Changed order of processing options for createhd so using a template cannot not inadvertently result in an invalid combination of sector size and hunk size. Don't require an explicit unit size for createraw if an output parent CHD file is supplied. Fixed an object leak in createcd.
* chdman: Fixed a couple of issues and added preliminary web docs. Vas Crabb2024-02-051-3/+7
| | | | | | | | | | | | | tools/chdman.cpp: Added --hunksize/-hs option for createdvd command and default to 4K hunks (2 sectors, same size as hard disk hunks). Also removed --outputbin/-ob option from extractdvd command - it did nothing as it's CD-specific. docs: Added preliminary chdman documentation. Most common options have at least basic descriptions, supported options are listed for all commands, and supported compression algorithms are described. docs: Cleaned up heading levels in tools section.
* cpu/c33, tools/unidasm.cpp: Added disassembler for Epson C33 ADV Core. Vas Crabb2024-01-211-0/+2
|
* imgtool/modules/vzdos.cpp: Use util::sum16_creator AJR2024-01-111-14/+3
|
* mattel/aquarius.cpp: Support pasting Arabic text for aquarius_ar in Arabic mode. Vas Crabb2024-01-111-0/+1
|
* unidasm: Allow -count to be specified in hexadecimal or octal. (#11912) invertego2024-01-071-29/+21
|
* Holtek HT1130 CPU core, and preliminary driver for a brick game using it ↵ mamehaze2023-12-261-0/+2
| | | | | | | (#11872) new machines marked as NOT WORKING -------------------------- Brick Game 96 in 1 (E-23 Plus Mark II) [azya52, David Haywood]
* unidasm: Add disassembler for Tensilica Xtensa architecture AJR2023-11-221-0/+2
|
* evolution: First stab at understanding the cpu Olivier Galibert2023-10-311-0/+2
|
* imgtool: check for unrecognized options (#11671) Lubomir Rintel2023-10-291-0/+3
|
* imgtool/bml3: fix a crash when format doesn't implement ↵ Lubomir Rintel2023-10-291-1/+4
| | | | get_sectors_per_track() (#11673)
* Revert "chd.cpp, chdcodec.cpp: Minor refactoring" Vas Crabb2023-10-271-6/+2
| | | | This reverts commit 901a68e2e0bb0d9178ffdb59e128718c1495250f.
* chd.cpp, chdcodec.cpp: Minor refactoring AJR2023-10-221-2/+6
| | | | | | | | | - Return std::error_condition from set_raw_sha1 and set_parent_sha1 instead of throwing exceptions - Fix a few cases where error codes could be swallowed - Catch exceptions in is_XXX predicates - Add const qualifier to SHA-1 extraction methods - Add noexcept qualifier to a few internal functions - Clean up various comments
* Floppy format API refinements AJR2023-10-083-36/+36
| | | | | - Add noexcept to format information overrides and several simple floppy_image accessors. - Be more const-correct and use references instead of raw pointers wherever applicable. In particular, floppy_image_device::load and floppy_image_device::save now take a reference to floppy_image rather than a pointer, const-qualified in the latter case.
* Miscellaneous change roll-up: Vas Crabb2023-09-293-32/+28
| | | | | | | | | | | | | | | | | | | | | | | | render/drawbgfx.cpp: Return an error if Wayland EGL surface can't be created for additional windows. emu/emucore.h: Added explicitly defaulted copy and move constructors for emu_fatalerror. Fixed apparent misunderstanding of const. Returning const value types and casting to const value types is pointless outside very narrow use cases. Putting const value type parameters in interfaces just makes trouble. cpu/adsp2100: Use count_leading_ones_32 where it's simple rather than inverting and counting leading zeroes. util/multibyte.h: Don't pollute global namespace, constexpr implies inline, make narrowing casts explicit. imagedev/simh_tape_image.h: inline is implied for member functions with bodies supplied at declaration. Tidied up some ugly casts in various places.
* Filesystem code refactoring (#11570) ajrhacker2023-09-272-0/+3
| | | | - Separate fs::block_t and fs::filesystem_t to a new source file and header - Remove inclusion of flopimg.h from fsmgr.h
* chdman.cpp, imgtool/modules: Use multibyte.h functions AJR2023-09-245-83/+39
|
* aviio.cpp: Massive code cleanup AJR2023-09-171-2/+2
| | | | | | - Use multibyte.h functions and std::swap - Turn most macro constants into enums and move them down into classes - Change comments to C++ style
* fsmgr.h: Cleanup AJR2023-09-171-15/+14
| | | | | | - Use multibyte.h functions for packing and unpacking words - Remove a few aliases for cstdlib functions - Convert rstr and wstr functions to std::string_view
* imageutl.h: Retire pick_integer_[bl]e and place_integer_[bl]e in favor of ↵ AJR2023-09-1711-302/+298
| | | | | | the simpler functions in multibyte.h * multibyte.h: Add constexpr for getters and noexcept for all functions
* unidasm: Support v620f as a separate architecture from v620 and refactor ↵ AJR2023-08-211-0/+1
| | | | | | these disassemblers a little * ddp516d.cpp: Minor comment correction
* unidasm: Add disassemblers for DDP-516 and Prime S, R, V architectures AJR2023-08-141-0/+7
|
* unidasm: Add disassembler for Mitsubishi/Renesas M16C architecture AJR2023-08-011-0/+2
|
* unidasm: Add disassemblers for ST9 and ST9+ architectures AJR2023-06-181-0/+3
|
* Some more sprintf() deprecation warning fixes. [R. Belmont] arbee2023-06-031-18/+18
|
* chdman: Add extractdvd command Olivier Galibert2023-05-051-0/+93
|
* chd: Add dvd support. better abstraction in general, multi-image support in ↵ Olivier Galibert2023-05-041-0/+94
| | | | arcade-type drivers
* mn1400: add disassembler hap2023-05-011-0/+2
|
* smc1102: add disassembler hap2023-04-061-0/+1
|
* tools/srcclean.cpp: Escape 'high' Unicode characters found in strings rather ↵ Vas Crabb2023-03-151-10/+20
| | | | than nuking them.
* -tools/srcclean.cpp: Use the same rules for character literals and strings ↵ Vas Crabb2023-03-141-1/+1
| | | | | | in C++. -bus/amiga/keyboard: Use UCS4 character literals.
* unidasm: Add Interdata Series 16 disassembler AJR2023-03-111-0/+2
|
* Reduced usage of sprintf. (#10892) Erik2023-02-204-21/+18
|
* image_handler.cpp: Eliminate use of sprintf for error messages AJR2023-02-161-9/+3
|
* regrep.cpp: Code cleanup AJR2023-02-161-36/+34
| | | | | | - Eliminate use of sprintf to construct temporary strings - Pass string views instead of string references wherever convenient - Use util::path_concat for building paths
* tools/ldresample.cpp: Don't try to allocate a 1MB object on the stack (fixed ↵ Vas Crabb2023-02-031-19/+20
| | | | GitHub #7722).
* Use EQUIVALENT_ARRAY to avoid issues with std::size on member arrays, enable ↵ Vas Crabb2023-02-011-2/+3
| | | | warnings for VLAs in C++.