Commit Graph

64605 Commits

Author SHA1 Message Date
braintro
348a4ba53b New working clones
New working clones
------------------
DJ Boy (World) [Artemio Urbina, The Dumping Union]
DJ Boy (Japan, set 2) [Artemio Urbina, The Dumping Union]
2019-03-07 22:21:24 -06:00
braintro
1f05360610 angelkds.cpp: Minor doc update for Space Position (nw) 2019-03-07 22:14:02 -06:00
ajrhacker
6baa512f7c
Merge pull request #4732 from schnitzeltony/pokey-fixup
pokey: force recalculation of raw sound output after reset
2019-03-07 21:14:37 -05:00
mooglyguy
d037ce99f2 -spg2xx: Fixed audio channel stop behavior. [Ryan Holtz]
* Fixes bad or missing music/effects in jak_sbfc, jak_mpac, jak_wof, jak_wwe, and many others.
2019-03-08 01:22:46 +01:00
Ivan Vangelista
aeeeb05252 funybubl.cpp: appease Clang (nw) 2019-03-08 00:12:40 +01:00
Andreas Müller
3a0edd9a80 pokey: force recalculation of raw sound output after reset
* This fixes a regression introduced by [1]
* Could not detect a performance change introduced by this

[1] 308c3c2d04

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-07 23:39:35 +01:00
hap
725fa0f772 k28: simplify display handling (nw) 2019-03-07 22:33:30 +01:00
Michael Zapf
da3c5ca875 geneve: Fix GPL mode lockup, caused by prior interrupt latch modifications. 2019-03-07 21:12:49 +01:00
hap
f86ffd0802 added mm5445_device (nw) 2019-03-07 21:06:38 +01:00
Ivan Vangelista
b090ac4af1 mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starting with f and g (nw) 2019-03-07 17:52:30 +01:00
Olivier Galibert
023d907486 i2cmem: fix page write logic [O. Galibert] 2019-03-07 15:14:32 +01:00
ajrhacker
ed341b1c1b
Merge pull request #4729 from schnitzeltony/atari-pokey-performance-III
pokey_device::step_pot: remove operations with no effect
2019-03-07 09:11:48 -05:00
Andreas Müller
9a32c9c0f8 pokey_device::step_pot: remove operations with no effect
* step_pot is called from step_one_clock only and just in case pokey is not in
  reset state -> No need to check reset state again
* in case there were no bits in 'upd' latched to one, there is no need to call
  synchronize(SYNC_POT, 0) because m_ALLPOT won't change.

Performance results with missile / starwars (no pots):
Before:
./mame64 -bench 50 missile -> Average speed: 1171.67% (49 seconds)
./mame64 -bench 50 starwars -> Average speed: 551.66% (49 seconds)
After:
./mame64 -bench 50 missile -> Average speed: 1321.16% (49 seconds)
./mame64 -bench 50 starwars -> Average speed: 551.10% (49 seconds)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-07 15:04:44 +01:00
ajrhacker
14bdb5e293
Merge pull request #4728 from clawgrip/patch-27
New NOT_WORKING software list additions
2019-03-07 09:00:25 -05:00
AJR
2958be7d8d i8155, nsc810: Simplify read/write handlers (nw)
i8155: Rename "read" and "write" handlers to data_r and data_w, since these are neither complete nor typically-used accessors (nw)
2019-03-07 08:57:14 -05:00
AJR
4849160644 ncr5380n, ncr5385, ncr5390, ncr539x: Simplify read/write handlers (nw) 2019-03-07 08:41:05 -05:00
AJR
8e3543b398 am9513, am9517a, am9519, at_keybc, cs4031, ds128x, mc141618, wd7600: Simplify read/write handlers (nw)
Note that the VME handler installing routines can and should be redone later; this is merely enough for now.
2019-03-07 08:14:34 -05:00
hap
cc1b5720d9 hh*: use set_visarea_full (nw) 2019-03-07 14:02:50 +01:00
ClawGrip
c3043ed917
New NOT_WORKING software list additions
leapfrog_leappad_cart.xml: LeapPad - Libro Interactivo (Spain), El Rey León (Spain), Disney Princesas - Cuentos de las Princesas (Spain), Fiesta in the House! - ¡Party en la Casa! (Spain), ¡Yo aprendo inglés! - Mis Primeras 500 Palabras en Inglés (Spain) [TeamEurope, ClawGrip]

