Commit Graph

73652 Commits

Author SHA1 Message Date
Aaron Giles 93752fbd05 Stop memsetting structures. 2021-09-12 15:43:04 -07:00
Aaron Giles 67c0575d9e Re-enable SCHEDULER_DEBUG. Add timer list validation. 2021-09-12 15:42:41 -07:00
Aaron Giles a1dde21708 Add adjust_periodic() to persistent_timer. Update obvious situations where it can be used. Convert a few drivers from timer devices to plain timers to avoid adding adjust_persistent() to the timer device as well. 2021-09-11 21:40:00 -07:00
Aaron Giles e94edaf482 Fix merge errors and update new/changed drivers to latest APIs. 2021-09-10 11:09:56 -07:00
Aaron Giles fedb40f712 Merge branch 'master' into time-experiments2 2021-09-10 09:39:10 -07:00
MetalliC a99d2f3295 jvs13551.cpp: dumped Sega 838-13683-91 Rev.A JVS I/O [Darksoft] 2021-09-10 17:47:21 +03:00
hap 2c35e09c66 cking_master: use clock device for irq signal 2021-09-10 13:32:05 +02:00
hap c5ceada693 clock: add setters for period, duty cycle, pulse width 2021-09-10 12:55:54 +02:00
ajrhacker 925f5183a1
Merge pull request #8550 from 0kmg/nes-kaiser-smb2-smb3
bus/nes: Improved IRQ emulation for Kaiser KS202 and KS7032.
2021-09-08 14:20:39 -04:00
Vas Crabb 693764eb9c Miscellaneous cleanup.
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.
2021-09-09 04:12:45 +10:00
AJR e7528a445b Filesystem-related bug fixes
- Fix recently-introduced path-trashing bug in zippath_resolve
- Prevent UI file select menu from crashing in error cases where no files can be found
2021-09-08 14:05:51 -04:00
hap a768dd3a26 qix: remove a popmessage 2021-09-08 16:44:25 +02:00
hap adc77d82c1 kinst: add preliminary screen raw params 2021-09-08 16:15:12 +02:00
0kmg c092e80075 bus/nes: Improved IRQ emulation for Kaiser KS202 and KS7032.
- 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.
2021-09-07 22:31:51 -08:00
Robbbert 0086f32087 a2sd: warning: 'unused' attribute directive ignored [-Wattributes] 2021-09-08 13:01:00 +10:00
0kmg 972d324eb2
bus/nes: Added support for a 4 in 1 multicart. (#8549)
New working software list additions (nes.xml)
-----------------------------------
4 in 1 HQ [famiac]
2021-09-07 20:20:08 -04:00
0kmg 224b59597d
bus/nes: Added support for A88S-1 board and related multicarts. (#8547)
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
2021-09-07 19:57:10 -04:00
David Haywood c4beb69431
new WORKING machines (#8531)
------
SpongeBob SquarePants Jellyfish Dodge (JAKKS Pacific TV Game) (Apr 5 2007) [Sean Riddle, David Haywood]

new WORKING clones
------
Dora the Explorer - Doras Abenteuer-Globus (Germany) [Sean Riddle, TeamEurope]

-namcos2.cpp : made Japanese Marvel Land the parent, the US prototype is an earlier incomplete build, it ends abruptly, lacks any end credits, and is missing many of the levels (plus various other incomplete elements, see https://tcrf.net/Marvel_Land_(Arcade) ) 'US' could also be 'World' but I haven't changed that.
2021-09-07 19:56:14 -04:00
algestam 433ebe6b22
atarisy1.cpp: Fix overdriven sound (#8540) 2021-09-07 19:55:14 -04:00
arbee ea8102906e apple2: support for the AppleIISD card [R. Belmont, Florian Reitz] 2021-09-07 19:51:34 -04:00
Ivan Vangelista 87ecae55e3 banprestoms.cpp: identified some dips 2021-09-07 21:44:43 +02:00
Ivan Vangelista 5fa8da69fd flstory.cpp: corrected divider for rumba's main CPU, wrong source for copy-paste 2021-09-07 19:14:45 +02:00
hap 53036dc125 unkhorse, tamag1: add anonymous namespace 2021-09-07 19:11:53 +02:00
Ivan Vangelista 304e133862 - airraid.cpp, hanaawas.cpp: used finders instead of tagmap lookups and other minor cleanups
-  flstory.cpp: corrected main CPU clock for rumba, fixes sound regression [David Haywood]

- sbmjb.cpp: lowered Oki volume
2021-09-07 19:08:44 +02:00
hap 194fc276a4 kinst: do some driver cleanups 2021-09-07 17:00:52 +02:00
Vas Crabb 142f960238 -Reworked device type definition macros a little and added more Doxygen.
* 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.
2021-09-07 23:15:50 +10:00
Robbbert d6873bfacc supstarf: added notes. 2021-09-07 22:34:43 +10:00
hap 0611af8d51 saitek_osa/maestro: use parent_rom_device_type for analyst 2021-09-07 13:24:44 +02:00
Robbbert 56fbe2c9f0 spirit76,barni: updated copyright holders as requested. 2021-09-07 21:18:09 +10:00
Ivan Vangelista b948a81125 taito_f2.cpp: fixed MT08059 2021-09-07 05:25:19 +02:00
Ivan Vangelista 5f1639f31c pipeline.cpp updates:
- added missing input [David Haywood]
- minor cleanups
2021-09-07 04:55:14 +02:00
Patrick Mackinlay 1ef9fc7cca device.h: fix typos 2021-09-07 08:29:53 +07:00
AJR 4ba73f3689 mc68hc11: Add stubs for TCTL registers; document coding bug in asma2k 2021-09-06 20:51:21 -04:00
AJR 2f553c5313 alphasma.cpp: Use finder array for LCDCs; use memory_share_creator instead of RAM device 2021-09-06 15:08:54 -04:00
Robbbert b26e425161 barni.cpp : wip 2021-09-07 03:02:56 +10:00
hap c916de50a6 i8244: use parent_rom_device_type for i8245 2021-09-06 17:32:55 +02:00
Vas Crabb fa9c035c80 Allow devices to specify a parent for the purpose of searching for ROMs. 2021-09-06 23:41:35 +10:00
AJR f474673bc5 pipeline: Hook up sound communications and YM2203; fix sound PPI mapping 2021-09-06 09:37:06 -04:00
Vas Crabb 986a98c51d kinst.cpp: Simulate Killer Instinct 2 Upgrade Kit CPLD. [pdaderko]
Original device was reverse-engineered with a logic analyzer and test
ROMs.  The CPLD behaves as a slave device, returning data when selected,
based on previous writes.

Clones promoted to working
--------------------------
Killer Instinct 2 (Upgrade kit) [pdaderko]
2021-09-06 22:02:09 +10:00
Vas Crabb b018b00a6c dooyong.cpp: Reduced volume for YM2151/M6295 sound, coalesced some machine configuration. 2021-09-06 10:41:20 +10:00
Vas Crabb fc90db3edb calchase.cpp: Don't try to use portr for half the bus width. 2021-09-06 10:06:05 +10:00
AJR 422b28c378 amiga.cpp: Change machine configuration sequence so that the 68K CPU always comes first. This works around an issue with the debugger trying to focus first on a keyboard MCU being held in reset. 2021-09-05 19:34:07 -04:00
Vas Crabb a5e466717f util/coretmpl.h: Fixed clang narrowing warning. 2021-09-06 07:09:48 +10:00
AJR 467b4615f6 tx0.cpp: Add preliminary software list for both systems [AJR]
New working software list additions
-----------------------------------
tx0_ptp: Munching Squares, Punchy [Bitsavers, AJR]
2021-09-05 16:59:29 -04:00
Vas Crabb 4f495994c4 -ui: Made zoom controls a bit more intuitive.
* 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.)
2021-09-06 06:34:42 +10:00
npwoods 5e02ff231e
Decoupled RPK logic from TI-99 cartridge code. (#7880)
Decoupled support for RPK (RomPacK cartridge images) from TI-99 code, enabling the logic to be leveraged by other drivers.
2021-09-06 03:48:30 +10:00
hap fbd121cf43 dariusu: add continue price dipswitch
vigilant: swap punch/kick buttons to match with arcade cabinet
2021-09-05 15:09:09 +02:00
987123879113 40af517851
machine/fdc37c665gt.cpp: Fixed address usage for serial port registers. (#8536) 2021-09-05 22:43:10 +10:00
hap 5a6389a551 m72, segas16b: reduce audio volume 2021-09-05 14:13:29 +02:00
AJR fc79b73ba6 tx0.cpp: Further fixes
- 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)
2021-09-04 23:29:04 -04:00