summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/mfi_dsk.cpp
Commit message (Collapse)AuthorAgeFilesLines
* formats/mfi_dsk.cpp: Update file specs for how hard-sectored support was ↵ Mark Garlanger2024-09-141-3/+7
| | | | added (#12767)
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-251-16/+24
| | | | | 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-17/+17
| | | | | - 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.
* mfi_dsk: fix logic error (nw) Peter Ferrie2022-08-021-1/+1
|
* Removed superfluous semicolons from various source files. (#9796) 0kmg2022-05-221-1/+1
|
* floppy: revisit the identify returns Olivier Galibert2022-03-301-1/+1
|
* floppy: Change the internal format to flux changes, update the mfi format ↵ Olivier Galibert2022-03-301-44/+70
| | | | accordingly (keep read compatibility with the old mfi)
* floppy: remove the intermediate allocator Olivier Galibert2022-03-301-1/+1
|
* Constify the floppy image handling interface Olivier Galibert2022-03-301-4/+3
|
* Formats-related refactoring AJR2021-09-111-0/+2
| | | | | | - 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-12/+17
| | | | | | | | | 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.
* vtech: Add floppy formats and fs Olivier Galibert2021-05-261-2/+7
|
* mfi: Don't crash on a fully unformatted disk Olivier Galibert2021-02-201-0/+4
|
* woz: Add write Olivier Galibert2021-02-151-1/+1
| | | | some formats: Correct setting up of form factor and variant
* Provide the variants to the floppy formats Olivier Galibert2021-01-091-3/+3
|
* Got rid of global_alloc/global_free. Vas Crabb2020-10-031-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* use C++ library includes (nw) firewave2020-01-221-1/+1
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-9/+9
| | | | | 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
|
* clang-modernize part 5 Miodrag Milanovic2015-12-041-2/+2
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+233