For reasons unknown to me compile optimizations do not behave for
template code. If the implementation is in separate compile units, the
code compiles and performs.
This needs more attention since for certain compilers there is a
considerable performance degregation. It looks like this is only
triggered if too many variants are declared in one cpp file and the
compiler stops inlining.
Thanks to Aaron Giles who made me think about a different approach.
This is a rewrite from scratch for rom devices. It uses a generic
template to implement rom devices which is used together with a
description struct to define a rom device. This leads to highly
efficient code since all information is available at compile time.
This is also a step forward to support tristate outputs. All rom devices
covered by this approach have tristate or open collector outputs and
thus all code changes to support tristate outputs can now be made
consistently in one file.
* move i/o handlers to specific maps, untangle register array usage, to be completed
* Nuke duplicate I/O accesses, rename to iobus_r/w, make go_w to be an actual line
* Fix addqmod & subqmod modulo mask for DSP
* Refactor TOM to host CPU function, and fix GPU irq lv 3 when a GPU object is encountered. Fixes mutntpng and atarikrt booting
* Fix Jaguar irq line to 2, trusted
* Start reworking the blitter
* Relicensed to BSD
Code cleanup to better separate the following stages:
- parsing
- setup
- run
In addition preliminary native tristate support was added. Not yet
production ready, please don't use it.
- Add and hook up interrupt controller and timer
- Add keyboard support (HLE)
- Clean up and improve graphics handling
- Add initial cassette support (not working)
- Add centronics printer support
- Add beeper
- More info to dip switches
The two sources act as voltage sources, though noise may also be
injected as conductivy or current noise.
SYS_NOISE_MT_U: Mersenne Twister uniform noise
SYS_NOISE_MT_N: Mersenne Twister normal noise
nld_sys_noise is templated:
using NETLIB_NAME(sys_noise_mt_u) =
NETLIB_NAME(sys_noise)<plib::mt19937_64,
plib::uniform_distribution_t>;
Thus the approach is scalable. The implementation is state save aware,
and thus reproducible results are guaranteed.
An example use case is provided as well, see examples/noise.cpp.
* new WORKING machines
Millennium M505 Arcade Neo Portable Spielkonsole (Family Sport 100-in-1) [TeamEurope]
* new NOT WORKING software list entries
tvgogo.xml : Baseball (US) [Sean Riddle, David Haywood]
tvgogo.xml : What-A-Mole (US) [Sean Riddle, David Haywood]
* added internal NAND dump to didj [Sean Riddle, Clawgrip]
The device can be found in nlm_other.cpp.
Removed nld_ne566.*
Added SYS_SW, SYS_SW2 and SYS_COMP. These are single switch,
alternating switch and a analog comparator with digital outputs.
Renamed RES_SWITCH to SYS_SW.
Added example ne566.cpp in netlist/examples.
--------------------
MDT 60 Video Display Terminal [Bitsavers, AJR]
z29: Add skeleton for undumped keyboard; try (and fail) to make this work with the MDT 60 keyboard instead
z22: Separate driver (nw)
Changes:
- added known dump checksums of 1101 BIOS
- high-level emulation of GPIB disk devices
- partial implementation of DMA (currently ignores ACCRQ so devices must have zero latency in order for it to work)
- serial is now properly memory-mapped
- modem stub in order to make system properly ignore modem device
- it now boots without any patches and debug scripts
- merged #6597 (needed in order to make disk devices work)
Still not implemented:
- RTC/MACHINE_ID
- modem
- has problems with multiple disk devices working simultaneously (possibly BIOS bug because this BIOS had some problems with that on real device)
new machines marked as NOT WORKING
----
Mastery's Fury [Miso Kim, David Haywood]
(this is a bad dump, mask ROMS are half size, at least the sprites)
new WORKING machines
----
Goori Goori [Miso Kim, David Haywood]
* Initial refactor of AVI/MNG movie recording, consolidation of copy and paste
code, hiding of AVI/MNG behind interfaces
* Extracted recording specific code out of src/emu/video.cpp and put into
src/emu/recording.cpp
* Took the opportunity to move slightly more logic out of video.cpp into
recording.cpp
* Bug fix
* Consolidated frame counting logic
- Use generic latch devices for sound communications
- More accurate handling of programmed sound resets
- Add the other LS259 to gauntlet.cpp
- Correct watchdog timeouts for all three drivers
- General code cleanup
atarigen: Eliminate ATARI_CLOCK_xxxMHz macros in favor of standard XTAL constants (nw)
atariscom: Separate source file from atarigen.cpp; move IRQ handling to atarijsa (not a property of the actual device) (nw)
Added a define NL_USE_ACADEMIC_SOLVERS and disabled it in the build.
This will not compile in solvers which are either illustrative or only
perform for large sparse matrices like GMRES.
Moved netlist between dasm and utils,expat,... link statements
This fixes the resolution of symbols in netlist code which may be used
in machine/netlist.cpp.
Change tested on ubuntu, windows and macosx.
----
leapfrog_didj_cart.xml: Nicktoon Android Invasion (US, 500-13290-B) [Team Europe]
there's a skeleton driver too, but it's really nothing but a holder for the Software List as the BIOS isn't yet dumped.
This commit introduces precompiled static solver code. Due to
additional optimizations the compiler can use because the detail
calculation steps for the solution are known e.g. the kidniki netlist
sees a 100% speed increase.
In all environments (windows/*nix/osx) the source for the static
solver code can be created using
bash src/lib/netlist/nl_create_mame_solvers.sh
This will create src/lib/netlist/generated/static_solvers.cpp which is
compiled into the mame binary.
The script is just a temporary workaround. The intention is that nltool
whill be able to create this file with one call.
There are other improvements in this commit speeding up the processing
of timestep and dynamic calculations.
- PAC2 is now a separate bus with slot devices
- Kanji ROM and RAM PAC2 expansions are no longer built into pasopia7, but may be configured as slot options
- RAM PAC2 expansion made nonvolatile and provided in multiple sizes
- Two PAC2 slots added to pasopia
* Split S-SMP and S-DSP implement in snes_snd.cpp
both convert memory handler into device_memory_interface, Internalize ROM region of S-SMP
s_smp.cpp : Use callback for S-DSP interface, Split internal and external memory space
snes.cpp : Convert WRAM into shared_ptr
* s_dsp.cpp : Reduce #define macros
* mw8080bw: new netlist audio implementation for gunfight
New netlist-based audio implementation for gunfight (Gun Fight, 1975),
derived from Midway audio schematics. Sound checked against several
YouTube videos and seems to match, apart from acoustic effects of
cabinet. (Sorry, I don't have a Gun Fight machine of my own to check. :)
Removed the old sample-based sound, which is no longer necessary. (The
samples for that version were actually from the newer game Boot Hill
and didn't match Gun Fight's sound hardware; they even included Boot
Hill's funeral march tune!)
Although the netlist version has much greater overhead, performance is
still acceptable on modern hardware.
* mw8080bw: remove unnecessary trampolines from gunfight netlist audio
In response to review comments on PR #6509.
* mw8080bw: Remove leftover copyright holder from new files (nr)
--------------------
Sensor Chess [hap, bataais]
New working software list additions
-----------------------------------
saitek_schess: Classical Style Super Strong [hap, bataais]
----------------------------------
Roland S-50 Digital Sampling Keyboard [DBWBP]
Roland W-30 Music Workstation [DBWBP]
New clones marked as NOT_WORKING
--------------------------------
Roland S-550 Digital Sampler [DBWBP]
----------------------------------
Roland S-10 Digital Sampling Keyboard [DBWBP]
Roland S-220 Digital Sampler [DBWBP]
New clones marked as NOT_WORKING
--------------------------------
Roland MKS-100 Digital Sampler [DBWBP]
* new NOT WORKING
----
TV Fitness Center (Lexibook) [TeamEurope]
Lexibook Retro TV Game Console - Frozen - 300 Games [TeamEurope]
the TV Fitness you can select games etc. but inputs aren't fully mapped, Frozen is a more enhanced NES VT clone than we support (nw)
* new NOT WORKING
----
Haluatko miljonääriksi? (Finland) [Sean Riddle, Santeri Saarimaa]
surprisingly on entirely different hardware to the otherwise identical from the outside, aside from stickers UK version (nw)
* new WORKING machines
----
Double Players Mini Joystick 80-in-1 (MJ8500, ABL TV Game) [Sean Riddle, David Haywood]
* might as well drop the non-working tag here, issues are minor (nw)
* was a PAL unit (nw)
* minor vt refactoring (nw)
----------------------------------
Roland JX-8P Polyphonic Synthesizer (Ver. 3.x) [DBWBP]
Roland JX-10 Super JX Polyphonic Synthesizer [DBWBP]
New clones marked as NOT_WORKING
--------------------------------
Roland JX-8P Polyphonic Synthesizer (Ver. 2.x) [DBWBP]
Roland MKS-70 Super JX Polyphonic Synthesizer [DBWBP]
----------------------------------
K4 16-bit Digital Synthesizer [DBWBP]
New clones marked as NOT_WORKING
--------------------------------
K4r 16-bit Digital Synthesizer Module [DBWBP]
* gcm394 / paccon - use screen resolution to determine tilemap limits nstead of hardcoding it (nw)
* debugging (nw)
* tweaks to video (nw)
* new NOT WORKING
----
Super Game 36-in-1 (TimeTop SuperGame) [JP_Ronny, TeamEurope]
(actually seems playable, but there are some details I want to verify / figure out before promoting it)
* map 'X' for timetp36 (nw)
* extra io notes (nw)
* confirm difficulty mapping (nw)
* set to PAL timings (nw)
* new NOT WORKING
----
Digi Makeover (Girl Tech) [Sean Riddle, Clawgrip]
* move digimakeover to its own driver (nw)
* hack to force IRQ on (nw)
* alt mode for rad_digi (nw)
* some buton notes (nw)
* flips for rallyx (nw)
* make some IRQ code closer to spg2xx (nw)
* improve raster for Xevious (nw)
* no macro (nw)
* new NOT WORKING
----
Gormiti Game Arena (Spain) [Sean Riddle, Clawgrip]
* new NOT WORKING
----
MobiGo (Spain) [Sean Riddle, Clawgrip]
* don't use smartfp inputs (nw)
- com8116: Delete SY2661-1/-2 tables (these are just second sources of SCN2661A/B)
- mc2661: Remove obsolete device
- rs232: Remove 7200 baud setting formerly required by one driver to work around incorrect table
visualiser device and WDL FFT libarary).
I changed the VGM visualiser to use single-precision float which is the
default for WDL FFT. GCC's loop vectoriser can make better use of SSE
with single-precision maths, and the extra precision shouldn't be needed
for the visualisation. If this is a problem, let me know and I'll
revert this and flip the WDL FFT library over the other way.
(nw) The pcap.h header itself has the problematic original BSD license,
including the obnoxious advertising clause. Using tap/tun networking on
Windows provides a much better experience, so the extra setup is worth
it. This patch also allows you to enable pcap on platforms where it's
disabled by default with USE_PCAP=1 if you really want to use it.
* Removed empty nl_examples from dist.mak
* Added copyright acknowledgements and full text of licenses to binary distribution
* Fixed up the list of third-party libraries
* Moved WDL fft.c to 3rdparty
* hp80: added HP82939 serial I/O module.
Fixed a small bug in INS8250 that prevented module self-test to pass.
Improved the interrupt handling of hp80 systems.
* hp80: changed scheduling to use "set_perfect_quantum"
* set discpal to correct machine type (nw)
* moew skannerz tv to its own driver and add notes from Tahg [Tahg]
* buzztime IO notes from Tahg [Tahg]
* new NOT WORKING
----
Pac-Man Connect & Play (Feb 14 2012 10:46:23) [Sean Riddle, David Haywood]
boots and you can select things from the menu but this is the newer SP SoC and needs a LOT of work on the graphics.
This tool was previously used to generate HTML-formatted source for
the website from releases. It hasn't been used in years, since we
rely on the repository browsing features of GitHub/GitLab/SourceForge.
It also hasn't been updated to handle C++14, Lua, and other changes to
the source. If we do want to publish source code on our own web site
in the future, we'd be better off using an off-the-shelf library to
handle parsing the source.
----------------------------------
Korg M1 Music Workstation (Rev 19) [DBWBP]
New clones marked as NOT_WORKING
--------------------------------
M1 EX Music Workstation (v1.29) [DBWBP]
M1R Music Workstation (v1.06) [DBWBP]
M1R EX Music Workstation (v1.12) [DBWBP]
M1 Plus+1 Music Workstation [DBWBP]
-spg2xx_io: Converted from magic register indices to enumerated values. Added SPI logging. [Ryan Holtz]
-spg2xx_jakks: Split into separate game-key, plain, and touch drivers. [Ryan Holtz]
-jak_batm: Hooked up I2C EEPROM to enable saving. [Ryan Holtz]
* new WORKING machine
-----
Retro Dance Mat (110 song Super StepMania + 9-in-1 games) (PAL) [TeamEurope, David Haywood]
* new NOT WORKING
---
Lexibook Retro TV Game Console - 300 Games [TeamEurope, David Haywood]
My Arcade Retro Arcade Machine - 300 Handheld Video Games (DGUN-2593) [TeamEurope, David Haywood]
* swap painball powered up dump for a better one, previous reads weren't 100% consistent, they are now, changes verified to be correct (nw)
* notes from Sean (nw)
* rename these bits, they're not system specific (nw)
----------------------------------
Roland D-50 (Ver. 2.xx) [DBWBP, depblue]
New NOT_WORKING clones
----------------------
Roland D-50 (Ver. 1.xx) [DBWBP]
Roland D-550 [DBWBP]
Add disassembler for NEC 78K/III architecture [AJR]