Also fixed a parent-clone relationship and renamed a set.
2019-03-07 11:42:09 +01:00
Olivier Galibert
51d6c61e14 more tuning... 2019-03-07 11:21:28 +01:00
Olivier Galibert
96fd979ecf Doh 2019-03-07 08:59:57 +01:00
Olivier Galibert
19624ee496 xavix: color tweaks, change to HCY [O. Galibert] 2019-03-07 08:55:21 +01:00
Robbbert
94afbec622 (nw) cortex: fixed regression 2019-03-07 17:26:33 +11:00
AJR
3de21263f4 ef9345, ef9365: Simplify read/write handlers (nw) 2019-03-07 00:19:44 -05:00
AJR
bcae47f7bb bus/ti99, geneve, ti99_[various]: Eliminate address space and mem_mask arguments in all handlers (nw)
at29x, hdc92x4, mm58274c, rtc65271, strata, tms9901, tms9902: Simplify read/write handlers (nw)
2019-03-07 00:04:32 -05:00
hap
50145b070b nsm: more like this (nw) 2019-03-07 04:25:29 +01:00
hap
83d028d832 svg screen: add verbose message instead of aspect ratio helper (nw) 2019-03-07 04:08:26 +01:00
hap
cf2e2c031d screen: add set_visarea_full plus some random examples (nw) 2019-03-07 03:33:32 +01:00
arbee
9a98942660 New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Yamaha MU-80 [R. Belmont, O. Galibert]
2019-03-06 21:10:49 -05:00
Robbbert
aeba8b4168 (nw) fixed validation of cru 2019-03-07 12:52:03 +11:00
Couriersud
e91d8e6939 Merge branch 'master' of https://github.com/mamedev/mame.git 2019-03-06 23:45:51 +01:00
Couriersud
07485fd7eb netlist: fix bugs in object initialization order. (nw) 2019-03-06 23:45:20 +01:00
ajrhacker
eea8a69fbc
Merge pull request #4480 from ajrhacker/crushift
tms9900, tms9980a, tms9995: CRU addressing change
2019-03-06 17:41:43 -05:00
ajrhacker
31762d7e18
Merge pull request #4725 from AmatCoder/AmatCoder-mc6845-1
mc6845.cpp: Do not reset line counter when screen parameters changed
2019-03-06 17:41:12 -05:00
hap
1c30786bc5 hh_amis2k driver rewrite (nw) 2019-03-06 21:47:53 +01:00
AmatCoder
c4f0852c32
mc6845.cpp: Do not reset line counter when screen parameters changed
Fix MT 06997, 06854 and 06423.
Also others games like "Profanation 2" works now.
2019-03-06 20:40:39 +01:00
Ivan Vangelista
d246606018 (nw) segas16b.cpp: fixed MT07250. 2019-03-06 18:50:04 +01:00
Ivan Vangelista
79ba35fad4 (nw) brkthru.cpp: added note about how to access Test Mode (MT07251) 2019-03-06 18:27:54 +01:00
Ivan Vangelista
f7db65e0f3 mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starting with h and from the heavy hitters starting with g (nw) 2019-03-06 18:07:20 +01:00
Michael Zapf
9a5e311c0b upd765: Fix Speedlock copy protection regression. 2019-03-06 14:22:27 +01:00
braintro
a31aad3e10 segas16b.cpp: Documentation update for Cotton (nw) 2019-03-05 21:34:04 -06:00
Andreas Müller
29a535e089 Atari pokey performance II (#4702)
* pokey: rename pokey_device::m_output -> pokey_device::m_out_raw

There is a variable pokey_device::pokey_channel::m_output. Two variables with
same name in close context but complete different maning are not exactly
helpful to understand the code.

renaming pokey_device::pokey_channel::m_output was not an option because this
would damage stored machine states - right?

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>

* pokey: rework for performance enhancements

Profiling with valgrind pointed to the following hotspot:

pokey_device::step_one_clock / line 686-689:
| for (int ch = 0; ch < 4; ch++)
| {
| 	sum |= (((((m_channel[ch].m_output ^ m_channel[ch].m_filter_sample) || (m_channel[ch].m_AUDC & VOLUME_ONLY)) ? (m_channel[ch].m_AUDC & VOLUME_MASK) : 0 )) << (ch * 4));
| }

First solution was to move bit-shifting to first part of ?-part:

| sum |= (((m_channel[ch].m_output ^ m_channel[ch].m_filter_sample) || (m_channel[ch].m_AUDC & VOLUME_ONLY)) ? ((m_channel[ch].m_AUDC & VOLUME_MASK) << (ch * 4)) : 0);

because shifting 0 does not change value. Performance measurements showed
improvements but they were not satisfying exactly (change is part of this
patch).

So I thought more of what this piece of code is about:
* it is run at high frequency (@starwars: 1.5MHz * 4 pokey instances *
  4 channels -> ~6MHz)
  => that is creating the high CPU cycle consumption
* frequency of output change is in a range of (double) audible frequencies (few
  kHz).
  => there are long sequences creating identical output
* the sum value calculated depends on few channel input variables: m_output /
  m_filter_sample / m_AUDC

This patch suggests a solution which keeps track of possible input variable
change and as long as they don't change there is no need to render output sum.

The following tests were performed:
* mame64 -bench 50 starwars: Average speed increases from ~430 to ~490 on my PC
* on screen profiling shows ~2% idle win
* starwars, missile-command and marble-madness do not show any audible
  artefacts

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>

* pokey: rework prescaler handling

* CLK_1 does not have a prescaler so there is no need to increment and reset
  m_clock_cnt[CLK_1]
* Unroll other prescalers: It gives performance win and reading is easier.

Function tests: on missile/starwars

Performance test: mame64 -nothrottle starwars
Before: Average speed: 409.36% (21 seconds)
After: Average speed: 447.37% (21 seconds)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-05 17:49:19 -05:00
David Haywood
390b7c812c new NOT WORKING clones (JAKKS Pacific / SunPlus) + WORKING machine (Geigeki Shooter XaviX) etc. (#4714)
* new NOT WORKING
---
Spider-Man (JAKKS Pacific TV Game) (older hardare) [Sean Riddle, external donators]

looks like this is SPG110 or similar, die markings to be confirmed, does things a little different to Pinball, so might just be a different mode, or slightly different die, we'll find out later.

* new NOT WORKING machines
---
I Can Play Piano [Sean Riddle, external donators]

new NOT WORKING software list entries
---
icanpian:pianfav Piano Favorites [Sean Riddle, external donators]

* specify unsupported (nw)

* (nw)

* add a known cartridges list to icanpian (nw)

* list some known carts here too (nw)

* (nw)

* visual inspection of die from Sean suggests it's the same (nw)

* (nw)

* add pinout information from Sean for the I Can Play Guitar and Piano carts

* new WORKING machines
---
Geigeki Go Go Shooting (Japan) [Peter Wilhelmsen, Sean Riddle, ShouTime, David Haywood]

new NOT WORKING machines
---
e-kara Mix (Japan) [Peter Wilhelmsen, Sean Riddle, ShouTime, David Haywood]

(e-kara mix is designed to connect to a PC, don't think it displays other than the startup warning message unless you do that, might also require specific carts)
2019-03-05 17:46:54 -05:00
AJR
6b67495d92 hpc: Notes (nw) 2019-03-05 14:01:53 -05:00
AJR
c63cd721ff hpc: Add HPC46003 type for future use (nw)
- Further bit instruction disassembly adjustments (nw)
2019-03-05 12:48:01 -05:00
AJR
6695e0d247 hpc: Correct disassembly of B&X mode bit instructions (nw) 2019-03-05 12:07:10 -05:00
ClawGrip
e44894efc1 New NOT_WORKING clones (#4720)
* New NOT_WORKING clone

-----------------------------------------------------
My First LeapPad (World, V1.3) [Sean Riddle, ClawGrip]

Also renamed the existing set to "mfleappadus", as it's the US version, an made the new set the parent, even being older, as it's the World version.

* Add "mfleappadus" (nw)

* New NOT_WORKING clone

------------------------------------------------
LeapPad (Canada) [Sean Riddle, ClawGrip]

* Fix year (nw)

* Add "leappadca" (nw)
2019-03-05 17:47:55 +01:00
ClawGrip
a1d7c49a44 New NOT_WORKING software list additions (#4712)
----------------------------------
leapfrog_mfleappad_cart.xml: Mi Primer Día de Escuela (SP), Las Princesas Disney (SP), El gran día de Croki [TeamEurope, ClawGrip]
2019-03-05 17:45:28 +01:00
ClawGrip
dd9000378e New WORKING software list additions (#4709)
-------------------------------------------
vsmile_cart.xml: My Friends Tigger and Pooh - En Busca de la Miel (SP), Toy Story 2 - El Rescate De Woody (SP), La Cenicienta - Los sueños mágicos de Cenicienta (SP), Dora La Exploradora - La Aventura arregla-todo de Dora (SP), Zayzoo - Mi Amiga del Espacio (SP), Conducción Divertida (SP) [TeamEurope, ClawGrip)

New NOT_WORKING software list additions
-------------------------------------------
vsmile_cart.xml: Scooby-Doo - Misterio en el Parque (SP) [TeamEurope, ClawGrip]

* Also fixed some parent-clone relationships and rename some sets. The Scooby-Doo dump needs to be verified, as it just shows a black screen.
2019-03-05 17:44:05 +01:00
ClawGrip
fb3183d005 New NOT_WORKING software list addition (#4708)
* New NOT_WORKING software list addition

-------------------------------------
vsmileb_cart.xml: Un Día en la Granja (Spa) [TeamEurope, ClawGrip]

Also renamed the german variant so parent and clones follow common name patters and reordered the list.

* Improve notes about romless carts (nw)
2019-03-05 17:42:00 +01:00