| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
| |
* floppy_sound: Allows definition of custom sound lists and fixes Amiga pitch glitches in floppy sound.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ui/info.cpp, imagedev/cassette.cpp: Deal with UTF-8 strings as a distint
type.
ui/inputmap.cpp, debugger/qt/dasmwindow.cpp, debugger/qt/mainwindow.cpp,
sound/coreaudio_sound.cpp, cpu/drcbec.cpp, mit/tx0_v.cpp,
konami/3dom2.cpp: machine/mc68328.cpp, cpu/mips/mips1.cpp,
cpu/mips/r4000.cpp, cpu/romp, machine/cammu.cpp, machine/ns32081.cpp:
Avoid arithmetic between different enum types.
dec/pdp1.cpp, konami/firebeat.cpp, mit/tx0.cpp, sound/lc7535.cpp,
sound/spkrdev.cpp: Avoid arithmetic between enum and floating point.
gaelco/gaelco3d_m.cpp: Fixed deprecated uses of volatile variables.
sound/discrete.h: Avoid comparing enum to floatint point.
ui/toolbar.ipp: Don't use UTF-8 qualifier on pure ASCII strings, just
assume char is ASCII-like.
cpu/unsp: Use default constructor for compiler_state.
sgi/pm2_mmu.cpp: Avoid conflict between file static access and
identically named function in unistd.h.
osd/interface/audio.h: Provide an explicit constructor.
util/server_http_impl.hpp: Fixed uninitialised class member warning.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added a helper for the common operation of replacing all options,
setting default, and setting whether the slot is fixed (reduced
boilerplate in slot devices a bit).
* Fixed a bug where slot options copied the supplied name but also
required the string to remain valid for their lifetime.
* Use std::string_view for strings that should never be null.
* Reduced some duplication.
-dynax/ddenlovr.cpp: Allow a mahjong panel to be connected for all
hanafuda games with slotted control panels. This is how the games were
operated most of the time, and all mahjong controls are displayed in
input tests. Also cleaned up some DIP switch settings.
-emu/inpttype.h: Got rid of IPT_GAMBLE_SERVICE.
-bus/bk/parallel.h: Fixed a bug where the supplied options and default
weren't actually used.
-emu/debug/debugcmd.cpp: Use C++ file stream for dumping address maps.
-frontend/mame/clifront.cpp: Use osd_printf_info output for
interactive verbs.
-jaleco/ms32.cpp: Simplified mahjong panel column permutation.
-capcom/cps1bl_5205.cpp, mattel/juicebox.cpp, sun/sun2.cpp,
sun/sun3.cpp: Cleaned up logging.
-emu/xtal.cpp: Reduced temporary objects and duplicated code.
|
| |
|
|
|
|
|
|
| |
core: Better support for external mmus
Note: I didn't expect to push that one right now, it's missing
documentation among other things, but since some people seems to be
interested to work on that driver I don't want to hold them.
|
| |
|
|
|
|
|
|
|
|
|
| |
sample lists and fixes unrealistic pitch changes."
This reverts commit 7fece3b95204171023fd5200fd92abb8d3e14d4b.
This causes stuff to crash on start. It also pollutes the global
namespace with a pile of macros, and creates multiple static objects in
every translation unit that #includes it. It's incredibly poorly
designed and implemented.
|
| |
|
|
| |
lists and fixes unrealistic pitch changes.
|
| | |
|
| | |
|
| |
|
|
| |
protected. (#14094)
|
| |
|
| |
* fz1: drive select is not connected
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Should be added soon:
- mute
- speaker/microphone resampling
To be added a little later:
- compression
- reverb
Needs to be added by someone else:
- coreaudio
- direct
- portaudio
- xaudio2
- js
|
| |
|
|
| |
if no format scores
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used (#13135)
* flopdrv: Eliminate floppy_get_drive_type and floppy_set_type
No callers for these functions allowing us to get rid of the
FLOPPY_TYPE_ defines as well.
* flopdrv: Drop flopimg_get_image
* flopdrv: Drop floppy_drive_get_next_id
Only possible user for this is 990_dk under ti99x, but this code is
currently commented out.
* flopdrv: Drop floppy_drive_read_track_data_info_buffer
* flopdrv: Drop floppy_drive_write_track_data_info_buffer
* flopdrv: Drop floppy_drive_format_sector
* flopdrv: Drop floppy_drive_set_index_pulse_callback
Only caller for this is micropolis, but this code is commented
out and callback method does not exist either.
* flopdrv: Drop floppy_drive_get_current_track_size
* flopdrv: Drop floppy_wtd_w
* flopdrv: Drop floppy_wpt_r
This is used in commented out code in agat.
* flopdrv: Drop floppy_dskchg_r
* flopdrv: Drop floppy_twosid_r
* flopdrv: Drop flopimg_get_sectors_per_track and flopimg_get_id_callback
* flopdrv: Drop unneeded state variables: m_id_index, m_rdy
* flopdrv: Make some members as private
|
| |
|
|
|
|
|
| |
clang on Windows x86-64 is getting upset about code that is making no
assumptions about the relative sizes of uint64_t and long.
Also, fixed more #include guards.
|
| |
|
|
|
|
| |
Pai.
Also fixed a bunch more #include guards.
|
| | |
|
| |
|
|
| |
stuff with hunks.
|
| |
|
|
|
|
|
|
|
| |
- Have metadata_find return std::error_condition instead of throwing an exception
- Replace the is_XXX predicates with check_is_XXX methods that return a std::error_condition, enabling improved error reporting for cdrom_image_device
- Retain read error information in chd_file_compressor
- Make a bunch of methods noexcept
This mostly restores the changes from cc772072fa635146b1df39a5694d2a8f8aa5a34f.
|
| | |
|
| |
|
|
| |
(#12822)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
| |
* bml3mp1805: Use correct SSSD drive type
|
| |
|
|
|
| |
* floppy.cpp: Use standard drives for hard-sectored systems
* fix typo
|
| |
|
|
|
|
|
| |
Gallager's patches.
Removal of the flux screen experiment.
Removal of the unused get_pos().
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
| |
disk without image file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, when `floppy_sound_device::step` selects a new seek sample, the
value of `m_seek_samplepos` remains the same as it was the last time a seek
sample was played. This might be an invalid position for the new sample,
since the seek samples have different lengths. When this is the case, the next
call to `floppy_sound_device::sound_stream_update` makes an out-of-bounds memory
access as it reads the sample data.
Fix this by resetting `m_seek_samplepos` to 0 when a new seek sample is
selected.
This also makes the seek sounds more consistent, since previously they would
start from a semi-random position each time.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`floppy_image_device::find_index` uses binary search to find the index for
which `buf[spos] <= position < buf[spos + 1]`. However, the algorithm behaves
incorrectly when `position < buf[0]`. In this case, the algorithm returns 0,
as if `position` was between `buf[0]` and `buf[1]`.
The effect of this is that if `get_next_transition` is called with a timestamp
that is between the start of the revolution and the first transition, then
instead of returning the timestamp of that transition, it returns the timestamp
of the second transition instead. Essentially, the first 1-bit on the track gets
flipped to a 0.
I have encountered this in Apple II emulation, where this bug manifests as
sporadic I/O errors.
Fix it by doing two things:
1. Replace `find_index` with a call to `upper_bound` from the standard library,
which behaves correctly in edge cases.
2. If `upper_bound` signals that `position < buf[0]`, then adjust `base` and
`index` to point to the last transition of the previous revolution.
|
| |
|
|
|
|
|
|
|
|
|
| |
CD-ROMs, indexes, and track flags (#12201)
* util/cdrom: Refactoring
* util/cdrom: Read all indexes from cue files
* util/cdrom: Read in track flags from cues
* util/cdrom: Multisession support for cues
* machine/t10mmc: Playback from current head, other misc cleanup
* machine/t10mmc: Implement T10MMC_CMD_MECHANISM_STATUS
* machine/t10mmc: Implement TOC_FORMAT_FULL_TOC, TOC_FORMAT_SESSIONS, and return proper indexes for T10MMC_CMD_READ_SUB_CHANNEL
|
| |
|
|
|
| |
cassette images in FLAC format. (#12115)
util/flac.cpp: Implemented seek/tell callbacks for FLAC library.
|
| | |
|
| |
|
|
|
| |
emu/diimage.h: Removed fread overloads that allocate memory for output.
util/core_file.cpp: Changed output size of load to size_t.
|
| |
|
|
| |
* util/options.h: Use forwarding header
|
| |
|
|
|
| |
-imagedev/cdrom.cpp: Report unsuitable CHDs as "invalid image" rather
than "unsupported operation".
|
| |
|
|
|
|
|
| |
ROM region.
* Reverted workaround 4c0957d7f0ba6a72e7267270db07ee06fe717109.
* Cleaned up a few things.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
------------------------------
Cuty Line Limited (ver.1.30) [freaktech]
- igs/goldstar.cpp: enabled girls display for cmast91 and other games on same hw, removed 2nd ppi as PCB pics and readme only show one
- various files: removed superfluous semicolons
|
| |
|
|
|
|
|
|
|
| |
This caused numerous regressions, including floppy formats not working
and application hangs when using some formats.
This reverts commit b2c399c61d65063ae95e8387d34b098e9516b1a9.
This reverts commit cf510adc9d34b4ad9a065f3d5bfbcf17115ea06f.
|