summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/ap_dsk35.cpp
Commit message (Collapse)AuthorAgeFilesLines
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-251-33/+29
| | | | | emu/diimage.h: Removed fread overloads that allocate memory for output. util/core_file.cpp: Changed output size of load to size_t.
* image_handler.cpp: Floppy fixes AJR2024-02-151-4/+0
| | | | | | | - Refilter list of specific floppy formats using the known form factor and variant before trying to mount a filesystem on an image - Sort identify results by decreasing score (code already expects the best format to be first) * formats/ap_dsk35.cpp: Remove temporary hack
* formats/fs_prodos.cpp: Feature updates AJR2024-02-101-0/+4
| | | | | | | - Allow floptool to use ProDOS filesystem with 140K 5.25" disks - Actually list OS and date/time file attributes - Fix decoding of dates to match Apple II ProDOS - Skip header entries in a less hacky way
* formats/ap_dsk35.cpp, formats/lw30_dsk.cpp, shared/xbox_usb.cpp: Use ↵ AJR2024-01-071-8/+2
| | | | multibyte.h helpers
* Floppy format API refinements AJR2023-10-081-27/+27
| | | | | - 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.
* formats: Use multibyte.h functions in more files AJR2023-09-171-17/+14
|
* ap_dsk35.cpp: enable 1.44Mb dc42 images [Peter Ferrie] Peter Ferrie2023-02-031-2/+2
|
* apple: remove legacy floppy format handlers. [R. Belmont] arbee2022-09-241-1107/+1
|
* floppy: revisit the identify returns Olivier Galibert2022-03-301-4/+4
|
* floppy: remove the intermediate allocator Olivier Galibert2022-03-301-3/+3
|
* Constify the floppy image handling interface Olivier Galibert2022-03-301-9/+9
|
* Formats-related refactoring AJR2021-09-111-0/+3
| | | | | | - 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-33/+50
| | | | | | | | | 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.
* apple2: handle Bernie ][ .2MGs with the signature bytes flipped. [R. Belmont] arbee2021-05-291-0/+6
|
* 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]
* ap_dsk35: updates [R. Belmont] arbee2021-03-061-1/+27
| | | | | - Set form factor for 2mg and dc42 disks so the SuperDrive can handle them - Accept ProDOS-format dc42 3.5" disks
* 2mg: tolerate a standard mistake Olivier Galibert2021-03-051-1/+1
|
* apple_gcr: Refuse 800K images on single-sided drives Olivier Galibert2021-03-041-2/+3
|
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-141-11/+11
| | | | | | | | | | * 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-20/+113
|
* ap_dsk35: support .2MG images in the new-style apple_gcr_format [R. Belmont] arbee2021-02-041-1/+25
|
* 2gs: Fixes, and more fixes Olivier Galibert2021-02-041-2/+2
|
* flopimg: Change the extracted bitstreams into vector<bool> Olivier Galibert2021-01-221-147/+115
| | | | | | | 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
* dc42: better cell size on save and remove extraneous logging Olivier Galibert2021-01-171-8/+5
|
* swim2: Add reading, writing gcr up to track 63. Olivier Galibert2021-01-151-0/+6
|
* Provide the variants to the floppy formats Olivier Galibert2021-01-091-3/+3
|
* (nw) formats: reduce dependencies on libemu Vas Crabb2020-04-131-3/+3
| | | | | | | | | | | 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-2/+2
|
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-6/+6
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-162/+162
| | | | | 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
* made constexprs lower case and used constexpr for returning input value as ↵ Miodrag Milanovic2016-07-311-23/+23
| | | | well for rest of defines in osdcomm.h (nw)
* C++-ification of src/lib/util/opresolv.[cpp|h] (moved to util:: namespace, ↵ Nathan Woods2016-07-071-3/+3
| | | | changed option_resolution to be a class, etc)
* clang-modernize part 6 Miodrag Milanovic2015-12-041-2/+2
|
* clang-modernize part 5 Miodrag Milanovic2015-12-041-9/+9
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1502