summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/ti99_dsk.cpp
Commit message (Collapse)AuthorAgeFilesLines
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-251-15/+8
| | | | | 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-12/+12
| | | | | - 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.
* Cleaned up logging across the codebase (GitHub #10183). (#11250) [Ryan Holtz] MooglyGuy2023-05-231-7/+7
| | | | | * Converted various logging patterns to use logmacro.h consistently. * Removed redefinitions of LOG_GENERAL. * Use LOGMASKED in more places.
* Fixed some misspelling occurrences here and there. (#10605) 0kmg2022-12-031-1/+1
|
* floppy: revisit the identify returns Olivier Galibert2022-03-301-4/+4
|
* floppy: remove the intermediate allocator Olivier Galibert2022-03-301-2/+2
|
* Constify the floppy image handling interface Olivier Galibert2022-03-301-14/+14
|
* Filesystem code cleanup AJR2021-12-141-1/+1
| | | | | | | - Eliminate dependencies on emu.h, replacing most fatalerror calls and floptool's ersatz emu_fatalerror class with standard exception classes - Use range-based std::string constructors in some methods - Move filesystem metadata handling to a separate source file - Eliminate src/emu as an include path for libformats (necessitates kludge in ti99_dsk.cpp)
* fixes for variables set but not used smf-2021-11-071-1/+1
|
* Formats-related refactoring AJR2021-09-111-1/+0
| | | | | | - 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-26/+49
| | | | | | | | | 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.
* srcclean in preparation for release Vas Crabb2021-03-281-2/+2
|
* ti99: Fixed some rarely used TDF floppy format variants. Michael Zapf2021-03-211-17/+23
|
* formats: Create mame_formats_full_list which gives access to all the ↵ Olivier Galibert2021-03-041-1/+1
| | | | supported formats, make floptool use it. Castool should use it too probably, but I don't want to touch it.
* flopimg: Change the extracted bitstreams into vector<bool> Olivier Galibert2021-01-221-14/+5
| | | | | | | 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
* Provide the variants to the floppy formats Olivier Galibert2021-01-091-4/+4
|
* formats: permission from Nigel Barnes to relicense Acorn and AFS disk ↵ Vas Crabb2020-04-131-1/+1
| | | | handlers as BSD-3-Clause (nw)
* (nw) formats: reduce dependencies on libemu Vas Crabb2020-04-131-5/+7
| | | | | | | | | | | The only link dependency left is emu_fatalerror. The format handlers really shouldn't be throwing fatal errors at all - they should just fail to load an image they can't handle. Maybe the interface should be enhanced to allow better propagation of errors up from the format handlers so they can be displayed in a UI rather than just logged. The only other two dependencies are on logmacro.h (pure macros) and the PAIR type from emucore.h (possibly worth moving to util).
* use C++ library includes (nw) firewave2020-01-221-3/+3
|
* ti99_dsk.cpp: Change `crc` type to uint16_t here, too (nw) AJR2018-08-041-1/+1
|
* ti99_dsk.cpp: More appropriate variable type which will hopefully make MSVC ↵ AJR2018-08-041-1/+1
| | | | happy (nw)
* (nw) Fixed the build. Robbbert2018-08-041-1/+1
|
* ti99: Fixed long-standing TDF bug; added support for 16-sector formats Michael Zapf2018-08-031-620/+956
|
* ti99: Fixed disk creation via OSD Michael Zapf2018-05-041-4/+13
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-25/+25
| | | | | 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
* ti99: Explicitly add the cell_size to mfm_w call (nw) Michael Zapf2016-09-051-6/+6
|
* ti99: Fixed another issue with double stepping. Michael Zapf2016-08-251-16/+41
|
* ti99: Forgot to reset the TRACE flag. Michael Zapf2016-08-241-1/+1
|
* Forgot srcclean Michael Zapf2016-08-241-1/+1
|
* ti99: Fix a problem with formatted disk images that do not match the ↵ Michael Zapf2016-08-241-6/+9
| | | | expected file size
* hdc92x4: Added 9224 emulation; ti99_dsk: Fixed issue with deleted data marks ↵ Michael Zapf2016-08-141-23/+24
| | | | in FM
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1134