Commit Graph

64566 Commits

Author SHA1 Message Date
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
ClawGrip
d01a6b7049 vtech_storio_cart.xml: Fix Scooby game year (#4704) 2019-03-05 17:39:58 +01:00
Ivan Vangelista
b0b1076f22 vsmile_cd.xml: fixed validation error 'Software List device 'cd_list': vsmile_cd.xml: wackyracs is a clone of a clone' (nw) 2019-03-05 17:39:24 +01:00
ClawGrip
c426d9b622 vsmile_cd.xml: Fix parent-clone relationships (make the later revision the parent) (nw) (#4710) 2019-03-05 17:36:45 +01:00
ClawGrip
fa2d137c47 vsmilem_cart.xml: Fix some metadata (nw) (#4703) 2019-03-05 17:35:37 +01:00
Ivan Vangelista
71fb88ba23 mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starting with i and a number (nw) 2019-03-05 15:34:16 +01:00
hap
b76ba5b7bb hh_tms1k: get rid of 7seg enum (nw) 2019-03-05 13:32:13 +01:00
Couriersud
f7661dc1f0 Fix German keymap. (nw) 2019-03-05 10:11:56 +01:00
hap
615854a727 hh*: refactor test layouts (nw) 2019-03-05 03:16:12 +01:00
AJR
a4842ffa79 champbas: LS259 device does this automatically now, so no need for this ugly hack (nw) 2019-03-04 19:22:20 -05:00
hap
625ed598b6 added phpball internal layout (nw) 2019-03-04 21:52:26 +01:00
Lord-Nightmare
f1e9f555bd transcription typo (nw) 2019-03-04 14:42:11 -05:00
Ivan Vangelista
80be0f2311 cps1.cpp: verified sf2ceblp dump and added ROM locations [hammy, The Dumping Union] 2019-03-04 18:09:08 +01:00
Ivan Vangelista
bb09736cdb taito_f2.cpp: dumped PALs for footchmp set [f205v] 2019-03-04 18:07:36 +01:00
Ivan Vangelista
a9a31f4532 gauntlet.cpp: dumped PROM at 4r and corrected size of ROM at 6p [Joe Magiera, The Dumping Union] 2019-03-04 18:06:35 +01:00
hap
bdc2f43a8c skyarmy: add todo note (nw) 2019-03-04 17:43:55 +01:00
hap
5b82611074 h2h basketball/hockey/soccer: draw the diagonal leds (nw) 2019-03-04 17:31:35 +01:00
f205v
8395494462 Correct label and location (#4715)
Label and location taken from real PCB
2019-03-04 10:10:47 +01:00
AJR
5f76200b7f age_cand: Use XTAL value, not that it makes any real difference now (nw) 2019-03-03 21:32:04 -05:00
ajrhacker
d06fb31a49
Merge pull request #4718 from cam900/witch
witch.cpp : Correct foreground tilemap and bankswitching behavior, Fi…
2019-03-03 20:44:30 -05:00
cam900
31aa38b718 witch.cpp : Correct foreground tilemap and bankswitching behavior, Fix some naming 2019-03-04 10:08:35 +09:00
algestam
d0ccb61432 New working machine added (#4716)
-----------
Game & Watch: Fire Attack [Henrik Algestam]
2019-03-03 23:36:12 +01:00
AJR
c7054c697a hpc: Debugging aid (nw) 2019-03-03 17:28:58 -05:00
AJR
156619b401 Add skeleton CPU device and disassembler for HPC architecture 2019-03-03 16:56:13 -05:00
braintro
542a331fd2 model3.cpp: Minor doc update (nw) 2019-03-03 15:00:38 -06:00
hap
4c6a37cda6 added internal artwork for tmtennis (nw) 2019-03-03 20:57:22 +01:00
goldnchild
3a32835f9e Qt debugger: fix error in determining where clicks are in debugger views [Golden Child] (#4705) 2019-03-04 02:58:49 +11:00
hap
c4b8aa3a56 New working machine added
----------
Checker Challenger 4 [hap, Sean Riddle]
2019-03-03 01:46:29 +01:00
algestam
08f3a160b3 New working machine added (#4711)
-----------
Game & Watch: Turtle Bridge [Henrik Algestam]
2019-03-02 22:25:24 +01:00
hap
8f273e02b3 added mwcbaseb internal artwork (nw) 2019-03-02 22:16:58 +01:00
hap
561501d912 New working clone added
-------
Kishon Chesster (v2.2) [Berger]
2019-03-02 20:03:05 +01:00
hap
08ed39f77c gckong, bambball, msthawk: remove bezel artwork from svg (nw) 2019-03-02 17:36:36 +01:00
couriersud
83a0e93837 netlist: remove printf. (nw) 2019-03-02 13:11:37 +01:00
Robbbert
afcea65d0f (nw) punipic : slight improvement to graphics 2019-03-02 19:31:58 +11:00
hap
cbbfbd99cc hh*: small cleanup (nw) 2019-03-01 20:56:33 +01:00
couriersud
618f33f586 netlist: refactoring. (nw) 2019-03-01 19:52:19 +01:00