summaryrefslogtreecommitdiffstats
path: root/src/lib/formats
Commit message (Collapse)AuthorAgeFilesLines
* Changed the constructor of fs::dir_entry to take 'std::string &&name' ↵ npwoods2022-06-114-6/+6
| | | | instead of 'const std::string &name' (#9913)
* srcclean in preparation for release Vas Crabb2022-05-222-3/+3
|
* Removed superfluous semicolons from various source files. (#9796) 0kmg2022-05-221-1/+1
|
* acorn_dsk: Adjusted returned FFID's to indicate verified internal structure. Nigel Barnes2022-05-151-10/+15
|
* -tim011.cpp: Hooked up floppy drives properly. (#9649) Miodrag Milanović2022-05-023-0/+86
| | | | | | | | * Hooked up floppy drives and controller properly, and implemented video display. * formats/tim011_dsk.cpp: Added TIM 011 floppy image format. -machine/upd765.cpp: If waiting for additional command bytes, treat a data register read as an open bus write (tested on real hardware) and always trigger the DRQ line even if in nodma mode. [Carl -cpu/z180: Added callbacks for tend; decrement bcr1 when DMA channel 1 is active. [Carl]
* Micscellaneous cleanup/fixes: Vas Crabb2022-04-302-34/+24
| | | | | | | | | | | | | | | | machine/z80scc.cpp: Fixed a cast-to-bool that broke detection of changes to one register bit. formats/fsmeta.cpp: Use visitors with variants where it makes sense. docs: Updated minimum required SDL version to 2.0.6 for all targets, added note that Python 3 is included with Xcode and updated instructions for downloading stand-alone Python 3 for macOS. ksys573.cpp: Don't create an insane number of textures for fghtmn and pnchman internal artwork. Tidied another batch of slot machine layouts.
* Add logic to the CoCo RS-DOS FS module to catch cycles in file granule ↵ npwoods2022-04-241-3/+15
| | | | (block) lists (#9615)
* srcclean in preparation for 0.243 Vas Crabb2022-04-243-40/+40
|
* Cleanups for the CoCo OS-9 fs module (#9589) npwoods2022-04-212-186/+199
|
* Cleanups for the CoCo RS-DOS fs module (#9588) npwoods2022-04-212-114/+267
|
* flopimg: Fix issues when wrapping in generate_bitstream_from_track which ↵ Olivier Galibert2022-04-191-74/+124
| | | | were especially damaging for apple drivers
* Fixed string constructor for fs::meta_value (#9580) npwoods2022-04-171-0/+1
| | | In absence of a constructor that explicitly took 'const char *', passing a const char * would be interpretted as a bool
* Added a 'type()' accessor to fs::meta_value (#9553) npwoods2022-04-142-16/+34
| | | | | | | * Added a 'type()' accessor to fs::meta_value Let's try to hide the nastiness of std::visit() as much as humanly possible * Changing visitor approach for std::visit() call in fs::meta_value::type()
* Fixed some issues involving fs::meta_description construction (#9546) npwoods2022-04-126-48/+52
| | | | | | | | | | | * Fixed some issues involving fs::meta_description constructing With the recent change to use std::variant more closely, I noticed a problem where meta_descriptions of type meta_type::String got defaults of type 't'. This was because the templated ctor for meta_description would convert 'const char *' to 'bool'. This change adds another overload to catch 'const char *', along with asserts to catch problems. In the process I corrected a few meta_description ctors It is possible that this change does not go far enough. Perhaps the meta_type argument should be removed, and we should instead create distinct ctor types (rather than relying on templates) and specify the precise meta_type in the overload. Or even go further and remove m_type from meta_description, and instead create an overload that calculates meta_type based on calling std::visit on the variant * Taking this change a bit further, and removing m_type from fs::meta_description; it was superfluous. Also doing some minor C++-ifications
* Adding support for formatting CoCo OS-9 file systems (#9434) npwoods2022-04-072-8/+168
| | | | | * Adding support for formatting CoCo OS-9 file systems A caveat of this support is that there is no way for a FS implementation to get the actual floppy geometry. Therefore, we are currently hard coding the track count, head count and sector size
* Adding support for formatting CoCo RS-DOS file systems (#9405) npwoods2022-04-072-1/+8
|
* Changed fs::meta_value::to_string() to not be static and not require ↵ npwoods2022-04-032-14/+28
| | | | | meta_type (#9510) No need to pass in the meta_type when using std::visit() on the std::variant
* -util/corealloc.h: Reduced make_unique_clear to a single variant for POD arrays. Vas Crabb2022-04-031-2/+2
| | | | | | | | | | | | | | | | | | * Enabled GCC lifetime dead store elimination optimisation. * emu/device.h: Don't pre-clear memory for drivers. Ivan Vangelista fixed at least the majority of things that crashed outright, and Robbbert initialised variables that coverity complained about. It's unlikely anything will break due to this. * sound/discrete.h: Explicitly initialise members of discrete "devices" to zero. I don't see a way around doing this in headers due to the macro soup used to build the constructors. * sound/mos6581.cpp: Moved creation of the SID core to device_start and explictly initialised members of the SID core structures. These structures are in internal headers, so they won't cause downstream recompiles. -Lua engine: Made I/O port manager type_seq a bit more tolerant of omitted arguments.
* formats: fixed GCC compile Ivan Vangelista2022-04-022-2/+2
|
* prodos fs: Hide the implementation Olivier Galibert2022-04-022-104/+104
|
* oric jasmin fs: Hide the implementation Olivier Galibert2022-04-022-167/+168
|
* floppy: revisit the identify returns Olivier Galibert2022-03-3060-88/+170
|
* floppy: Change the internal format to flux changes, update the mfi format ↵ Olivier Galibert2022-03-309-252/+207
| | | | accordingly (keep read compatibility with the old mfi)
* floppy: remove the intermediate allocator Olivier Galibert2022-03-30247-300/+288
|
* Constify the floppy image handling interface Olivier Galibert2022-03-30146-688/+589
|
* apple2: split the 16 sector format in dos/prodos types Olivier Galibert2022-03-303-103/+70
|
* hfe: Remove write support for now, it has issues (sharing data between read ↵ Olivier Galibert2022-03-302-366/+67
| | | | and write, copy/pasting the pll code, not supporting v3). May be rewritten once the other changes are in
* imd_dsk: Remove the save support that is just too broken, remove member ↵ Olivier Galibert2022-03-302-142/+59
| | | | variables
* srcclean and manual tidying up in preparation for 0.242 release Vas Crabb2022-03-271-5/+5
|
* init vars for coverity (formats) Robbbert2022-03-267-39/+39
|
* flex, img: Remove mutable variables from the class Olivier Galibert2022-03-234-34/+33
|
* floppy formats: correct sector extraction in wd/upd when extracted sector is ↵ Olivier Galibert2022-03-232-2/+2
| | | | smaller than expected
* srcclean in preparation for 0.241 release Vas Crabb2022-02-201-1/+1
|
* Miscellaneous cleanup: Vas Crabb2022-02-201-7/+9
| | | | | | | | * emu/machine.cpp: Organised #included headers by module. * formats/jvc_dsk.cpp: Don't hide diagnostics behind compile-time switch. * util/ioprocsfilter.h: Added doxygen comments so one doesn't need to read the source to work semantics.
* formats/jvc_disk: Changed code to verify image geometry against floppy drive ↵ tim lindner2022-02-172-12/+25
| | | | geometry. (#9238)
* Removed extra semicolons after function bodies in remaining headers. (#9277) 0kmg2022-02-071-3/+3
|
* abc1600: Added sector dump floppy image format. [Curt Coder] Curt Coder2022-02-072-0/+114
|
* srcclean in preparation for 0.240 Vas Crabb2022-01-236-126/+126
|
* docs: List MSYS2 packages required to build PDF documentation on Windows now ↵ Vas Crabb2022-01-122-9/+9
| | | | that TeX Live is available.
* Created an initial file system implementation for OS-9 under the CoCo (#9096) npwoods2022-01-077-18/+733
| | | | | | | | * Created an initial file system implementation for OS-9 under the CoCo * Minor fixes to directory entry handling * Changed to use fsblk_t::r[8|16|24|32]b() - Changed the above functions to be const
* Minor typo fix in a comment (nw) (#9082) npwoods2022-01-031-1/+1
|
* Reimplemented support for the CoCo's RS-DOS filesystem on top of the "fsmgr" ↵ npwoods2022-01-037-0/+518
| | | | | | | | | | | | framework (currently read only) (#9080) * Reimplemented support for the CoCo's RS-DOS filesystem on top of the "fsmgr" framework (currently read only) * Added support for file_type and ascii_flag metadata, minor bug fix decoding file allocation table entries * Creating a "CoCo Raw Disk" format and changing the CoCo RS-DOS filesystem to use it * 1. Adding COCO_RAWDSK to all.cpp 2. Fixing sector order on CoCo raw disk
* Move filesystem library into separate namespace and use shorter uX type ↵ AJR2021-12-3116-778/+836
| | | | names there
* Filesystem code cleanup AJR2021-12-1415-425/+453
| | | | | | | - 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)
* Remove a few outdated references to MESS Dirk Best2021-12-024-7/+7
|
* More cleanup. Vas Crabb2021-12-021-5/+3
|
* Fixed a few coverity errors, several of which are real bugs. Vas Crabb2021-12-021-1/+1
|
* Soul-crushingly frustrating clean-up: Vas Crabb2021-12-011-19/+14
| | | | | | * Patched up a pile of code that was rotting behind UNUSED_FUNCTION, and switched to [[maybe_unused]] attribute so it can't rot so easily. * Reduced a bit more redundancy in fruit machine layouts.
* srcclean in preparation for release of MAME 0.238. Vas Crabb2021-11-211-1/+1
| | | | | | | Patched up positron.cpp input ports - you shouldn’t use PORT_NAME when the key cap label is just the characters it produces anyway, and you’re supposed to use the actual character a key produces for PORT_CHAR or "natural" keyboard mode/paste will be unnatural.
* acorn_dsk.cpp: Fixed cell size for high density ADFS-F format. Nigel Barnes2021-11-141-3/+3
|