summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* hp2640.cpp: Added tape emulation. (#7625) fulivi2021-01-122-2/+2
| | | | | * formats/hti_tape.cpp: Added support for Manchester encoded DC100 cassettes. * machine/hp2640_tape.cpp: added emulation of DC100 tape drives. * machine/hp_dc100_tape.cpp: Added unit name display.
* Update floptool to the new prototypes Olivier Galibert2021-01-091-3/+5
|
* fix dragondos Disk BASIC tokens tim lindner2021-01-041-23/+32
|
* Low-level #include overhaul AJR2021-01-0215-12/+24
| | | | | | | - vecstream.h: Revert changes made in aa29519528cb3dbdbfac56819bea670ed8c56c5d. The std::string_view conversion has been made a non-member function (util::buf_to_string_view) and moved to coretmpl.h. - strformat.h: Remove the using declaration importing util::string_format into the global namespace. It has been moved to emucore.h and a few tool sources; other references have been qualified. - osdcore.h: Split out file, directory and path classes and methods to a new header (osdfile.h), Doxygenizing the documentation comments. - Disaggregate many #includes that were including other standard or custom headers. emu.h now includes basically the same things that it did, but other headers have been streamlined; for instance, emucore.h no longer stealth-includes osdcore.h several ways.
* romcmp: Add -h option to print hashes and 16-bit sums for all files AJR2021-01-011-26/+44
|
* support Redump extended bin/cue format for Dreamcast discs (#7422) nhand422020-12-171-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial check-in of Redump bin/cue support for Dreamcast GDI * correctly identifies multi-cue format and sets GDROM flags * creates a working Crazy Taxi chd from a Redump bin/cue * disabled debugging code and started tidying up * simple tool to compare chdman bin/cue and bin/gdi conversions, should be identical * final tidy up, the testing is going well * testing failed for Aero Dancing i (Japan), didnt zero last track * added some comments about .gdi compatibility * addressing review feedback on pull request #7422 * match TOSEC layout for Pattern I discs (3 tracks) * initial support for Pattern III discs * Pattern III discs now work and match TOSEC layout * reading datasize from wrong track, same result though * identify the GDI pattern, makes the code clearer * support for Pattern II and consecutive AUDIO tracks * use C99 type not POSIX type to build on Windows * support Redump tracks split across two .bin files
* Add CompactRISC CR16C disassembler to unidasm (largely untested) AJR2020-12-161-0/+2
|
* imgtool: Fix build by updating charconv.cpp to use string_view internally AJR2020-12-152-42/+19
|
* unidasm: Add disassembler for M32C architecture AJR2020-12-071-0/+2
|
* Separate TX-0 from PDP-1; separate some SoC types in build AJR2020-11-191-1/+1
|
* vicdual.cpp: Fix extraneous parentheses on comparison warning. Vas Crabb2020-11-181-1/+1
|
* -unidasm: Allow input piped from stdin by specifying a bare hyphen as the ↵ Vas Crabb2020-11-181-37/+68
| | | | | | | | | | filename. [AJR, Vas Crabb] -netlist: Give devices the C++17 namespace treatment. -Tidied up compiler warning options for 3rdparty. -emu/render.cpp: Exposed a few information view item properties.
* Enable GCC implicit fallthrough warning. Vas Crabb2020-11-151-0/+1
| | | | | | I've guessed whether break or [[fallthrough]] is appropriate. In cases where it looked particularly suspicious, I added a FIXME comment. All of these changes should be reviewed by someone familiar with the code.
* -Switch to building MAME as C++17. Vas Crabb2020-11-152-0/+6
| | | | | | | * Updated sol2 to 3.2.2 * Updated pugixml to 1.10 * Increased minimum clang version to 6 * Cleaned up some stuff that can use new features
* lc57, msm65x2: Add disassemblers [O. Galibert] Olivier Galibert2020-10-261-0/+4
|
* Various improvements to image file handling: Vas Crabb2020-10-082-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Got rid of global_alloc/global_free. Vas Crabb2020-10-032-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The global_alloc/global_free functions have outlived their usefulness. They don't allow consistently overriding the default memory allocation behaviour because they aren't used consistently, and we don't have standard library allocator wrappers for them that we'd need to use them consistently with all the standard library containers we're using. If you need to change the default allocator behaviour, you can override the new/delete operators, and there are ways to get more fine-grained control that way. We're already doing that to pre-fill memory in debug builds. Code was already starting to depend on global_alloc/global_free wrapping new/delete. For example some parts of the code (including the UI and Windows debugger) was putting the result of global_alloc in a std::unique_ptr wrappers without custom deleters, and the SPU sound device was assuming it could use global_free to release memory allocated with operator new. There was also code misunderstanding the behaviour of global_alloc, for example the GROM port cartridge code was checking for nullptr when a failure will actually throw std::bad_alloc. As well as substituting new/delete, I've made several things use smart pointers to reduce the chance of leaks, and fixed a couple of leaks, too.
* formats/cassimg.cpp: Finish encapsulation of cassette_image class. Vas Crabb2020-10-021-1/+1
|
* -imagedev/cassimg.cpp: Make the interface look something like C++. Vas Crabb2020-10-021-15/+16
| | | | -sound/tiasound.cpp: Use some vaguely C++-like code internally.
* lc58: Add disassembler [O. Galibert] Olivier Galibert2020-09-291-0/+2
|
* Cleaned up bitmap API. Vas Crabb2020-09-275-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made const-qualified pixel accessors (pix, pixt, raw_pixptr) return const-qualified references/pointers to pixesl, and added non-const versions. This makes bitmap more like standard library containers where const protects the content as well as the dimensions. Made the templated pixt accessor protected - having it public makes it too easy to inadvertently get a pointer to the wrong location. Removed the pix(8|16|32|64) accessors from the specific bitmaps. You could only use the "correct" one anyway, and having the "incorrect" ones available prevented explicit instantiations of the class template because the static assertions would fail. You can still see the pixel type in the bitmap class names, and you can't assign the result of &pix(y, x) to the wrong kind of pointer without a cast. Added fill member functions to the specific bitmap template, and added a explicit instantiations. This allows the bitmap size check to be skipped on most bitmap fills, although the clipping check is still there. Also fixed a couple of places that were trying to fill an indexed 16-bit bitmap with rgb_t::black() exposed by this (replaced with zero to get the same net effect). The explicit template instantiations in the .cpp file mean the compiler can inline the function if necessary, but don't need to generate a local out-of-line body if it chooses not to. Extended the size of the fill value parameter in the base bitmap class to 64 bits so it works correctly for 64-bit bitmaps. Fixed places where IE15 and VGM visualiser weren't accounting for row bytes potentially being larger than width. Fixed an off-by-one in an HP-DIO card where it was treating the Topcat cursor right edge as exclusive. Updated everything to work with the API changes, reduced the scope of many variables, added more const, and replaced a few fill/copy loops with stuff from <algorithm>.
* Add MDCR support for P2000t (#7215) Erwin Jansen2020-09-171-0/+2
| | | | | | | This adds support for the mini digital cassette recorder that can be found inside a P2000t. This implementation is based on documentation that can be found in https://github.com/p2000t/documentation. In memory of NPM Jansen, who taught me all the magic of bits and bytes.
* pdp8/unidasm: Consistency AJR2020-09-131-1/+1
|
* pdp1: Clean up callbacks and start encapsulating peripherals AJR2020-09-131-1/+1
| | | | * pdp1, pdp8: Apply word shift to address spaces
* Fixing an Imgtool build issue with LLVM on MSVC npwoods2020-09-101-2/+2
|
* chdman.cpp: GCC 9.3 is actually the cutoff point for legacy MSVC-style long ↵ Vas Crabb2020-08-231-2/+2
| | | | long format flags.
* MDOS disk format support 68bit2020-07-031-1/+5
| | | | Motorola DOS, used on the EXORciser etc.
* New machines marked as NOT_WORKING AJR2020-06-281-0/+2
| | | | | | | | | ---------------------------------- Korg WaveStation EX [DBWBP] Korg WaveStation A/D [DBWBP] Korg WaveStation SR [DBWBP] -Add H16 disassembler and skeleton HD641016 CPU device [AJR]
* srcclean and cleanup (nw) Vas Crabb2020-06-212-9/+9
|
* pic1670: Add a disassembler [O. Galibert] Olivier Galibert2020-06-111-0/+2
|