summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats
Commit message (Collapse)AuthorAgeFilesLines
* -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.)
* Decoupled RPK logic from TI-99 cartridge code. (#7880) npwoods2021-09-062-0/+617
| | | Decoupled support for RPK (RomPacK cartridge images) from TI-99 code, enabling the logic to be leveraged by other drivers.
* wd177x_dsk.cpp: Add head count check Jesse Marroquin2021-08-291-2/+2
| | | Prevents further evaluation of incompatible formats.
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-22138-1564/+1810
| | | | | | | | | 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.
* formats/fsmgr.cpp: Don't assume string iterators can be indexed (reported by ↵ Vas Crabb2021-08-021-4/+2
| | | | coverity).
* imd_dsk.cpp: Fix segmentation fault saving FM track Jesse Marroquin2021-07-291-1/+1
| | | Incorrect cell size for FM track results in empty bitstream that ultimately causes data.empty() to seg fault.
* cassimg: don't construct string from nullptr (#8265). Robbbert2021-07-211-1/+1
| | | | Note that std::string() was tried but somehow caused another bug (tape preset as play was instead stopped).
* srcclean in preparation for release Vas Crabb2021-06-274-28/+28
|
* -util: Retire legacy object pool, removing vestigial references. Vas Crabb2021-06-242-8/+3
| | | | | | | Thanks to AJR, Ivan Vangelista and Aaron Giles for helping make this possible. Also fixed debug build of imgtool.
* formats/flopimg.cpp: Remove legacy pool allocator usage. (#8216) Aaron Giles2021-06-241-38/+19
|
* ipf: Wrap the decoding state in a sub-structure Olivier Galibert2021-06-102-112/+95
|
* wd177x: remove tests for head count. add track count test in ↵ tim lindner2021-06-061-5/+9
| | | | check_compatibility() becuase it will segfault if disk drive doesn't have enough tracks
* wd177x: test to make sure the floppy drive has room for all of the tracks tim lindner2021-06-051-0/+12
|
* enmirage: fixed and updated to load and play via MIDI, panel controls hooked ↵ tim lindner2021-06-031-10/+30
| | | | up [Tim Lindner]
* apple2: handle Bernie ][ .2MGs with the signature bytes flipped. [R. Belmont] arbee2021-05-291-0/+6
|
* floppy_image_format_t: Turn all the methods that can be static into static ↵ Olivier Galibert2021-05-272-61/+61
| | | | methods, which is almost all of them
* floppy: Change the formats from an intrusive list to a vector Olivier Galibert2021-05-272-23/+1
|
* Copy/paste fix Olivier Galibert2021-05-261-1/+1
|
* vtech: Add floppy formats and fs Olivier Galibert2021-05-268-2/+950
|
* reorganize the floptool code, add some write support Olivier Galibert2021-05-248-133/+142
|
* srcclean for release Vas Crabb2021-05-236-14/+14
|
* Compile fix for Linux (#8081) Brandon Munger2021-05-191-0/+1
|
* jasmin: Support write Olivier Galibert2021-05-166-188/+386
|
* prodos: Add file and resource reading Olivier Galibert2021-05-118-16/+345
|
* prodos: experiements in directory tree reading. Olivier Galibert2021-05-094-45/+223
|
* MacOS < 10.13 has an issue with std::get, use std::get_if instead Olivier Galibert2021-05-024-13/+30
|
* prodos: Start of read support Olivier Galibert2021-05-024-12/+146
|
* fs: Add full jasmin read support Olivier Galibert2021-04-308-245/+600
|
* fsmgr: more compiler error fighting [R. Belmont] arbee2021-04-281-0/+1
|
* fsmgr: temp hack to fix Clang compile [R. Belmont] arbee2021-04-281-0/+1
|
* floppy: first steps on metadata, and hopefully make gcc happier on enumerate Olivier Galibert2021-04-288-30/+237
|
* floppy: start block-devicing fielsystem support Olivier Galibert2021-04-2814-111/+869
|
* kaypro: added back support for kay/dsk images. Robbbert2021-04-221-2/+2
|
* thomson: Turn the extensions into slot devices, modernize the floppies Olivier Galibert2021-04-194-419/+91
|
* wd177x_dsk.cpp: Fix a bug that caused creation to crash for some subformats AJR2021-04-141-1/+1
|
* trs80m2: update of hash file Robbbert2021-04-151-1/+1
|
* jv3: better validation; honour readonly flag Robbbert2021-04-141-62/+93
|
* jv3: added save support. It doesn't work due to an emulation bug in the main ↵ Robbbert2021-04-141-3/+75
| | | | machine.
* jv3: fixed gap sizes, some disks can boot Robbbert2021-04-131-3/+3
|
* jv3: fixed a data pointer bug Robbbert2021-04-131-37/+82
|
* mm_dsk: Add missing terminator Olivier Galibert2021-04-121-1/+2
|
* imd: do the number of tracks test only on 5.25, 8" and 3.5" is always 80, 3" ↵ Olivier Galibert2021-04-121-11/+12
| | | | is always 40
* jv3: used osd_printf_error Robbbert2021-04-111-2/+2
|
* jv3: Added protection against oversized disks. Robbbert2021-04-111-0/+10
|
* ap_dsk35: Punt 1.44MB dc42 images to the PC MFM handler, which knows how to ↵ arbee2021-04-101-0/+8
| | | | read them [R. Belmont]
* trs80l2: cleaned a few things from last commit. Robbbert2021-04-102-7/+1
|
* trs80m3: Added support for JV3 disks (not working) Robbbert2021-04-104-16/+263
|
* trs80: Added support for Level 1 CAS files. Robbbert2021-04-072-17/+66
|
* trs80: validate the cas file Robbbert2021-04-021-0/+8
|
* floppy: What wd177x_dsk has become should be taken out and shot Olivier Galibert2021-03-3116-38/+38
|