Commit Graph

60589 Commits

Author SHA1 Message Date
AJR
9f4a33eee8 mstation.cpp, nakajies.cpp, avigo.cpp, kc.cpp: Use make_unique_clear instead of abusing region_alloc (nw) 2018-08-01 22:23:35 -04:00
AJR
9c9bd22b82 ms9540: Fix ROM loading 2018-08-01 21:59:27 -04:00
AJR
c5ee763de0 prose2k: Use real serial terminal 2018-08-01 21:39:09 -04:00
mooglyguy
aaff2f9c47 -mac128, macpci, nsg6809: Eliminated old-style MACHINE_CONFIG use. [Ryan Holtz] 2018-08-02 01:35:43 +02:00
AJR
2e44690def funkball: Use UART and RS232 port for diagnostic serial output 2018-08-01 19:18:01 -04:00
AJR
ae8fc532e3 play_2.cpp: Use ripple counter device (nw) 2018-08-01 17:22:35 -04:00
AJR
768a48ff60 ripple_counter: Finish devcb3 conversion (nw) 2018-08-01 17:07:40 -04:00
AJR
be9c4ead94 tms5501: Convert to devcb3; rename INT callback to match pin name (nw) 2018-08-01 16:52:14 -04:00
AJR
aabacee358 mc68901: Convert to devcb3 (nw) 2018-08-01 16:29:25 -04:00
AJR
61693ea709 timekpr: Default input clock for all devices; convert M48T37 callbacks to devcb3 (nw) 2018-08-01 16:05:42 -04:00
MetalliC
09b41d33f1 new NOT_WORKING clones
----------------------
18 Wheeler (deluxe) [Ordyne, MetalliC]
18 Wheeler (deluxe) (Rev T) [Ordyne, MetalliC]
Club Kart: European Session (Rev C) [Ordyne, MetalliC]
Ring Out 4x4 [Ordyne, MetalliC]
The House of the Dead 2 (Export) [Ordyne, MetalliC]
Virtua Striker 2 Ver. 2000 [Ordyne, MetalliC]
Zombie Revenge (Export) [Ordyne, MetalliC]

