summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
Commit message (Collapse)AuthorAgeFilesLines
* -frontend: Give heading items in menus a bit of horizontal space. Vas Crabb15 hours2-16/+14
| | | | | | | | | -emu/machine.cpp: Got rid of an outdated and hence misleading comment. -Got rid of a few more uses of UNUSED_FUNCTION. -Tidied up more slot machine layouts, and fixed VFDs in debug views that had inadvertently been broken.
* Remove a few outdated references to MESS Dirk Best3 days8-19/+12
|
* Various cleanups. Vas Crabb4 days1-2/+2
|
* Soul-crushingly frustrating clean-up: Vas Crabb4 days1-4/+4
| | | | | | * 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.
* -Filled out most of the Slovak translation. [Milan Galcik] Vas Crabb5 days1-13/+5
| | | | -Cleaned up various bits and pieces. [Vas Crabb]
* srcclean in preparation for release of MAME 0.238. Vas Crabb2021-11-212-83/+83
| | | | | | | 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.
* Miscellaneous #include cleanup AJR2021-11-203-3/+3
|
* apple2gs: add debugger annotations for the Animation Toolset [R. Belmont, ↵ arbee2021-11-201-3/+10
| | | | Antoine Vignau]
* bus/snes/sa1.cpp: Flesh out some SA1 features, Fix SNES timing, interrupt ↵ cam9002021-11-191-23/+32
| | | | (#8673)
* apple2gs.cpp: Checkpoint along the way to bit-serial ADB emulation. [R. Belmont] arbee2021-11-152-15/+24
| | | | macadb.cpp: Small cleanups and improved logging capability. [R. Belmont]
* archimedes_keyb.cpp: Swap Center and Right mouse buttons. Nigel Barnes2021-11-141-5/+5
|
* rtpc: complete on-disk post routines Patrick Mackinlay2021-11-112-0/+7
|
* wd_fdc: Wait for sector read/write to complete on interrupt d0-7, fixes ↵ prime68092021-11-081-105/+250
| | | | rmnimbus floppy access errors
* coco: audit save state and enable it (#8750) tim lindner2021-11-072-0/+3
|
* fixes for variables set but not used smf-2021-11-071-1/+1
|
* amstrad: Return 0xFF on PPI port A when the PSG is inactive. Fixes Puzzle ↵ Barry Rodewald2021-10-281-1/+2
| | | | Bobble.
* srcclean in preparation for branching 0.237 release Vas Crabb2021-10-242-42/+42
|
* st0016.cpp: Fix debug build AJR2021-10-231-1/+1
|
* Various ST0016 updates, Especially sound and interface functions (#8686) cam9002021-10-232-291/+311
| | | | | | | | | | * sound/st0016.cpp: Fix sound pitch, related to CPU clock use struct for each voices, Minor fix in sample position, use device_memory_interface for fetching sample behavior, Add notes machine/st0016.cpp: Use seperated address space for character RAM space, use device_video_interface for screen finder, use device_mixer_interface for sound output instead preinstalled speaker device, Fix spacing, Add notes, Use shorter/correct type values speglsht.cpp, srmp5.cpp: Fix ST0016 clock (these are hasn't 8MHz or 48MHz XTAL), Fix naming speglsht.cpp: Fix 1 pixel gap in ST0016 layer srmp5.cpp: Reduce unnecessary line * simple_st0016.cpp: Add notes of CPU clock
* First pass in improving Amiga SW compatibility (#8722) Angelo Salese2021-10-191-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * amiga.cpp: connect missing DSKINDEX signal from FDC to CIA-B ICR bit 4 * amigafdc.cpp: workaround live_counter > 8 to reset, makes abreed to boot to gameplay * 8364_paula.cpp: fix output channel of irq delegation, and throw one when a DMA reaches the end of a stream. Fixes asparmgp/gpmaster BGMs at very least * mos6526.cpp: guard against resetting IRQs when none is chained * makes timer B polling reads to actually work in barb2paln4, fixing booting * amigafdc.cpp: start adding logmacros * amigafdc.cpp: fix DMAON readback, giving logica2 diag BIOS the chance to print extensive floppy test info * 8364_paula.cpp: avoid reading audio DMA buffers outside the allocated ranges, fixes sound buzzing/aliasing bug * alg.cpp: standardize title metadatas * amigaocs_flop.xml: QA, consistent XML titles, consistent ids of virus plagued disks (additional field plus mark these as baddump) * amigaocs_flop.xml: mark the failures on mount and bulk test with ATK * 8364_paula.cpp: fix DMA reload behaviour (fixes BGMs in Ocean games), add live logging, misc * amiga.cpp: ignore bit 0 with BPLxMOD writes, fixes hpoker/hpokera GFXs * amigaocs_flop.xml: misc QA notes
* RM Nimbus updates: (#8684) prime68092021-10-101-120/+121
| | | | | * Updated mouse handling so it mostly works * Updated SASI/SCSI code so that formatting disks with HDFORM works for ST125N and ST225N. * Added documentation of the video code drawn from the Nimbus Service manual.
* bus/nes: Added support for K-3033 and 970670C type multicart. (#8665) 0kmg2021-10-061-0/+1
| | | | | | | New working software list additions (nes.xml) ----------------------------------- 2 in 1 (NT-811) [Consolethinks] 4 in 1 1999 [Consolethinks] 35 in 1 (K-3033) [anonymous]
* Fix various typos in comments AJR2021-10-051-1/+1
|
* More low-effort cleanup. Vas Crabb2021-10-052-2/+7
| | | | | | | | * Got more slot card classes out of headers. * Changed most of the Apple II cards still looking up ROM regions manually to use required_region_ptr. * Removed an unreferenced function leftover from copy-pasting another device from the Videx Uniprint device.
* machine/bagman: correct license/copyright holder hap2021-10-041-6/+3
|
* util: Further API cleanups: (#8661) Vas Crabb2021-10-051-3/+2
| | | | | * Turned `core_file` into an implementation of `random_read_write`. * Turned PNG errors into a standard error category. * Added a helper for generating what look like derived classes on-the-fly.
* add all debug options to template. fix shift count to properly display M ↵ tim lindner2021-10-031-3/+3
| | | | | bits. (#8656) 6883sam: add all debug options to template. fix shift count to properly display M bits.
* machine/amstrad.cpp: Fixed spelling/grammar errors in comments. (#8649) jogo-2021-10-031-19/+19
|
* Revert "amstrad: fix spelling/grammar in the comments (#8647)" (#8648) R. Belmont2021-10-021-21/+21
| | | This reverts commit 2bc0a7ab939b4ac49a7fb533e96354773fa232e2.
* amstrad: fix spelling/grammar in the comments (#8647) jogo-2021-10-021-21/+21
|
* debugger: Extended target address syntax to include device/address space. ↵ Vas Crabb2021-10-016-65/+65
| | | | | | | | | | | | | | | | | | | (#8630) Added a validity check to ensure address space names are tag-like and unique, since they're now used as identifiers in debugger commands. Extended the syntax for target addresses to allow them to be qualified with a colon followed by an optional device tag and/or address space name. If only the device needs to be specified, a debugger CPU number may also be used. This makes commands like bpset and wpset more flexible, as they can operate on CPUs other than the currently visible CPU. Commands like find, fill, dump and load are more flexible as they can access any space of any device. Removed now-redundant CPU parameters from many commands, and renamed pcatmemp to pcatmem for consistency with other commands. Extended region syntax for saver/loadr to support tags relative to the visible CPU (e.g. you can use "." for the region with the same name as the visible CPU, or "^sibling" syntax). Added an optional root device parameter to memdump. Changed interpretation of Boolean values to support numeric expressions as well as true/false strings and literal 1/0. Added checks that the specified device is CPU-like to various commands that require a CPU (e.g. focus). Previously these commands would crash or trigger an assertion failure if a tag for a non-CPU devices was specified. Fixed the cpunum symbol so it uses the same rules for determining what is or isn't a CPU as parameter parsing. Made device_t sanitise subtags better. Previously you could cause an assertion failure or crash MAME by giving it unexpected relative tags via Lua or the debugger. Added help topic alias support, and reworked the data structures to improve the performance of looking up debugger commands and help topics. Removed the "ref" parameter from debugger command functions (std::bind can hold extra argument values for you if you need them). Also added an error message if duplicate debugger commands are registered. Updated help for commands that changed syntax, and also updated summaries for some commands that had changed in the past without corresponding help updates.
* bus/nes: Added support for original Dongdongnao II cartridge. (#8628) 0kmg2021-09-301-0/+1
| | | | | | | * Also set correct board type for Yeong-eo Pyramid, fixing title screen graphics, and identified it as a (licensed) clone of Dongdongnao II. New working software list additions (nes.xml) ----------------------------------- Dòngdòngnǎo II: Guózhōng Yīngwén (I) (Taiwan) [MLX]
* bus/nes: Added support for Y2K 420 in 1. (#8622) 0kmg2021-09-281-0/+1
| | | | | New working software list additions (nes.xml) ----------------------------------- Y2K 420 in 1 [BootGod]
* srcclean in preparation for MAME 0.235, and two small adjustments. Vas Crabb2021-09-263-70/+70
| | | | | | | * Reduce repeated directory walking in cleansrc target (substantially improves speed of building the target on Windows). * Disable a validity check using an MSVC language extension when using clang in MSVC ABI mode.
* Add floppy support to NEC PC-8001 (#8532) Angelo Salese2021-09-252-0/+546
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New clones marked as NOT_WORKING -------------------------------- PC-8001mkIISR [anonymous] * Generate a new pc8001_flop.xml list, based off Neo Kobe dumps; * Move several items from pc8801_flop.xml to the new pc8001_flop.xml; * Generate new lists for pc8001mk2_flop.xml and pc8001mk2sr_flop.xml; * Hook aforementioned lists where they belongs ( i.e. N-Basic list is now shared between pc8801.cpp and pc8001.cpp, N80 list belongs to pc8001mk2 and pc8001mk2sr, N80SR list belongs to pc8001mk2sr alone) * upd3301.cpp: fix scrolling glitch when unthrottled * pc8001.cpp: fix machine configs inheritance * pc8001.cpp: constexpr the XTALs * pc8001.cpp: allow to enter into N80 BASIC mode for mk2 machines * Ported pc80s31k to device interface, and hooked it up to pc8001 * Fix validation errors * Misc documentation updates * uPD3301.cpp: implement bulk of attribute fields * upd3301: fix olyboss compile and crashing, add rvv signal * upd3301.cpp: fix last value of attribute row (7narabe), fix graphic mode when in width 40 (15puzzle) * upd3301.cpp: consider an attribute end of 0 equal to max size, fixes starfire * upd3301.cpp: rvv is definitely a global reverse rather than acting on palette for PC8001, document flgworld attribute weirdness (double somersault) * pc8001_flop.xml: QA selected SW * pc80s31k.cpp: split into PC80S31 (2d) and PC80S31K (2d/2dd/2hd) devices, rearrange disk bioses * pc8801.cpp: inherit pc80s31k device and kill off FDC legacy code * pc80s31k.cpp: documentation updates * pc8001_flop: move Magic Copy and a alt versions of ay1 and 4d house in here * pc98.xml: move daivacal from PC88 since it really belongs here * pc8801_flop.xml: major QA testing on suspicious floppy activities * pc8801.cpp: remove logging of High [TV]RAM * pc8801_flop.xml: fix rogue extra comment closing * pc80s31k.cpp: mailbox the PPI ports, fix barbatus booting; pc80s31k.cpp: allow filemst to boot, and add note about its unemulated extended HW; * upd3301.cpp: convert AT1/AT0/SC to an aggregate variable * upd3301.cpp: convert attribute fetch to be a client delegate * pc8001.cpp: move some shared functions to pc8001_base_state * pc8001.cpp: add DMA functions * pc8001.cpp: add extension setter for 24KHz mode (which will be used by PC-8801 once implementation is merged) * pc8801_flop.xml: fix description duplicate * Bulk replace pc8*_flop.xml capitalized Alt into lowercase * pc80s31k.cpp: add space.unmap() for terminal_count_r, reorder headers, make constructor trampoline protected * Standardize Daiva titles across XMLs * pc8801_cass.xml: revert of software name t[ape] postfixes * pc8801_flop.xml: more identification of N/V1 BASIC SWs
* Dumped the 68705P3 MCUs on 2 different types of sp.ACE fruit machine reel ↵ David Haywood2021-09-212-0/+117
| | | | driver PCBs [TTX] (#8593)
* bus/nes: Several small separate fixes. (#8580) 0kmg2021-09-211-1/+0
| | | | | | | | | | * Fixed empty menu in Supervision 16 in 1. * Fixed softlist loading of GB 63 in 1 and hooked it up with a compatible board type. Removed old partially-working code. * Removed a spurious line in PCB loader that set WRAM in SMB2J bootlegs--they don't have any! Software list items promoted to working (nes.xml) --------------------------------------- Ghostbusters 63 in 1 Super 128k - 16 in 1
* bus/nes: Added support for Super Russian Roulette. 0kmg2021-09-181-0/+1
| | | | | | New working software list additions (nes.xml) ----------------------------------- Super Russian Roulette [re4mat]
* Moved a few slot devices into anonymous namespaces, getting more stuff out ↵ Vas Crabb2021-09-142-7/+6
| | | | of headers and reducing dependencies.
* Formats-related refactoring AJR2021-09-111-0/+2
| | | | | | - Remove opresolv.h from emu.h and some other base headers - Split legacy floppy image class into a separate file - Clean up a lot of #includes in src/lib and src/tools/imgtool
* jvs13551.cpp: dumped Sega 838-13683-91 Rev.A JVS I/O [Darksoft] MetalliC2021-09-101-8/+10
|
* Miscellaneous cleanup. Vas Crabb2021-09-091-15/+0
| | | | | | | | | | | | cchasm.cpp: Combined source files, added I/O port finder, reduced audio levels to avoid hitting the limiter. redalert.cpp: Converted sound boards to devices and removed a couple of trampolines, making the driver state class considerably tidier. bus/amiga/keyboard, bus/sunkbd: Put a bunch of implementation classes in anonymous namespaces, getting implementation details out of headers and out of the global namespace.
* bus/nes: Added support for a 4 in 1 multicart. (#8549) 0kmg2021-09-071-0/+1
| | | | | New working software list additions (nes.xml) ----------------------------------- 4 in 1 HQ [famiac]
* segac2: decouple driver class from md_base_state hap2021-08-311-14/+0
|
* Miscellaneous clean-up. Vas Crabb2021-08-291-14/+14
| | | | | | | | | * play_1.cpp: Use output finders. * s3.cpp, s4.cpp, s6.cpp, s6a.cpp: Use output finders, reduced tag lookups. * taito_z.cpp: Use output finders, split up state class a little. * util/unzip.cpp: Use std::optional to make code clearer. * util/ioprocsfilter.cpp: Work around MSVC DevCom-1516410.
* harddriv.cpp, kenseim.cpp: Use output finders instead of output().set_value AJR2021-08-291-14/+16
|
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-2212-39/+39
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* srcclean for upcoming release Vas Crabb2021-08-221-1/+1
|
* Debugger-related feature removals and cleanup AJR2021-08-153-6/+3
| | | | | | | | - Remove the hotspot read tracker. This was never robustly implemented, but changes to the memory system made it much less useful, and the "speedup opportunities" which it aimed to determine are not very important from a current emulation standpoint. - Remove the CURSP/GENSP state symbol and the generic sp() getter. Stacking semantics vary too much between CPU architectures for this to be of much use. (A "SP" symbol has been added to a few CPU cores whose stack pointers were otherwise not being registered.) - Remove the cached pointer to device_state_interface and the state() fast accessor from device_t. Most users of device_state_interface either already had a pointer to the specific CPU device type or needed to check first for the presence of the interface. - Change the PC memory write tracker to use pcbase(), which works even when the instruction callback is masked out, instead of peeking at the PC history index. - Remove some obsolete watchpoint-related definitions from machine.h.
* coco3: Revert constant RAM fix. (#8438) tim lindner2021-08-141-6/+0
|