summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update voodoo code to leverage new save_registrar instead of its own ↵save_structs Aaron Giles2021-09-159-185/+132
| | | | temporary system.
* cking_master: use clock device for irq signal hap2021-09-101-1/+1
|
* clock: add setters for period, duty cycle, pulse width hap2021-09-102-26/+150
|
* Merge pull request #8550 from 0kmg/nes-kaiser-smb2-smb3 ajrhacker2021-09-082-64/+80
|\ | | | | bus/nes: Improved IRQ emulation for Kaiser KS202 and KS7032.
| * bus/nes: Improved IRQ emulation for Kaiser KS202 and KS7032. 0kmg2021-09-072-64/+80
| | | | | | | | | | - Corrected IRQ behavior based on more recent PCB observations. Fixes some flickering on World X-Y interlevel screens in SMB2J bootleg. - Corrected SMB3 bootleg's banking, also per PCB analysis.
* | Miscellaneous cleanup. Vas Crabb2021-09-094-634/+432
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | a2sd: warning: 'unused' attribute directive ignored [-Wattributes] Robbbert2021-09-081-1/+1
|/
* bus/nes: Added support for a 4 in 1 multicart. (#8549) 0kmg2021-09-076-7/+103
| | | | | New working software list additions (nes.xml) ----------------------------------- 4 in 1 HQ [famiac]
* bus/nes: Added support for A88S-1 board and related multicarts. (#8547) 0kmg2021-09-076-2/+115
| | | | | | | | | | | | New working software list additions (nes.xml) ----------------------------------- 1997 Super 7 in 1 (JY-201) [MLX] 1997 Super 6 in 1 (JY-202) [MLX] 1997 Super 7 in 1 (JY-203) [MLX] 1997 Super 7 in 1 (JY-204) [MLX] 1997 Super 7 in 1 (JY-205) [MLX] 1997 Super 7 in 1 (JY-206) [MLX] * C++ is not C, appease the compiler
* apple2: support for the AppleIISD card [R. Belmont, Florian Reitz] arbee2021-09-074-0/+675
|
* -Reworked device type definition macros a little and added more Doxygen. Vas Crabb2021-09-0785-133/+139
| | | | | | | | | | | | | | | * Reworked device type definition macros to eliminate one level of indirection when using device types by name. * Fixed a potential initialisation order issue that could affect device parent ROMs. * Eliminated the need for DEFINE_DEVICE_TYPE_NS - just use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_PRIVATE with fully-qualified names. * Changed device type aliases to static auto references in the headers. * Added Doxygen comments for system/device definition macros and system flags. -Added ROM parents for m68705u3 and a2diskiing.
* saitek_osa/maestro: use parent_rom_device_type for analyst hap2021-09-075-21/+11
|
* mc68hc11: Add stubs for TCTL registers; document coding bug in asma2k AJR2021-09-062-0/+52
|
* i8244: use parent_rom_device_type for i8245 hap2021-09-061-5/+15
|
* Allow devices to specify a parent for the purpose of searching for ROMs. Vas Crabb2021-09-066-22/+122
|
* -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-062-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The UI controls are described as zoom in/out, but they had the opposite effect on the palette and tile viewers. That has been changed to make them consistent with the tilemap viewer. * Made the default zoom key not act as a toggle. People are familiar with the function of Ctrl+0/=/- in web browsers, so making them behave similarly in MAME should make it more approachable. Also added the default zoom key to the relevant documentation page. * Implemented the default zoom key for the palette and tile viewers. * In the tilemap viewer, if the view is in default expand to fit mode, zoom in/out starting from the actual zoom ratio. Once again, this behaves more like the zoom controls in a web browser displaying an image so it should be more intuitive. * Made more messages from the tilemap viewer localisable. -util/zippath.cpp: Fixed MT08074. * There were multiple issues at play here. After #8443 was applied, is_root was simply never returning true on Windows, as OSD_WINDOWS isn't actually defined outside libosd and libocore. This caused phantom parent items to appear in disk roots on Windows, but it meant that the check in zippath_resolve would always fail so the trailing backslash would be trimmed. Fixing the macro test in is_root meant the trailing backslash from C:\ would no longer be trimmed, which caused the stat in zippath_resolve to fail. -bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost. -Reduced tag map lookups in several drivers and devices. -util/coretmpl.h: Removed an overload of bitswap that can be avoided using if constexpr. -Added doxygen comments to some classes, and fixed several doxygen warnings. -util, osd: Test for _WIN32 rather than WIN32. * In C++17 mode, WIN32 is no longer a predefined macro, although various things in 3rdparty define it to maintain legacy support. We're better off moving forward anyway for when WIN32 disappears entirely. (WIN32 is not a reserved name, while _WIN32 is, starting with an underscore follwed by an uppercase letter.)
* Decoupled RPK logic from TI-99 cartridge code. (#7880) npwoods2021-09-062-408/+100
| | | Decoupled support for RPK (RomPacK cartridge images) from TI-99 code, enabling the logic to be leveraged by other drivers.
* machine/fdc37c665gt.cpp: Fixed address usage for serial port registers. (#8536) 9871238791132021-09-051-6/+6
|
* tx0.cpp: Further fixes AJR2021-09-041-2/+2
| | | | | | - Load typewriter input into correct bit positions of LR - Invert MSB of display coordinates (fixes tic-tac-toe grid) - tx0_8kw: Resolve confusion between SHR and CYR semantics (these were incorrectly swapped)
* i8257: fix it so tc can work with multiple devices cracyc2021-09-041-2/+4
|
* poly.h: Minor naming/consistency cleanups. Aaron Giles2021-09-041-74/+79
|
* bus/nes: Moved gc6in1 games over to 8237 board and removed old code. (#8527) 0kmg2021-09-045-178/+1
|
* bus/nes: Improved emulation of N625092-related multi-game cartridges. (#8526) 0kmg2021-09-042-95/+77
| | | | | | | | * Fixes corrupt graphics in multiple games on all seven multi-game carts (including the new addition). * Fixes flickering menu for several cartridges, making them usable. New working software list additions (nes.xml) ----------------------------------- 5000000 in 1 (JPx72) [anonymous]
* poly.h: Remove unused flags, expose object data array directly, add ability ↵ Aaron Giles2021-09-034-71/+51
| | | | to register other poly_arrays.
* unidasm: Add disassembler for DEC VAX architecture AJR2021-09-032-0/+1158
|
* Move endianness type into lib/util header AJR2021-08-311-4/+4
|
* 8042kbdc.cpp: mouse reset answers at least one byte if mouse disabled. yz70s2021-08-301-3/+11
| | | | Makes nforcepc bios happy.
* Merge pull request #8513 from 0kmg/nes-mapper234 ajrhacker2021-08-302-44/+26
|\ | | | | bus/nes: Fixed several games not loading in Maxi 15 multicarts.
| * bus/nes: Fixed several games not loading in Maxi 15 multicarts. 0kmg2021-08-292-44/+26
| | | | | | | | | | | | | | | | Software list items promoted to working (nes.xml) --------------------------------------- Maxi 15 (Aus) Maxi 15 (USA) Maxi 15 (USA, v2.0)
* | -f-32.cpp: royalpk2 fixes and updates (#8493) [Ryan Holtz] MooglyGuy2021-08-302-22/+71
| | | | | | | | | | * royalpk2 is now essentially playable, but marked not working due to settings-saving issues. -cpu/e132xs: Fixed issues with SARDI instruction (fixes mosaicf2). [Ryan Holtz]
* | Implemented pan for stereo support for ics2115 (#8489) nabetse2021-08-272-28/+35
|/
* osd: Return would block when reading a socket with no data available - no ↵ Vas Crabb2021-08-271-2/+2
| | | | error can be confused with remote shutdown.
* Merge tag 'mame0235' into mainline-master Vas Crabb2021-08-271-1/+1
|\ | | | | | | MAME 0.235
| * Fix a duplicate #include and an indendation error Vas Crabb2021-08-231-1/+1
| |
* | Merge pull request #8490 from 0kmg/nes-lh42 ajrhacker2021-08-267-15/+87
|\ \ | | | | | | bus/nes: Added support for a Highway Star bootleg.
| * | bus/nes: Added support for a Highway Star bootleg. 0kmg2021-08-247-15/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Renamed hstarfds to highwayk. It cannot be an FDS bootleg since Highway Star only appeared on cart. - Demoted all Rad Racer/Highway Star games to partially supported due to severity of graphical issues (car dashboard flickers to top of screen, etc). New working software list additions (nes.xml) ----------------------------------- Highway Star (Whirlwind Manu bootleg) [krzysiobal]
* | | Merge pull request #8495 from 0kmg/nes-mappers-114,115,182 ajrhacker2021-08-268-300/+59
|\ \ \ | | | | | | | | bus/nes: Simplified a few related boards by Kasheng and Hosenkan.
| * | | bus/nes: Simplified a few related boards by Kasheng and Hosenkan. 0kmg2021-08-268-300/+59
| |/ / | | | | | | | | | | | | - Reduced redundant code by making "kasing" device parent class for sglionk/sgboog. The latter are identical save for the extended register/address scrambling. - Eliminated hosenkan device altogether (mapper 182). It is identical to sglionk (mapper 114).
* | | hd6120: Fix effect of TAD on LINK flag AJR2021-08-261-3/+1
| | |
* | | gts1: various fixes. Still not working though. Robbbert2021-08-272-62/+52
| | |
* | | tx0dasm.cpp: Add notes on OPRs for reference AJR2021-08-261-0/+74
| | |
* | | fdc37c93x.cpp: update to support ps/2 mouse yz70s2021-08-251-0/+2
| | |
* | | 8042kbdc.cpp: improve management of ps/2 mouse yz70s2021-08-252-26/+105
| | | | | | | | | | | | | | | | | | | | | | | | - add mouse interrupt - support more mouse commands - use command byte to enable/disable mouse and keyboard interrupts Now the ps/2 mouse works with windows 98
* | | i386.cpp: when DEBUG_MISSING_OPCODE is defined, log a small backtrace yz70s2021-08-252-4/+16
| | | | | | | | | | | | | | | | | | This way together with the full list of bytes that form the non recognized opcode there are the addresses of the previously executed instructions.
* | | es5503.cpp: Initialize variable properly; clean up code a little AJR2021-08-251-14/+3
| | |
* | | upd7220: don't run wdat if figd figure type is set and set the patter… (#8470) cracyc2021-08-241-1/+30
| | | | | | | | | * upd7220: don't run wdat if figd figure type is set, set the pattern in wdat and reset figure type
* | | Major state refactoring of pc98 based HW (#8475) Angelo Salese2021-08-2417-148/+1013
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First major step in splitting up machine classes in NEC PC98 family tree: * Splits up derivative HWs into own state machine and files (pc98ha.cpp, pc9821.cpp and pc9801_epson.cpp); * Adds a preliminary uPD4991a parallel RTC, used by pc98ha; * Fix -26, -86, -118 C-bus sound board dips or jumper settings; * Fix default sound card for pc9821 (-86) and pc9821ce2 / pc9821cx3 (-118); * Adds preliminary MAD Factory Otomichan-kai C-bus sound board; * Adds boilerplate code for C-bus installing board I/Os, avoiding the possible inconvenience of board(s) getting silently unmapped by other installed boards; * Major refactoring of HW dip switches readouts, using required_ioports instead of scattering things around in PPI hooks; * Extensive QA rundown, including research on missing features and undumped machines. pc9801.cpp: Don't passthrough mouse irq frequency when cycle setting is setup too, fixes jastrike mouse input on options menu. pc9801.cpp: Fix kanji RAM window LR readback, makes telenetm to properly display 8x16 chars on RS and derivative machines. pc8801.cpp: fixed OPNA RAM readback, allowing SWs to playback ADPCMs properly. New machines marked as NOT_WORKING ---------------------------------- PC-98LT [anonymous] PC-98HA "Handy98" [anonymous] PC-9821Nr15 (98NOTE Lavie) [flyingharuka] PC-9821Nr166 (98NOTE Lavie) [flyingharuka] PC-9821Nw150 (98NOTE Lavie) [flyingharuka] PC-9821Ra266 (98MATE R) [flyingharuka] PC-9821Cx3 (98MULTi CanBe) [flyingharuka] PC-9801VX [qazmko1029] PC-9801US [CoolMod]
* | | okim6295, okim6376, okim9810: Explicitly clamp output streams to within range AJR2021-08-233-0/+12
|/ /
* | bus/nes: Added support for a 9-in-1 multicart. 0kmg2021-08-236-3/+106
| | | | | | | | | | | | | | | | | | - Also, 8237 board improvements from previous commit now work when loading loose .nes files. New working software list additions (nes.xml) ----------------------------------- 2 in 1 - The Lion King & Bomber Boy [NewRisingSun] 9 in 1 [NewRisingSun]
* | formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-2254-425/+422
| | | | | | | | | | | | | | | | | | 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.