summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/td0_dsk.cpp
Commit message (Collapse)AuthorAgeFilesLines
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-251-7/+13
| | | | | emu/diimage.h: Removed fread overloads that allocate memory for output. util/core_file.cpp: Changed output size of load to size_t.
* Floppy format API refinements AJR2023-10-081-20/+20
| | | | | - 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-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* formats: Use multibyte.h functions in more files AJR2023-09-171-7/+8
|
* formats/td0_dsk.cpp: Don't swallow bits and bytes at the end of ↵ AJR2023-09-081-13/+14
| | | | Huffman-encoded images, when the word buffer can no longer be filled
* formats/td0_dsk.cpp: Do more error checking, hopefully eliminating softlocks ↵ AJR2023-09-051-4/+25
| | | | when trying to load truncated images
* formats/td0_dsk.cpp: Recognize SSDD images for 3(.5)-inch floppy drives. ↵ AJR2023-09-021-1/+1
| | | | Fixes loading of CP/M Plus v 1.5 on pcw8256.
* floppy: revisit the identify returns Olivier Galibert2022-03-301-1/+1
|
* floppy: remove the intermediate allocator Olivier Galibert2022-03-301-1/+1
|
* Constify the floppy image handling interface Olivier Galibert2022-03-301-7/+2
|
* init vars for coverity (formats) Robbbert2022-03-261-4/+4
|
* Formats-related refactoring AJR2021-09-111-1/+1
| | | | | | - 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
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-221-37/+36
| | | | | | | | | 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.
* -util: Retire legacy object pool, removing vestigial references. Vas Crabb2021-06-241-7/+3
| | | | | | | Thanks to AJR, Ivan Vangelista and Aaron Giles for helping make this possible. Also fixed debug build of imgtool.
* Provide the variants to the floppy formats Olivier Galibert2021-01-091-3/+3
|
* -Switch to building MAME as C++17. Vas Crabb2020-11-151-2/+3
| | | | | | | * 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
* use C++ library includes (nw) firewave2020-01-221-2/+2
|
* srcclean (nw) Vas Crabb2018-04-221-1/+1
|
* Minimal improvements on the disk handling (#3395) Stefano2018-03-271-0/+4
| | | | | | | | | * Keeping the 35 tracks drive as an option * Reducing the crashes a bit more. This helps matching the form_factor and the parameters found in the TeleDisk images, thus exiting before a serious crash. It is NOT enough to improve the 8" disk image handling, nor it solves all the stability problems, but it is a tiny step forwards.
* TeleDisk loader: accept images produced from 8" SSSD disks Sergey Svishchev2017-01-101-1/+3
|
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-6/+6
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-64/+64
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* dynamic_buffer is just std::vector<UINT8> (nw) Miodrag Milanovic2016-10-211-1/+1
|
* fixing some more override (nw) Miodrag Milanovic2015-12-061-2/+2
|
* clang-modernize part 5 Miodrag Milanovic2015-12-041-5/+5
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1034