Commit Graph

7153 Commits

Author SHA1 Message Date
MooglyGuy
c9fa5d187c -snes_ppu: Fixed doubled-up frames on interlaced games, nw 2019-11-03 15:48:54 +01:00
couriersud
34ccb11c53 netlist: Completed __float128 support. [Couriersud]
Both compiling the core and the shaders with __float128 now work.
The support was added to be ready to deal with academic edge cases.

Performance drops to 10% of double - thus disabled by default.
2019-11-03 15:25:01 +01:00
68bit
36c17abc79 Avoid some redundant PORT_CHANGED_MEMBER uses. 2019-11-04 00:51:05 +11:00
mooglyguy
fd1b81e5cc MAMETesters Bugs Fixed
----------------------
 - 07472: [Crash/Freeze] (snes.cpp) When starting a game with SNES (PAL), MAME crash (Ryan Holtz)
2019-11-03 02:51:03 +01:00
MooglyGuy
4c88923f46 -snes_ppu: Fixed rapid vertical scrolling in rexronan and other games. [Ryan Holtz] 2019-11-03 00:16:43 +01:00
AJR
40a75840af m6502: Eliminate the disable_cache hack (nw)
Now that `direct_read_data` has been replaced with `memory_access_cache`, which is better equipped to deal with dynamic banking, there should be all the more reason to put an end to this pernicious antipattern.
2019-11-02 12:18:18 -04:00
arbee
a327fb1aa8 fix Clang compile (nw) 2019-11-01 20:45:47 -04:00
R. Belmont
77ada54b65
Merge pull request #5842 from cam900/es5506_volume
es5506.cpp : Fix volume, Reduce unnecessary values
2019-11-01 20:37:53 -04:00
AJR
7d4a71a539 Fix build (nw) 2019-11-01 19:44:37 -04:00
AJR
fc01eb4376 mc68hc11: Preliminary MC68HC11F1 type added (nw) 2019-11-01 17:27:39 -04:00
AJR
baac95bf42 riscii: Add interrupt processing (nw) 2019-11-01 15:01:03 -04:00
couriersud
5f1427ab0f netlist: code maintenance and bugfixes. (nw)
- fixed a bug in the parray constructor
- replaced NL_NOEXCEPT with noexcept where appropriate
2019-11-01 18:49:22 +01:00
cam900
790d87cb9f es5506.cpp : Fix volume, Reduce unnecessary values 2019-11-02 02:09:04 +09:00
Vas Crabb
74bd9899a7 New working machines
--------------------
RS-232 DCE-DCE Bridge

