Commit Graph

83382 Commits

Author SHA1 Message Date
couriersud
fe1e26a9fb
sound.cpp: Fix missed samples due to state save (#9917) (#9918)
* sound.cpp: Fix missed samples due to state save (#9917)

The PR address #9917. A save state may occur between time slices.
Sound devices through sound.cpp are updated during a timer call every
20ms. When the state is saved, these devices are not updated to the
current machine time. Consequently after a state load the devices have
have a "time lag" since in postload buffer end time is forced to
machine time.
This change will save the last buffer end time so that all outstanding
samples are processed.

This is a core change. I tested it on some drivers. This needs a very
thorough review and I post the PR primarily to document a possible
solution.

* sound.cpp: use "stream.sound_stream" as module name for save_item

* sound.cpp: use presave handler to store end_time()
2022-06-15 12:39:00 +02:00
David Haywood
ac042242b7
mpu4: move some crystal specifics into crystal state, remove some unneccessary parts of the bootleg chr emuation (#9932) 2022-06-15 06:37:26 -04:00
hap
2d43dbb5f3 igs022 handle_command_6d: don't do unneeded work on strings when logging is disabled 2022-06-15 11:39:10 +02:00
Robbbert
2ed18f65e7 fixes for mpu4/arcade.flt, and jp.cpp/mame.lst. 2022-06-15 19:09:41 +10:00
David Haywood
468ba897f6
MPU4 refactoring, reverse engineering, notes etc. (#9893)
* Moved protection simulation to devices, and got more games to boot.
* Corrected lamp output mapping for most games.
* Correctly identified more games, and removed bad dumps.
* Organised sets better, and cleaned up some of the implementation.
2022-06-15 16:35:16 +10:00
Miodrag Milanovic
62fd9b344d Cleanup using state object 2022-06-15 08:29:55 +02:00
Vas Crabb
321bdd5e58 More miscellaneous cleanup:
spectrum.cpp: Removed a member from the base state class that's only
used by certain Soviet clones.  There seems to be some copy/pasted code
in the clone drivers - pehaps they can share some of the implementation.

spec128.cpp: Moved the Spectrum 128 state class declaration to the
corresponding header.

Reduced redundancy in a few fruit machine layouts.
2022-06-15 15:45:08 +10:00
AJR
496055720b e132xs: Cleanups
- Add helper functions for double-word register accesses and multiplication
- Make 16-bit multiplications signed for EHCMULD and EHCMACD
- Correct typo in comments
2022-06-14 21:09:22 -04:00
Vas Crabb
9c53786b92 rohga.cpp: Correct nitrobal protection device. 2022-06-15 07:59:47 +10:00
Vas Crabb
960c3bc1e8 rohga.cpp: Got rid of leftovers in wizdfire config.
I clearly shouldn't be programming at this point.
2022-06-15 07:47:32 +10:00
Vas Crabb
eb8fd9ac8e rohga.cpp: Got rid of leftover in rohga machine config. 2022-06-15 07:35:07 +10:00
Vas Crabb
7604944670 rohga.cpp, seta.cpp: More cleanup.
* seta.cpp: Split a bit more off from base class.
* roha.cpp: Factored out common machine configuration.
2022-06-15 07:27:45 +10:00
Vas Crabb
b911bd29a5 Cleaned up a few more legacy callbacks. 2022-06-15 06:21:56 +10:00
Vas Crabb
d8854e4e55 Updated scripts to support SOURCES= builds after the reorganisation happens. 2022-06-15 05:07:09 +10:00
hap
c1f1ab2717 segaufo: added GAL for ufo21 [Darksoft, Team Europe] 2022-06-14 20:30:32 +02:00
Ivan Vangelista
7ea2eba4d8 - d9final.cpp: updated parent / clone relationship as suggested
- dec8.cpp: added hw infos for oscar [Guru]
2022-06-14 20:26:40 +02:00
MetalliC
260469eb92 segasp.cpp: games docs 2022-06-14 17:46:59 +03:00
ICEknigh7
6709e6011e
[spectrum_cass.xml] Added 56 type-in programs from MicroHobby (#9903)
New working software list additions
-----------------------------------
spectrum_cass:
Balalín (type-in, MicroHobby issue 125) [Ignacio Prini]
Magnus Zone (type-in, MicroHobby issue 126) [Ignacio Prini]
Oráculo Egipcio (type-in, MicroHobby issue 127) [Ignacio Prini]
Demolition (type-in, MicroHobby issue 128) [Ignacio Prini]
Basket Trainer (type-in, MicroHobby issue 129) [Ignacio Prini]
Galaxy Fun (type-in, MicroHobby issue 130) [Ignacio Prini]
Micro Draw (type-in, MicroHobby issues 131, 132) [Ignacio Prini]
El Alambrista (type-in, MicroHobby issue 133) [Ignacio Prini]
Ranamirez (type-in, MicroHobby issue 134) [Ignacio Prini]
Fórmula Suicida (type-in, MicroHobby issue 135) [Ignacio Prini]
Phantasmas (type-in, MicroHobby issue 136) [Ignacio Prini]
Dardos (type-in, MicroHobby issue 137) [Ignacio Prini]
S.E.M.I.S.I.S. (type-in, MicroHobby issues 138, 139) [Ignacio Prini]
Alley's Gun (type-in, MicroHobby issue 140) [Ignacio Prini]
Kleingeld (type-in, MicroHobby issues 141, 142) [Ignacio Prini]
Caribe’s Day (type-in, MicroHobby issue 143) [Ignacio Prini]
Rally (type-in, MicroHobby issue 144) [Ignacio Prini]
La Profecía (type-in, MicroHobby issue 145) [Ignacio Prini]
Mine Alert (type-in, MicroHobby issues 146, 147) [Ignacio Prini]
Freddy (type-in, MicroHobby issue 148) [Ignacio Prini]
Russian's Attack (type-in, MicroHobby issues 149, 150) [Ignacio Prini]
En Ruta (type-in, MicroHobby issue 151) [Ignacio Prini]
Zinco (type-in, MicroHobby issue 152) [Ignacio Prini]
Ruffo’s Dream (type-in, MicroHobby issue 153) [Ignacio Prini]
Crozet (type-in, MicroHobby issue 154) [Ignacio Prini]
Rock Animation (type-in, MicroHobby issue 155) [Ignacio Prini]
Bunker (type-in, MicroHobby issue 156) [Ignacio Prini]
Telepuzzle (type-in, MicroHobby issue 157) [Ignacio Prini]
Golfo Pérsico (type-in, MicroHobby issue 158) [Ignacio Prini]
Mad Drivers (type-in, MicroHobby issue 159) [Ignacio Prini]
Bowling Star (type-in, MicroHobby issue 160) [Ignacio Prini]
Gas-Car (type-in, MicroHobby issue 161) [Ignacio Prini]
Ghost Like (type-in, MicroHobby issue 162) [Ignacio Prini]
Sky Invaders (type-in, MicroHobby issue 163) [Ignacio Prini]
Perico Jones (type-in, MicroHobby issue 164) [Ignacio Prini]
Brad Zotes (type-in, MicroHobby issue 165) [Ignacio Prini]
Striker (type-in, MicroHobby issue 166) [Ignacio Prini]
Indy (type-in, MicroHobby issue 167) [Ignacio Prini]
Topin (type-in, MicroHobby issue 168) [Ignacio Prini]
Starlike (type-in, MicroHobby issue 169) [Ignacio Prini]
Tres en Raya (type-in, MicroHobby issue 170) [Ignacio Prini]
Goteras (type-in, MicroHobby issue 171) [Ignacio Prini]
Parvision (type-in, MicroHobby issue 172) [Ignacio Prini]
Furax (type-in, MicroHobby issue 173) [Ignacio Prini]
Duck Shooting (type-in, MicroHobby issue 174) [Ignacio Prini]
Nomen Rosae (type-in, MicroHobby issue 175) [Ignacio Prini]
PunkyMan (type-in, MicroHobby issue 176) [Ignacio Prini]
El Retorno del Yedi (type-in, MicroHobby issue 177) [Ignacio Prini]
Sky Warrior (type-in, MicroHobby issue 178) [Ignacio Prini]
Reptkon (type-in, MicroHobby issue 179) [Ignacio Prini]
Intro (type-in, MicroHobby issue 180) [Ignacio Prini]
Keops (type-in, MicroHobby issue 181) [Ignacio Prini]
Sir Gawain (type-in, MicroHobby issue 182) [Ignacio Prini]
Snake (type-in, MicroHobby issue 183) [Ignacio Prini]
Microbowl (type-in, MicroHobby issue 184) [Ignacio Prini]
God Save the Punk (type-in, MicroHobby issue 185) [Ignacio Prini]
2022-06-15 00:37:56 +10:00
MetalliC
f3dce63434 new NOT_WORKING clone
---------------------
Chibi Maruko-chan ~Minna de Sugoroku Asobi~ no Maki (Ver.1.00A, 04/04/20) [Darksoft, Team Europe, MetalliC]
2022-06-14 17:31:00 +03:00
holub
5849a983cc
tsconf.cpp: fix gfx offsets (#9905) 2022-06-15 00:18:02 +10:00
ClawGrip
b90ea3a273
geniusiq.cpp: Added PreComputer Unlimited (USA/Canada) (#9911)
* New NOT_WORKING machine
------------------------------
PreComputer Unlimited (USA/Canada) [Val Polyakh]
2022-06-15 00:14:07 +10:00
ClawGrip
ba70fb6797
pluto5.cpp: Add notes (#9904) 2022-06-15 00:12:16 +10:00
ClawGrip
635ec82102
New NOT_WORKING clone (#9907)
----------------------------------
Halley Comet (set 3) [Sergio y Vicente de www.electronicavys.es]
2022-06-15 00:10:14 +10:00
ClawGrip
a4ef7d6b4e
gts3a.cpp: Dumped and added a new 'Wipeout' set (#9664)
* New NOT_WORKING clones
-----------------------------------
Wipeout (rev.2, alt) [Victor Fernandez (City Game)]
2022-06-15 00:09:06 +10:00
Olivier Galibert
05c6df2856 First version of the src/mame sources reorganization tool, makedep needs some love. 2022-06-14 15:37:29 +02:00
Curt Coder
2bbbff6146 x37: Populate devices. [Curt Coder] 2022-06-14 13:35:06 +03:00
Olivier Galibert
e76d23fc73 saa7191: Move to devices/machine too 2022-06-14 12:07:55 +02:00
Olivier Galibert
58650bd681 at, cammu: kick upstairs too 2022-06-14 12:07:55 +02:00
Vas Crabb
540426ea91 Various cleanups:
* vsystem.cpp: Modernised code a little.
* upscope.cpp: Put code in anonymous namespace.
* Reduced redundancy in more fruit machine layouts.
2022-06-14 17:24:46 +10:00
Ivan Vangelista
6741eca4d6 New working clones
------------------
Rolling Panic (v2.33) [Darksoft, Team Europe]
2022-06-14 05:13:27 +02:00
hap
93c02eda70 segaufo: small update to notes 2022-06-13 23:54:46 +02:00
Ivan Vangelista
e1d00b62ba New machines marked as NOT_WORKING
----------------------------------
Magic Touch [Ivan Vangelista]
2022-06-13 22:56:46 +02:00
ArcadeShadow
ba5e0c747a
megadriv.xml: Use lowercase for descriptive text that isn't poper nouns. (#9924) 2022-06-14 06:52:40 +10:00
ArcadeShadow
d281113405
psx.xml: Use lowercase for descriptive text that isn’t proper nouns. (#9925) 2022-06-14 06:45:56 +10:00
Vas Crabb
b71a3796ca tickee.cpp: Fixed rapidfir gun inputs and cleaned up code:
* Split the lightgun games into a derived class.
* Got rid of run time I/O port tag lookups.
* Got rid of legacy start/reset callbacks.
* Registered some members for save states.
2022-06-14 05:08:19 +10:00
Olivier Galibert
ca96a6ccca patinho: decouple cpu from driver 2022-06-13 19:14:39 +02:00
Olivier Galibert
ec1cdc738c archimedes_keyb: also kick upstairs in devices/machine 2022-06-13 19:14:39 +02:00
Olivier Galibert
0ed8bbcab7 fm_scsi: kick upstairs in devices/machine 2022-06-13 19:14:39 +02:00
Miodrag Milanovic
149de81cdc return proper enumeration value 2022-06-13 19:12:29 +02:00
Vas Crabb
6126ec7477 8080bw.cpp, exidy.cpp: Minor I/O fixes:
* exidy.cpp: Hooked up coin counters for Venture (see #9757).
* 8080bw.cpp: Further clarifications for Sidam Invasion hardware.
  [Janniz]
2022-06-14 01:22:33 +10:00
Curt Coder
2cce99c452 New machines marked as NOT_WORKING
----------------------------------
Luxor X37 (prototype) [Dataindustrier AB DIAB Intressegrupp, Curt Coder]

New NOT_WORKING software list additions
---------------------------------------
x37_flop: ABCenix, cremount [Dataindustrier AB DIAB Intressegrupp, Curt Coder]
2022-06-13 15:20:58 +03:00
Vas Crabb
74fe6e9d5c -Got rid of some legacy MESS support glue.
* Got rid of the special-casing for the "mess" subtarget name.
* Got rid of the MESS-specific Windows resources, emuator info source
  and man page.
* Added subtarget name to the internal name and original name in Windows
  resources.

-ui: Put the system-specific items on the input settings menu together,
 and fixed the crosshair visibility settings.
2022-06-13 16:53:23 +10:00
cracyc
30ef2dd86b pwrview: pass z80sio tests 2022-06-12 21:18:35 -05:00
Brice Onken
084c103df0
r4000.cpp: partially implement secondary cache tag manipulation (#9923) 2022-06-13 07:31:28 +07:00
ClawGrip
c93d24fb23
Dumped and added a new set of 'Super Star' (#9927)
supstarf.cpp: Dumped and added a new set of 'Super Star', make it the parent since it's a complete dump.

New NOT_WORKING machine
-----------------------
Super Star (Recreativos Franco, set 1) [jordigahan]
2022-06-12 18:31:25 -04:00
hap
2f0ced261a dotrikun: update rom labels 2022-06-12 21:22:32 +02:00
Ivan Vangelista
54dbf74ce9 warpwarp.cpp: redumped bombbee and added hw info [Guru] 2022-06-12 18:41:29 +02:00
Ivan Vangelista
908646c4e4 New working clones
------------------
Knuckle Bash (location test) [coolmod]
2022-06-12 18:31:52 +02:00
Ivan Vangelista
f54c7010ab New clones marked as NOT_WORKING
--------------------------------
Sekai Kaseki Hakken (Japan, SKH1 Ver.B) [Darksoft, brizzo]
2022-06-12 18:12:18 +02:00
hap
ad1f6584d5 goldnaxe: easier/easy dipswitch setting was the wrong way around [Jose Tejada] 2022-06-12 16:37:35 +02:00