naomi.cpp changes: New dumps added: NAOMI Development / tester BIOS (Nov 1998), Ferrari F355 DLX prototype Japan and Export BIOSes, NAOMI Rev F Export BIOS, Ferrari F355 DLX prototype motor board firmware. Existing Club Kart (Rev C) set was identified as Rev A and renamed accordingly. [Ordyne, MetalliC]
2018-08-01 23:03:47 +03:00
AJR
67db044a74 swtpc09.cpp: Fix nonstandard syntax (nw) 2018-08-01 15:58:57 -04:00
mooglyguy
9ee8cf454c -oric, pet, prodigy, rmnimbus, ssystem3, swtpc09, swyft, sym1, trvquest, tv950, vectrex, victor9k, wicat: [Ryan Holtz]
* Removed MACHINE_CONFIG and MCFG usage where possible.
2018-08-01 21:26:16 +02:00
AJR
749e47c09f powervr2: Remove superfluous type declaration that confuses clang (nw) 2018-08-01 15:11:06 -04:00
R. Belmont
115f3c1e6a
Merge pull request #3803 from rzero9/patch-1
pc9801: fix blink attribute
2018-08-01 13:50:24 -04:00
R. Belmont
0b134c3fd3
Merge pull request #3811 from snickerbockers/powervr2_performance
powervr2.cpp: change some per-pixel branches into per-polygon branches
2018-08-01 13:47:58 -04:00
cam900
b7d1e4746c aica.cpp : Add notes, Implement EXTS Mixing (#3812)
* aica.cpp : Add notes, Implement EXTS Mixing

* aica.cpp : Fix EXTS

* dccons.cpp : Fix output (tied at AICA EXTS)
2018-08-01 13:45:44 -04:00
R. Belmont
fe2298dae5
Merge pull request #3813 from pxdnbluesoul/pxdnbluesoul-patch-1
info.cpp: Adjust indent of condition.
2018-08-01 13:44:39 -04:00
Robbbert
79594fce5a (nw) trs80m3 : can boot floppy; trs80m4 fixed bankdev 2018-08-02 00:37:59 +10:00
pxdnbluesoul
6ec10603d9
Adjust indent of condition.
It currently looks like condition is an orphaned child of sound when it has no relation to it.
2018-08-01 07:50:30 -06:00
mooglyguy
9621902931 -vic20: Removed MCFG and duplicated machine configs. [Ryan Holtz] 2018-08-01 09:18:15 +02:00
AJR
48321d7aea model3.cpp: Fix nonstandard syntax (nw) 2018-07-31 23:52:14 -04:00
mooglyguy
b5ff656e9a -c1541, c1571, c2031, c1551, rastersp: Removed MCFG and MACHINE_CONFIG usage. [Ryan Holtz]
-model3: Some basic MACHINE_CONFIG cleanup, nw

-pla: Added PLS100 device, nw
2018-08-01 04:45:25 +02:00
mooglyguy
c3aa68905e Fix recent regressions, nw 2018-08-01 02:14:05 +02:00
snickerbockers
13bdaf3b66 powervr2.cpp: reduce number of divisions in render_hline 2018-07-31 11:42:44 -07:00
snickerbockers
01b1422c26 powervr2.cpp: turn some per-pixel branches into per-polygon branches
In commit ec325ef14f I did something stupid from
a performance standpoint, which was to select the shading function on a
per-pixel basis even though it can only change on a per-polygon basis.  This
commit uses c++ templates and inline functions to so that the compiler's
constant folding can eliminate the switch statement that selects shading
functions (thus making the choice a per-polygon one).  I also did the same thing
for the texture and bilinear filtering checks.

This brings back a little less than half of the performance hit on my PC, so
things still aren't as fast as they used to be.

Benchmark (running a full cycle of Crazy Taxi NAOMI's attract) on my PC:

Before ec325ef14f: 30%
After ec325ef14f:  23%
With this commit:  26%

Regarding the other 4% of the drop, that is coming from the pixel shading.
When I hardcode powervr2 to always use shading instruction 0, performance
jumps up to 29.5%, but when I hardcode it to use shading instruction 3
performance falls a bit down to 25%.  Shading instruction 3 is the most
complicated of the four and shading instruction 0 is the simplest, so I think
that proves that the shading instructions themselves are a major bottleneck.
I don't have any ideas about how to make them faster yet.
2018-07-31 11:42:05 -07:00
David Haywood
082617fa3d tlcs870 - takes first interrupt (nw) (#3807)
* tlcs870 - takes first interrupt (nw)

still trying to work out exactly how I want this code to be formed, but this keeps pushing the program execution forward at least

* bit of port interface guessing to pass port based shared RAM check (nw)

* (nw)

* add analog ports, fix some tlcs870 exec issues (nw)
2018-07-31 13:52:15 -04:00
ajrhacker
3a5518125c
Merge pull request #3808 from DavidHaywood/310718
new machines marked as WORKING
2018-07-31 13:51:36 -04:00
Vas Crabb
4c0c840f96 (nw) be less eager to shadow variables in layouts, make highlights visible on white squares in modena 2018-07-31 23:54:12 +10:00
DavidHaywood
68a9117e51 new machines marked as WORKING
The Burning Cavern (31/03/87) [Miguel Bragado, Recreativas.org, ArcadeHacker, David Haywood]
A Day In Space (31/03/87) [Miguel Bragado, Recreativas.org, ArcadeHacker, David Haywood]

new clones marked as WORKING
War Mission (WM 09/04/87)  [Miguel Bragado, Recreativas.org, ArcadeHacker, David Haywood]

there was also a disk for Paris Dakar, but the first tracks are damaged beyond repair, and it doesn't work, so haven't added it.
2018-07-31 14:51:09 +01:00
Vas Crabb
781d943b36 (nw) more layout documentation 2018-07-31 21:40:20 +10:00
Vas Crabb
8999ac2c15 (nw) add warning comment to dangerous API
I'm not sure this API is a great idea - see inline comment on 796abaf7f3

I realise it seems intuitive, but it breaks with a use-after-free (not even a
validity error) if you replace/remove the target device.  Implementing it in a
way that isn't fragile and doesn't hurt the performance of -romident,
-validate and -listxml seems impossible.  If it causes developer confusing and
things start breaking, back to literal tags we go for this case.
2018-07-31 16:12:22 +10:00
AJR
279d066e1b devfind.h: Fix the build by removing calls that don't exist when DeviceClass happens to be an interface (nw) 2018-07-31 00:12:07 -04:00
mooglyguy
0f21c3fc3a -8042kbdc, mb89352, mc6854: Removed legacy devcb accessors. [Ryan Holtz] 2018-07-31 04:56:22 +02:00
Olivier Galibert
249b42112b old scsi: minor stuff (nw) 2018-07-30 23:43:39 +02:00
Olivier Galibert
796abaf7f3 devfind: Allow set_tag() with a reference or a pointer to a device [O. Galibert] 2018-07-30 23:40:54 +02:00
MetalliC
919346b469 hikaru.cpp dumped Development / prototype BIOS v.074 [Ordyne] 2018-07-31 00:10:02 +03:00
Vas Crabb
0ce07a8a1e (nw) more render work:
* Clean up some corner cases in layouts with repeating blocks
* Make complay.py validate many more elements and attributes
* Make complay.py easier to use for just validating a layout
* Remove redundant view from Sega VMU layout
* Make buttons visually respond to input in whousetc.lay
* Add view with LED displays as well as terminal for aim65_40 and use repeats
* Clean up some outdated "game" terminology in clifront.cpp
* Initiaise a couple of members in tap/tun network module
* Start documenting layout format
2018-07-31 04:18:28 +10:00
mooglyguy
1a899d987f -abcbus/hdc, abcbus/lux21056, abcbus/lux4105, zorro/a590:, cbmiec/cmdhd, econet/e01, ieee488/d9060, video/huc622, x68k_scsiext:
device_add_mconfig modernization. [Ryan Holtz]

-amiga_dmac: Replaced old devcb with devcb3. [Ryan Holtz]

-mc6854, ataintf, mb89352, mc6854, wd33c93: Added devcb3 support. [Ryan Holtz]

-8042kbdc, i8255, idectrl, intelfsh, mb89352, ram, wd33c93, volt_reg: Default clocks to 0 (nw)

-bebox, indy_indigo2: machine_config modernization. [Ryan Holtz]
2018-07-30 18:36:34 +02:00
smf-
ef33cc041d log if konami scc flag is set (nw) 2018-07-30 16:26:50 +01:00
smf-
50902d173c log warning if bit is set indicating soundblaster pro (nw) 2018-07-30 16:08:48 +01:00
smf-
3e6a85745b vgmplay don't need to set nes apu clock as it's derived & disable the nes cpu as it's not used. (nw) 2018-07-30 15:49:05 +01:00
smf-
6f4d3570bc trigger the clock hacks on specific values, to avoid causing problems with correct files (nw) 2018-07-30 15:21:41 +01:00
smf-
dc45fa90cb skip writes for data that hasn't been loaded, fixes crash in Wally wo Sagase. (nw) 2018-07-30 15:08:45 +01:00
Scott Stone
ab07e73142 Merge branch 'master' of https://github.com/mamedev/mame 2018-07-30 06:47:10 -04:00
Scott Stone
f6f4138bdc Fix for remainder if MT#7-58 (buggyboyjr shifter) (nw) 2018-07-30 06:46:34 -04:00
Ivan Vangelista
e743e2055f
fontwriter.cpp: fixed validation (nw) 2018-07-30 12:40:25 +02:00
Patrick Mackinlay
7957feaefc taptun: add support for Windows (#3790)
* taptun: add support for Windows

Looking for feedback only at this point, because it's the first time I've attempted any OSD stuff - be gentle.

This extends the existing taptun OSD module to support Windows through the TAP-Windows6 driver (https://github.com/OpenVPN/tap-windows6).
* TAP-Windows6 is GPLv2, however only the header file is required in MAME, and the driver itself is entirely optional.
* I've tried to minimise the size of the diff, rather than completely separate the Windows/non-Windows implementations - not sure which is preferable in this case.
* The license file has Mac(?) line-endings - unsure if they should be normalized or used verbatim.
* Uncertain about the non-Windows case (or the Windows SDL case) - existing code uses __linux__, but I'm not clear on how that works with OSX, for example?
* I can't claim this actually "works" yet, because I don't know enough to configure the tap end of it properly to get networking doing something useful, but I will get there and correct anything necessary in a subsequent real PR.

* minor fixes/improvements (nw)

* Use Unicode Windows APIs, and UTF-8 for MAME
* Deal with unterminated registry string values
* Cancel any pending I/O in destructor
2018-07-30 18:52:11 +10:00
Ivan Vangelista
ecc609e22d
tx1.cpp: fixed MT07059 (nw) 2018-07-30 10:41:27 +02:00
Peter Ferrie
50830efb2a Merge branch 'master' of https://github.com/mamedev/mame 2018-07-29 21:54:08 -07:00