summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
Commit message (Collapse)AuthorAgeFilesLines
...
* rendersw: add out of bounds check to 16-bit get_texel (32-bit version ↵ hap2023-12-261-4/+13
| | | | already has it)
* rs232/pty: remove unused constexpr hap2023-12-191-1/+1
|
* sega/sega_beena.cpp: Hooked up barcode cards. Vas Crabb2023-12-141-6/+7
| | | | | | | | | | Systems promoted to working --------------------------- Sega TV Ocha-Ken [QUFB] Software list items promoted to working (tvochken.xml) ------------------------------------------------------ TV to Ocha-Card: Ocha-Ken 'Ho' to Seikatsu [Vas Crabb]
* emu/diimage.cpp: Added media change notifier and exposed to Lua. Vas Crabb2023-12-142-48/+100
| | | | | | | | | | | | | | | | | This allows interested parties to receive notifications on media changes. This is demonstrated by the file manager and media image information menus now updating immediately if the system ejects a mounted image, or a mounted image is changed by a script or something. ui/filemngr.cpp, ui/info.cpp: Update file manager and media image information menus immediately on media image changes. ui/menu.cpp: Return index of added item from item_append. bus/generic/slot.cpp: Use out-of-line virtual destructors to avoid vtable link errors in certain single-driver builds. bus/nubus: Tidy up some #include statements.
* nubus/nubus_cb264.cpp, pds30_cb264.cpp: Better guess at screen parameters; ↵ AJR2023-12-121-0/+1
| | | | note second XTAL and its probable use
* emufwd.h: Add forward declaration for render_bounds AJR2023-12-113-2/+4
|
* schedule/timer: be more consistent with s32 param hap2023-12-115-12/+12
|
* sound: removed cfg defvol/newvol (was already deprecated) hap2023-12-101-9/+0
|
* -emu/ioport.cpp: Allow punching holes in IPT_UNUSED and IPT_UNKNOWN. Vas Crabb2023-12-111-2/+2
| | | | -bus/waveblaster: Hide card implementations.
* misc artwork: remove obsolete text bg rect hap2023-12-081-45/+25
|
* emu/rendlay.cpp: Keep alpha channel intact when drawing text components. ↵ Devin Acker2023-12-071-12/+1
| | | | | (#11820) Improves appearance of text drawn over colors other than black.
* Added some additional layout functionality and script bindings. Vas Crabb2023-10-302-2/+63
| | | | | | Also corrected some copy/paste errors in documentation, and bumped documentation version as it now describes features that will appear in an upcoming release.
* sega/sega_beena.cpp: Emulated Advanced Pico BEENA and TV Ocha-Ken. (#11213) qufb2023-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Basic functionality is supported, making most games playable. StoryWare display is not yet implemented. Game-specific peripherals are not emulated. There are still some issues with graphics. emu/ioport.h: Fixed rarely-used PORT_CROSSHAIR_MAPPER and PORT_CROSSHAIR_MAPPER_MEMBER macros. cpu/arm7: Added AP2010 CPU device. sound/ap2010pcm.cpp: Added basic AP2010 PCM audio output device. Systems promoted to working ------------------------ Sega Advanced Pico BEENA New working systems ------------------------ Sega TV Ocha-Ken
* Disallow zero-length regions in ROM definitions and software lists AJR2023-10-222-0/+4
|
* emu/romload.cpp: Removed apparently obsolete FIXME comment. Vas Crabb2023-10-211-20/+16
|
* emu/romload.cpp: Tidy up some of the code a little. Vas Crabb2023-10-212-106/+123
|
* emu/romload.cpp: Don't search parent device search path for software media. Vas Crabb2023-10-202-30/+11
| | | | | | This was a piece of emergent behaviour in the original implementation of software media loading. It was preserved in the last big refactor of ROM loading, but it can be removed now to simplify the code.
* Allow clone CHDs to use parent CHDs as parents. Vas Crabb2023-10-202-78/+238
| | | | | | | | | | | * util/chd.cpp: Allow caller to provide a helper for finding parent CHDs and expose (recursive) missing parent status. * emu/romload.cpp: Search parent systems/devices/software for parent CHDs on encountering a delta CHD. * emu/romload.cpp: Report error on delta CHDs when parent can't be found. * emu/romload.cpp: Check parents for matching CHDs with different names for devices as well as systems and software.
* render.cpp: Nuke previous scaler when releasing a render_texture in case it ↵ AJR2023-10-191-0/+1
| | | | gets recycled later. This fixes occasional bad downcasts in debug builds when trying to bring up the tilemap viewer in certain drivers.
* Miscellaneous change roll-up: Vas Crabb2023-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | render/drawbgfx.cpp: Return an error if Wayland EGL surface can't be created for additional windows. emu/emucore.h: Added explicitly defaulted copy and move constructors for emu_fatalerror. Fixed apparent misunderstanding of const. Returning const value types and casting to const value types is pointless outside very narrow use cases. Putting const value type parameters in interfaces just makes trouble. cpu/adsp2100: Use count_leading_ones_32 where it's simple rather than inverting and counting leading zeroes. util/multibyte.h: Don't pollute global namespace, constexpr implies inline, make narrowing casts explicit. imagedev/simh_tape_image.h: inline is implied for member functions with bodies supplied at declaration. Tidied up some ugly casts in various places.
* ioport.cpp, rendfont.cpp: Use multibyte.h functions AJR2023-09-212-107/+30
|
* distate.cpp: Use count_leading_zeros_64 to calculate format width AJR2023-09-211-3/+1
|
* romload.cpp: Use std::string_view in determine_bios_rom AJR2023-09-212-7/+6
|
* Change parameter type for device_network_interface::set_mac from char * to u8 * AJR2023-09-193-4/+4
|
* ioport.cpp: Trim extra spaces in keyboard key names more safely AJR2023-09-171-3/+7
|
* speaker: set pan range to -1 to 1, hap2023-09-103-12/+12
| | | | sliders: show channel volume in percentage and increase maximum to 400%
* sound: deprecate cfg defvol, and change newvol to value hap2023-09-091-16/+17
|
* sound: add configurable speaker panning hap2023-09-093-26/+100
|
* machine/rp5c15.cpp: implement set_year_offset setter, fix x68k default year ↵ Angelo Salese2023-09-081-1/+1
| | | | | | | setup to be current rather than -20 (#11530) * machine/rp5c15.cpp: implement set_year_offset setter, fix x68k default year setup to be current rather than -20 * machine/ds1386.cpp: remove non-existant set_current_time fn override
* render.cpp: Use std::clamp for clamping aspect ratio AJR2023-08-161-6/+1
|
* ui/info.cpp: Get decimal separator from C++ locale. Also random cleanup. Vas Crabb2023-08-172-6/+6
| | | | | * emu/machine.cpp, emu/render.cpp: Catch exceptions by const reference. * Various spacing and #include order cleanup.
* heathkit/h19.cpp, heathkit/tlb.cpp: Added Northwest Digital Systems GP-19 ↵ Mark Garlanger2023-08-041-0/+3
| | | | | | | terminal (not working). (#11427) New clones marked not working -------------------------- Heath Company Heathkit H-19 w/ GP-19
* -emu/devcb.h: Removed set_log and append_log. Vas Crabb2023-08-023-192/+9
| | | | | | | | | * These helpers were unintuitive and inflexible. In particular, set_log on a write handler would only log when the value is non-zero, which doesn't appear to be the desired behaviour for several uses. -util/options.cpp: Always leave a space between option and description in usage messages (fixes GitHub #11438).
* zac2650.cpp: Rename driver to zac1b1120.cpp; add XTAL-derived timings and ↵ AJR2023-07-111-1/+2
| | | | some notes; eliminate spurious 3x scaling of Y-axis
* bus/ata: Do slot output signals the sensible way (fixes GitHub #11346). Vas Crabb2023-06-181-0/+2
|
* emu/devcb.h: Eliminated the need to call resolve() on callbacks. (#11333) Vas Crabb2023-06-178-173/+227
| | | | | | | | | | | | Read callbacks now need a default return value supplied at construction. Replaced isnull() with isunset() which tells you if the callback wasn't configured rather than whether it isn't safe to call. Enabled validation of device callbacks (it seems it was disabled at some point, probably accidentally). Device callbacks and object finders now implement the same interface for resolution.
* turbo,zaxxon: set 8255 tristate to 0, hap2023-06-161-1/+1
| | | | | m6800: zerofill more class variables, misc: change "Bios" to "BIOS"
* emu/devdelegate.h: Added resolve_safe and resolve_all_safe helpers. Vas Crabb2023-06-131-75/+170
| | | | | | | | | Uses decay rules, so if a delegate returns a reference and you want to supply a referene to an object you don't want copied as the default result, remember to use std::ref. Updated a few devices to use resolve_safe on device delegates to streamline code.
* tigeroad: remove tilerom tag lookup, hap2023-06-121-0/+1
| | | | midas: remove neogeo.h dependency
* emu/devfind.h: Added a lookup() member function to device finders. Vas Crabb2023-06-122-6/+46
| | | | | | | | | | | | | This simplifies looking up the target device during configuration. It is useful when configuring child devices in things like CPUs with integrated peripherals. emu/device.h: Allow templated subdevice() and siblingdevice() to work with classes that don't derive from device_t (e.g. classes that derive from device_interface). util/delegate.h: Added more noexcept. Won't make much difference as most of the affected member functions are inline anyway.
* Clean up several sprintf() deprecation warningss in non-3rdparty code. [R. ↵ arbee2023-06-034-10/+10
| | | | Belmont]
* emu/device.h: Removed device (READ|WRITE)_LINE_MEMBER in favor of explicit ↵ MooglyGuy2023-06-014-23/+10
| | | | function signatures. (#11283) [Ryan Holtz]
* srcclean in preparation for MAME 0.255 branch Vas Crabb2023-05-281-2/+2
|
* xtal.cpp: Add another known value (unused for now) AJR2023-05-271-0/+1
|
* debughlp: document gp command Patrick Mackinlay2023-05-231-1/+23
|
* ioport: put IPT_ADJUSTER in same class as IPT_CONFIG hap2023-05-221-1/+1
|
* Skeleton driver for 600 Cellular Activation Tester (#11225) MooglyGuy2023-05-131-1/+1
| | | | | | | | | | | | | | | | | * New systems marked not working ------------------------------ 600 Cellular Activation Tester [Ryan Holtz, Leo Romo] -m6801.cpp: Fixed HD6303R to use an internal map, removed internal-only handlers from associated drivers. [Ryan Holtz] -video.cpp: Raised maximum prescale value to 20 to account for very small LCDs. [Ryan Holtz] -screen.cpp: Replaced old MCFG_ references in a warning message with member function names. [Ryan Holtz] * -timekpr: Added Dallas DS1643, a clone of the STMicro M48T58. [Ryan Holtz]
* sinclair/sprinter.cpp: Added Sprinter Sp2000 enhanced Spectrum clone. (#11018) holub2023-05-121-0/+1
| | | | | | | cpu/z80: Added support for variants with address translation and implemented Z84C015 chip selects. New working clones ------------------- Peters Plus, Ivan Mak Sprinter Sp2000
* image: Executive decision: disk regions used the owner name (e.g., no :image) Olivier Galibert2023-05-091-1/+1
|
* image: Fix initialisation order, fix file menu enable, refine gdrom support Olivier Galibert2023-05-083-3/+11
|