| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
| |
category. (#13128)
Also replace "invalid" error with more specific values.
|
| |
|
|
|
|
|
|
| |
* Fixed titles.
* Added details from cartridge labels.
* Added track list for Hi-kara user cartridge.
-formats/fs_cbmdos.cpp: More const
|
| | |
|
| |
|
|
|
| |
* lib/formats/fs_cbmdos.cpp: Fix display of all directory entries.
* Give the magic number a name.
|
| |
|
|
| |
- Separate fs::block_t and fs::filesystem_t to a new source file and header
- Remove inclusion of flopimg.h from fsmgr.h
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drivers (#10106)
* Changed fs::manager_t::enumerate_f() to simplify logic within file system drivers
enumerate_f() used to contain quite a bit of boilerplate logic to determine whether a particular floppy type should be added. This change attempts to move this logic outside the file system drivers to simplify the drivers.
The riskiest part of this change is unformatted_image::enumerate_f(). I attempted to replicate the logic that was previously determining with unformatted image types to use, but the logic is tricky and it isn't clear to me that replicating the logic is the correct action - I may be cargo culting.
* Fix to floppy_image_device::fs_enum::add_raw()
* Updating FS_FAT to reflect this PR
* On the advise of Sarayan, I moved the filtering to the fs::manager_t::fs_enum base class. This is actually a less intrusive change than what I originally had because it keeps the unformatted raw image handling closer to what we had previously.
Some misgivings about these changes:
1. We now have fs::manager_t::fs_enum::add() being a thin call that invokes a protected method called fs::manager_t::fs_enum::add_format(). Better ideas for names are welcome.
2. It feels odd that we've removed the need to do filtering from the various FS modules, but the unformatted module has to ask the fs_enum() for its internal variables for filtering to perform the same logic. This seems to be the least worst option
Feedback is welcome
|
| |
|
|
| |
There's something wrong when derived classes need to be friends...
|
| | |
|
| |
|
|
|
| |
(instead of double) (#10104)
This problem was identified because the file system didn't properly show up when the 'c64' driver was run, and this seems to be the correct fix. The part of this that confuses me is that if this defect was preventing the CBMDOS fs from showing up under c64, why don't the CoCo file systems have the same problem? Both fs_coco_rsdos.cpp and fs_coco_os9.cpp specify (seemingly incorrectly) SSDD.
|
|
|
(#9922)
|