| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
arcade-type drivers
|
| | |
|
| | |
|
| |
|
|
| |
than nuking them.
|
| |
|
|
|
|
| |
in C++.
-bus/amiga/keyboard: Use UCS4 character literals.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- Eliminate use of sprintf to construct temporary strings
- Pass string views instead of string references wherever convenient
- Use util::path_concat for building paths
|
| |
|
|
| |
GitHub #7722).
|
| |
|
|
| |
warnings for VLAs in C++.
|
| |
|
|
|
| |
* xinput.h depends on windows.h
* avoid use of non-standard variable-length arrays
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
An example command line:
flopcreate vdk coco_rawdsk_os9_35 newdisk.vdk -name mycooldisk -creation_date "1999-02-28 13:23:47"
Attributes are identified on the command line prefixed with '-'; if this is not the preferred syntax this can be changed.
Implementing this also forced a change to fs::meta_value where the various as_*() calls can now be called without respect to which type the fs::meta_value is; this is necessary so that floptool code doesn't need to "own" parsing of the various types of fs::meta_value.
And with this change, fs::meta_value::to_string() is now replaced by fs::meta_value::as_string()
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(which is also not emulated here)
|
| |
|
|
| |
before?) [R. Belmont]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
* gbcolor.xml, bus/gameboy: Renamed slot option for Rocket Games
cartridges from "rom_atvrac" to "rom_rocket".
* emu/config.cpp: Made error messages more detailed when opening a
configuration file fails, and bumped error messages to warning level.
* tools/imgtool: Fixed build.
|
| |
|
|
|
| |
(#10287)
Note that the implementation is still not UTF-8 aware.
|
| |
|
|
|
|
| |
* Fixed tiny build for consolidated driver files.
* tools/unidasm.cpp: Capture big objects by reference in lambdas.
* misc/oneshot.cpp: Fixed unsigned comparison to zero bugs.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* util/ioprocsvec.h: Fixed truncating when a write doesn't reach the end
of stream. [F.Ulivi]
* floptool.cpp: Fixed reversed error checking logic. [F.Ulivi]
* Fixed SUBTARGET=tiny build (required Sega encrypted CPUs to be added).
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- Use ioprocs methods and do a single read for normal input files (i.e. without an additional memcpy)
- Compute pc_mask without using loop
- Correct likely mistake in calculation of rounded_size
- Split main function in two
* ioprocs.cpp: Remove no longer needed #include
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
continue without making a mess of the original mcs51 core. (#10140)
* cloned the mcs51 core as axc51, stripped it back, will allow monon work to continue without making a mess of the original mcs51 core.
* remove some redundant bits
* replace SFR table with AXC51 / AX208 one, removing some other functionality which is not the same on this series
* remove some other bits that are redundant now we're not trying to support other mcs51 models in the axc core
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Driver projects now use globs to search for files. There's less effort
editing the Lua files when things are moved around. Remember it won't
automatically pick up a change, so if you add/remove/change files, you
should touch makefile to get it to find the change.
Driver projects no longer get the top-level MAME directory as an include
path. This means you need to think about how you structure things and
not introduce nasty circular dependencies.
Subtarget projects can now be generated entirely from .flt files without
the need for separate Lua scripts and .lst files. This has been done
for the arcade, mess and virtual targets. It effectively works like a
SOURCES= build on a large scale. This means you need to organise things
so the dependency genrators can find them.
There's an issue with the mess subtarget right now. For some reason,
decmate2.cpp isn't picking up the dependency on the PDP8 CPU core for
the HD6120 device. I'll debug it later
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
some love.
|
| |
|
|
|
| |
- Eliminate -mode option that has done nothing for years
- Allow -basepc address and -skip count to be specified in octal
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
- Remove fgetc, fgets and ptr methods from device_image_interface.
- Remove the core_file::buffer method to read an entire file into memory and rewrite emu_file::hashes to not depend on it.
- Make core_in_memory_file a final class; now that buffering is gone, core_osd_file no longer subclasses it but a new superclass that retains some common methods.
- Rename the offset and length methods used internally in core_file implementations to index and size due to frequent clashes with parameter names.
- Convert comments in util/corefile.cpp to C++ style.
- Add a new overload of the hash_collection::compute method which hashes data from a random_read stream, reading it into memory one chunk at a time. As a result, the hash_collection::begin and hash_collection::end methods have been removed as obsolete (similar methods are now used internally only).
- Enhance error messages for the frontend media identifier when it encounters file errors.
|