summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats
Commit message (Collapse)AuthorAgeFilesLines
* fsblk.cpp: Internal overhaul AJR2025-03-0214-618/+474
| | | | | | | | - Replace custom reference counting wrapper with std::shared_ptr - Rename fsblk_t::block_t::copy to write and use it in a few more places - Add fsblk_t::block_t::read - Rename fsblk_t::block_t::offset and rooffset due to name collisions and privatize these helper functions - Rename fsblk_t::fill to fill_all for clarity's sake
* srcclean and cleanup. Vas Crabb2025-02-232-3/+3
|
* formats/fsblk.cpp: Replaced fs::err_t enum with a standard error condition ↵ ajrhacker2025-02-2212-427/+476
| | | | | category. (#13128) Also replace "invalid" error with more specific values.
* Cleaned up some recent commits. Vas Crabb2025-02-071-22/+25
|
* formats/h8_cas.cpp: Update H8T to newer cassette handling (#13250) Mark Garlanger2025-02-022-111/+52
|
* formats/tzx_cas.cpp: Fixed regression in TAP format; Added checksum ↵ holub2025-02-021-12/+38
| | | | validation (MT9104) (#13322)
* Fix up some stuff: Vas Crabb2025-01-311-11/+28
| | | | | | * formats/cassimg.cpp: Put allocation outside loop again, check more allocations for failure. * pc8801_flop.xml: Actually mark clones as clones, transliterate title for S.F.3.D. * apple/macadb.cpp: Tidy a little.
* formats/cassimg.cpp: prevent regression in cass images (#13292) holub2025-01-282-3/+15
|
* misc: correct "lenght" typo hap2025-01-282-4/+4
|
* formats/oric_tap.cpp, formats/uef_cas.cpp: Fixed build after #13289, tidied ↵ holub2025-01-282-101/+95
| | | | code. (#13290)
* lib/formats: Fix build after cdb94c2be58ccbc427871890017e2213ee634079 AJR2025-01-274-4/+5
|
* formats/tzx_cas.cpp: Cut data size in case header requesting more than ↵ holub2025-01-2738-60/+77
| | | | available (MT8952) (#13289)
* srcclean and manual cleanup Vas Crabb2025-01-261-1/+1
|
* Tidy up some stuff. Vas Crabb2025-01-181-13/+20
|
* formats/h17disk.cpp: Add format for Heath hard-sectored formats (#13222) Mark Garlanger2025-01-123-0/+293
| | | | | | | * formats/h17disk.cpp: Add format for Heath hard-sectored formats * fix compile error * minor formatting changes
* formats/fs_vtech.cpp: Fix off-by-one error: end address is exclusive, not ↵ AJR2024-12-241-6/+6
| | | | inclusive
* formats/vt_dsk.cpp: Recognize .dvz extension AJR2024-12-231-1/+1
|
* formats/fs_vtech.cpp: Fixes and improvements AJR2024-12-233-12/+12
| | | | | - Fix incorrect directory sector offset value for file read/write operations - Allow file types other than T and B
* ap2_dsk.cpp: fix loading bardstl3 (#13055) Roman Donchenko2024-12-071-2/+4
| | | | | | | | I accidentally broke this in 47d8c69b, where I forgot to account for the "oddball" images from the software list. AFAICS, bardstl3 is the only software to be broken, because its images are _shorter_ than they're supposed to be. In addition, disk 3 of this image has a different size that's not listed in `identify()`, so it couldn't even be loaded before that commit. Fix that too.
* ap2_dsk.cpp/h: clean up constants (#13021) Roman Donchenko2024-12-072-105/+105
| | | | | | * convert `#define` to `constexpr`. * remove unused constants. * replace magic numbers with constants where appropriate. * Fix style issues.
* vt_dsk: Restore the newer bitstream generator, except for the part that was ↵ AJR2024-11-201-15/+27
| | | | actually broken
* vt_dsk: Regression fixes for loading and saving both disk formats AJR2024-11-201-26/+19
| | | | | - Remember to put in a flux change at the start of each bit - Revert flux_to_image bitstream generator to as it was before 08f28cee11ce94e6656d4924c7a3c30614811783 (new version simply didn't work)
* formats/all.cpp: Fix typo that excluded VTech disk formats from floptool AJR2024-11-201-1/+1
|
* ussr/juku.cpp: Promoted EKTA Juku E5104 to working. (#9946) Märt Põder2024-11-182-7/+7
| | | | | | | | | | | | | | * Implemented sound, and graphics modes, fixed floppy writing/side selection. * Added DIP switches for network address (CONTRDAT). * formats/juku_dsk.cpp: Corrected single-sided 5.25" disk format. Systems promoted to working ---------------------- EKTA Juku E5104 New working software list items (juku) --------------------- EKDOS 2.29 EKDOS 2.30
* ap2_dsk.cpp: add missing error handling code (#12980) Roman Donchenko2024-11-151-6/+16
|
* formats/thom_cas.cpp: Improve handling of MO5 .k7 format AJR2024-11-131-3/+19
| | | | | - Recognize a variant with the "DC" tag in hex rather than ASCII - Add padding for an extended block type found in Androides
* ap2_dsk.cpp: add read-only support for the D13 format (#12956) Roman Donchenko2024-11-113-0/+142
| | | | | | | This is the equivalent of DSK used for 13-sector disks. While `diskiing` cannot directly boot from 13-sector disks, you can still access such disks with it (for example, using the BOOT13 and MUFFIN programs), so list the format as supported by both `diskiing13` and `diskiing`.
* formats/fs_fat.cpp: Guard against divide by zero errors when the bytes per ↵ AJR2024-11-091-0/+2
| | | | sector field in the parameter block is not properly set (as on some early PC-DOS disks)
* formats/sap_dsk.cpp: A few refinements AJR2024-11-041-4/+5
|
* Add support for reading SAP (Systeme d'Archivage Pukall) disk images to ↵ AJR2024-11-033-0/+205
| | | | Thomson systems
* thom_dsk.cpp: Note AJR2024-10-311-0/+2
|
* formats/ap2_dsk.cpp: don't crash when loading a NIB file with an all-zero ↵ Roman Donchenko2024-10-311-3/+3
| | | | | | | track (#12926) * In this case, `levels` is empty, and `generate_track_from_levels` immediately crashes with a division by zero. To fix this, just leave the track empty instead.
* Cleaned up miscellaneous stuff. Vas Crabb2024-10-312-25/+31
|
* Thomson floppy disk updates AJR2024-10-272-0/+15
| | | | | - to8, to9 & to9p now include the FDC in the base configuration. to9 uses a WD1770 (WD2793 appears to fail calibration), while to8 & to9p use the THM-FC-1 gate array (now a separate device). This eliminates the need to, and ability to, configure floppy disk extensions for the to8, to9 and to9p. - Changed sector offsets for double-sided .fd images so that they load correctly (usually).
* srcclean and cleanup Vas Crabb2024-10-271-1/+1
|
* 86f_dsk: different workaround for (unused) BIG_ENDIAN enum hap2024-10-221-4/+1
|
* pc98_dsk: handle 256bps images cracyc2024-10-211-0/+4
|
* nfd_dsk: fm should be cell_count / 2 cracyc2024-10-171-1/+1
|
* 86f_dsk.h: Fix build error with certain libraries AJR2024-10-151-0/+3
|
* 86f_dsk: add read 86f image support cracyc2024-10-152-0/+303
|
* srcclean in preparation for 0.270 release branch. Vas Crabb2024-09-221-1/+1
|
* formats/d88_dsk.cpp: relax track_count check to a warning angelosa2024-09-201-4/+2
|
* formats/mfi_dsk.cpp: Update file specs for how hard-sectored support was ↵ Mark Garlanger2024-09-141-3/+7
| | | | added (#12767)
* Floppy fixes and refinements AJR2024-09-121-0/+12
| | | | | | | | - imagedev/floppy.cpp: Add 3-inch double-sided quad-density format - oric_microdsk: Add DSQD drives to configuration and enable one by default - amstrad/pcw.cpp: Upgrade all configurations using double-sided drives to quad density - bbc_ams3: Make drives single-density since 8271 controller doesn't support MFM - oric_dsk: Don't blindly trust the number of tracks and sides to be valid
* floppy.cpp: Use standard drives for hard-sectored systems (#12727) Mark Garlanger2024-09-082-1/+38
| | | | | * floppy.cpp: Use standard drives for hard-sectored systems * fix typo
* d88_dsk.cpp: Be more permissive about allowing double-sided images in ↵ AJR2024-09-071-4/+16
| | | | single-sided drives
* Floppy hard-sector support. Mix of Eric Anderson's and Mark Eric Anderson2024-09-015-33/+113
| | | | | | | Gallager's patches. Removal of the flux screen experiment. Removal of the unused get_pos().
* Miscellaneous fixes: Vas Crabb2024-07-251-24/+24
| | | | | | | igspgmcrypt.cpp: Fixed a recently-introduced Endianness issue. sega/dsbz80.cpp: Don't leak the MPEG audio decoder. sega/dsbz80.cpp: Don't initialise the sample buffer on construction - it happens on reset anyway. formats/fs_coco_os9.cpp: Use lowercase for hexadecimal literals.
* Cleaned up various stuff. Vas Crabb2024-06-301-3/+3
| | | | | | | | | | * sony_news.xml: Added proper compatibility flags for different generations. * cpu/pic16x8x: This is very much a derivative work. * cpu/tms32025.cpp: Allow stack push/pop to be inlined. * tecmo/bombjack.cpp: Avoid needing to remove and replace devices in machine configuration. * Various other cleanup.
* floptool: fix HP 9121 format #4 (#12511) Sven Schnelle2024-06-262-3/+3
| | | | | | With this change, all the SSDD disks from hpmuseum can be read, and the size of the disk matches. While at it, also fix a typo. Signed-off-by: Sven Schnelle <svens@stackframe.org>