(nw) This is a simple machine for wiring together two things that want
to plug into an RS-232 port.  This means that for DCE-like things (e.g.
serial printers) there's no need to create an extra machine to allow
them to talk to the outside world with the null_modem device.  (Also
added some asserts, removed a FIXME, and put the swtpc8212 terminal in
the default RS-232 devices.)
2019-11-02 02:07:50 +11:00
cam900
f9d0e395ba es5506.cpp : Correct algorithms, Allow signed shifting (#5837)
* es5506.cpp : Correct algorithms, Allow signed shifting

* es5506.cpp : Fix envelope
2019-10-31 23:22:26 -04:00
AJR
69bd218e03 genpc: Make INT and NMI line callbacks (nw)
This is intended to facilitate future planned changes to CPU input lines.
2019-10-31 19:43:01 -04:00
couriersud
c6b281685d netlist: Compile with float/double floating point. [Couriersud]
Added ability to compile using float instead of double. Specifically the
the solver as well as the infrastructure now can have their own floating
point type. Currently this is only an academic exercise since
numerically demanding circuits like kidniki only work with double/double
support. Using float here is pushing numerical stability over the
limits.

The long term design goal is too have the matrix type (double/float)
being a parameter.
2019-10-31 21:53:50 +01:00
couriersud
6c075e602c netlist: maintenance and simplifcation. (nw)
- solver: align matrix population along the various solvers
- solver: delete dead code
- renamed nl_double to nl_fptype and use nl_fptype where previously
  double has been used.
- renamed param_double_t to param_fp_t
2019-10-31 18:39:09 +01:00
AJR
e44c470f0f Fix clang build [-Werror,-Wunused-private-field] (nw) 2019-10-31 11:40:52 -04:00
Vas Crabb
6f4c1f6e5b Spring cleaning:
* Changed emu_fatalerror to use util::string_format semantics
* Fixed some incorrectly marked up stuff in build scripts
* Make internal layout compression type a scoped enum (only zlib is supported still, but at least the values aren't magic numbers now)
* Fixed memory leaks in Xbox USB
* There can only be one "perfect quantum" device - enforce that only the root machine can set it, as allowing subdevices to will cause weird issues with slot cards overiding it
* Allow multiple devices to set maximum quantum and use the most restrictive one (it's maximum quantum, it would be minimum interleave)
* Got rid of device_slot_card_interface as it wasn't providing value
* Added a helper template to reduce certain kinds of boilerplate in slots/buses
* Cleaned up some particularly bad slot code (plenty more of that to do), and made some slots more idiomatic
2019-11-01 00:47:41 +11:00
Vas Crabb
ef37c69c9b clean up cane/orbite additions (nw) 2019-10-31 23:27:33 +11:00
janniz
f31b19f9c9 Added two new unreleased Model Racing games (#5813)
* Fixed LOG_WAV_ENABLED_ONLY (m_enable has to be checked only if LOG_WAV_ENABLED_ONLY is set)
Added log data to the right channel of the wave, accordingly to the definition declared in LOG_WAV_VALUE_R

* Fixed an error with tag() returning a ':' and generating a filename not valid in Windows environment

* Added Model Racing "Cane"

* Added Model Racing "Orbite"

* Replaced the char array with a std::string in sn76477_device::open_wav_file to override possible buffer overrun.
Minor cosmetic change in a boolean expression in sn76477_device::sound_stream_update

* Refactored "Cane" related code creating an audio device to encapsulate the audio system
Refactored "Cane" and "Orbite" creating their own classes
Other minor changes in indentation of the source code
2019-10-31 22:11:45 +11:00
cam900
ba273549dd es5506.cpp : Fix silence (#5834)
* es5506.cpp : Fix silence

* es5506.cpp : Fix algorithm
2019-10-31 00:07:55 -04:00
AJR
9e2706f4e4 ds1302: Subtle fix for CE writes; improve logging (nw) 2019-10-31 00:02:09 -04:00
cam900
0e2de758b1 315_5124.cpp : Fix color related to hardware measured value (#5828)
* 315_5124.cpp : Fix color related to hardware measured value

* 315_5124.cpp : Add notes

* 315_5124.cpp : Add notes
2019-10-30 21:50:17 -04:00
cam900
26f3f0f0c6 es5506.cpp : Implement more differs between ES5505/5506, Reduce duplicates (#5829)
* es5506.cpp : More constant-expandable volume lookup tables, Reduce duplicates

* es5506.cpp : Minor correction

* es5506.cpp : Reduce unnecessary constants, Bit differences, Add notes
2019-10-30 21:49:33 -04:00
AJR
fe1612aa81 scc68070: Add more accurate cycle counts, distinguished from MC68000 and MC68010 2019-10-30 17:00:00 -04:00
couriersud
beab34006a netlist: code maintenance. (nw)
Simplification, remove some trampolines.
2019-10-30 19:10:40 +01:00
AJR
ea8913e128 src/devices: Replace output().set_value with output finders (nw) 2019-10-30 10:08:54 -04:00
68bit
7aa1490a7e swtpc8212: get it running, and on the rs232 bus (#5729)
This patch gets it running, and splits it into two front ends, one
being a rs232 bus slot so that is can be used as a terminal option. It
adds the MCM66750 character generator, and implements the MC6845 row
update function. Most of the I/O has been worked out with help from
the CT-82 user manual. The various screen formats and the graphics
modes appear to be working and plausible. Printer support has been
added, and a beeper.
2019-10-30 13:02:31 +11:00
cam900
3df357d650
es5506.cpp : Fix regression 2019-10-30 09:17:53 +09:00
AJR
a2b80bfa2c Fix clang build [-Werror,-Wunused-const-variable] (nw) 2019-10-29 19:35:28 -04:00
Joakim Larsson Edström
58c86eb73c i8251a initilization changed (#5825)
* i8251.cpp: required initial state to enable receiver of a 8251a and also to avoid sending start bit to diserial on reset and get framing error

* eispc_kb.cpp: removed need for scheduler abuse as problem is fixed by correcting the init of the i8251 USART on host side instead

* eispc.cpp: removed an obsolete TODO
2019-10-29 19:27:48 -04:00
R. Belmont
ba05d863b1
Merge pull request #5823 from cam900/es5506_es5505_various
es5506.cpp : Add/Implement ES5505 difference, Fix spacing, Various updates
2019-10-29 16:48:08 -04:00
AJR
736962d5e7 mk68564: Emulate BRG; fix cut-and-paste error in pinout (nw) 2019-10-29 15:43:32 -04:00
couriersud
cac86fb1b4 netlist: code maintenance. (nw)
- Removed code no longer used
- Add noexcept where appropriate
- split pparser.[c|h] into ppreprocessor and ptokenizer
- smaller optimizations, e.g. use of std::size_t
- fix lint warnings
2019-10-29 19:55:53 +01:00
AJR
7d862e69f9 Add preliminary MK68564 device (nw) 2019-10-29 13:43:49 -04:00
cam900
42f3c173f9 es5506.cpp : Add/Implement ES5505 difference, Fix spacing, Various updates
Reduce duplicates, Unnecessary lines, #define macros, Implement reset behavior(RESB in ES5506), Add notes, Fix filter behaviors, Sync to official documents
references : http://zine.r-massive.com/ensoniq-technical-documents-and-schematics/
2019-10-30 01:25:36 +09:00
R. Belmont
3151dbd31b
Merge pull request #5821 from fulivi/hpipc_dev7
hp_ipc: fixed a bug in 1LL3 GPU
2019-10-29 10:22:02 -04:00
AJR
65745d0e76 rsp: Add 32-bit opcode alignment for disassembly 2019-10-29 09:51:05 -04:00
David Haywood
d660d1d5b3 promoted to WORKING (pvmil - SunPlus) (#5818)
* pvmil - map inputs, promote to working

* put SunPlus RNG on a timer, so that the pvmil questions are actually in a random order (nw)
2019-10-28 17:23:46 -04:00
Joakim Larsson Edstrom
ac1b7a7654 eispc_twib.cpp: fix build error 2019-10-28 20:07:05 +01:00
Joakim Larsson Edström
530101b53f
Merge pull request #5794 from JoakimLarsson/epc_4
WIP: TWIB board - EPC terminal adapter for IBM mainframe and Alfaskop system
2019-10-28 19:44:06 +01:00
fulivi
1e81ccd7b6 hp_ipc: fixed a bug in 1LL3 GPU that caused cursor & sprites to
disappear at the top & left hand side of screen
2019-10-28 16:15:58 +01:00
R. Belmont
0c491e7bd7
Merge pull request #5787 from cam900/megaplay_lcm
315_5313.cpp : Allow LCM scaling of horizontal resolution
2019-10-28 10:32:37 -04:00
hap
6933beea82 chessm: savestates (nw) 2019-10-27 21:44:18 +01:00
Vas Crabb
ecde621979 (nw) fix MPU4 video crash, clean up a little 2019-10-27 15:31:50 +11:00
Vas Crabb
d80e7f95eb cpu/saturn: clean up a little (nw) 2019-10-27 02:16:50 +11:00
smf-
236c87cfea Fix for building with visual studio 2019 (nw) 2019-10-26 13:56:20 +01:00
Vas Crabb
4798bcda89 (nw) fix other konami video devices not resolving delegate, fix Yamaha MSX systems 2019-10-26 14:39:02 +11:00