Commit Graph

60726 Commits

Author SHA1 Message Date
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
Peter Ferrie
83c4aa9f1e ap2_dsk.cpp: avoid one type of .woz corruption (nw) 2018-07-29 21:52:11 -07:00
arbee
d14c601a76 New machines added as NOT_WORKING:
- Sharp FontWriter FW-600 [R. Belmont, rfka01]
2018-07-29 19:29:58 -04:00
smf-
3a502b1090 vgmplay added Y8950, YMF262 & YMF278B [smf] 2018-07-29 23:41:06 +01:00
Justin Kerk
700e81c62f New working software list additions
-----------------------------------
ibm5170: ABS Self Running Demo, Disney's The Lion King, Disney's The Lion King (Playable Demo), Microsoft Productivity Pack for Windows, Microsoft Works 3.0b, NETCOM NetCruiser [Justin Kerk]

New not working software list additions
-----------------------------------
ibm5170: Mitsumi IDE CD-ROM Driver [Justin Kerk]
2018-07-29 14:36:56 -07:00
Scott Stone
2f5417581f Partial fix for MT#7058 regarding Non-functioning shifter in buggyboy. buggyboyjr still is not fixed (nw) 2018-07-29 14:52:11 -04:00
smf-
c70d3cf470 don't try to update m_totalcycles on devices with a zero clock, as it will crash. (nw) 2018-07-29 16:02:01 +01:00
smf-
c41cf669b8 Revert part of 20b5f5d0e6 2018-07-29 16:02:00 +01:00
Robbbert
c295fc4daa (nw) jgz80 is not... renamed to unkz80 (unknown manufacturer). 2018-07-30 00:20:28 +10:00
AJR
6f1d03d561 mrgame.cpp: Various updates and modernizations (nw)
- Screen raw parameters (circuitry is surprisingly similar to Galaxian)
- Addressable latch for video CPU
- VBLANK callback instead of MCFG_DEVICE_VBLANK_INT (interrupt also acknowledged now)
- Separate machine configuration for wcup90, which now displays something
2018-07-29 09:17:12 -04:00
smf-
3a732c9b1c Fix setting sample rate back to zero & crash for synchronous streams when rate is zero. This fixes all reported bugs. (nw) 2018-07-29 13:47:56 +01:00
Olivier Galibert
64afd77e7c Revert part of 20b5f5d0e6
This is damn sensitive code, and generates differences all over the
place we don't really explain.  The changes should be justified by
themselves and tested in collaboration with Tafoid to ensure the
differences are not a problem.
2018-07-29 13:07:56 +02:00
Olivier Galibert
a74434167a indigo: Fix rom loading [O. Galibert] 2018-07-29 13:03:49 +02:00
Robbbert
97ff224d2b fccpu20 : fixed terminal display 2018-07-29 20:24:46 +10:00