Commit Graph

54 Commits

Author SHA1 Message Date
cam900
e07a7f19b5
Implement FDS sound emulation (#6953)
* Implement FDS sound emulation
2020-07-14 16:56:22 -04:00
cam900
6aef7adadd
Split S-SMP and S-DSP implement in snes_snd.cpp (#6417)
* 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
2020-04-04 08:59:50 -04:00
Valley Bell
539598fab4 add Roland PCM sound emulation for CM-32P 2020-03-15 18:58:38 +01:00
Olivier Galibert
e4e91bd6bd ks0164: Turn it into a device (nw) 2020-03-14 12:05:59 +01:00
Vas Crabb
11ac7454db Maintenance:
* 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
2020-03-04 22:41:15 +11:00
MooglyGuy
bcefd95275 -vgmplay: Added a visualizer. [Ryan Holtz, Justin Frankel] 2020-03-01 19:58:07 +01:00
Ivan Vangelista
a0e4df0deb
sound.lua: fixed mm5837 entry, allows clean single driver build of beezer.cpp to complete (nw) 2020-02-03 10:39:13 +01: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
Olivier Galibert
0ce1c644e3 mu50: Enhance, add the swp00 [O. Galibert] 2019-04-28 14:52:20 +02:00
Olivier Galibert
adc473b74d swp20, dspv: Skeletons [O. Galibert] 2019-04-09 08:53:40 +02:00
cam900
80a48d5229 Add Namco 163 sound emulation (#4814)
* Add Namco 163 sound emulation

* namco_163.cpp : Typo

* namco_163.cpp : Fix spacing

* namco_163.h : Fix comment (nw)

* namco_163.cpp : Correct update behavior
device/bus/nes/namcot.* : Remove / Fix outdated comments

* namco_163.cpp : Remove unnecessary value (nw)

* namco_163.cpp : Add notes (nw)

* namco_163.cpp : inline'd sample function, Minor fix

* namco_163.cpp : Fix notes
2019-03-29 17:57:27 -04:00
Olivier Galibert
cc537e30db mu100: Make some noise [O. Galibert]
Two sample roms are missing, sad.  Volume is not taken into account
yet (because the registers are not yet understood), pan is though.
Don't even think about reverb or effects :-)

Current code plays a scale in a loop.  Comment the timer alloc in
machine_reset to kill that.

Demo song (missing lots of sounds, because roms): U then > until demo
then ENTER ENTER.
2018-11-05 15:35:07 +01:00
cam900
3204234f8d Add huc6230 Emulation (#3829)
* Add huc6230 Emulation
huc6272.cpp : Add ADPCM transfer, Add save states
PC-FXGA for PC-9801 C Bus is released in December 1995 in Japan, Correct metadata

* huc6272.cpp : Fix ADPCM address

* huc6230.cpp : Simpler interpolate

* huc6230.cpp : Fix clamp
huc6272.cpp : Fix ADPCM nibble

* huc6272.cpp : Fix data type

* Revert pcfxga year; PC-FXGA for PC9801 C-bus is not dumped?
2018-08-23 21:47:41 -04:00
mooglyguy
eed782f1e3 ps2sony: Some basic VU1 support, major file reshuffling, nw 2018-07-21 10:07:00 +02:00
Dirk Best
3ffd6b839f uPD934G: Preliminary emulation 2018-03-17 09:10:18 +01:00
Vas Crabb
3f67473bb4 QSound LLE available with a 3-character change 2018-03-16 02:27:24 +11:00
Vas Crabb
ba5715596a This causes huge changes in behaviour that can't be hand-waved away.
Revert "Removal of voltage_regulator_device (nw)"

This reverts commit 1af133752a.

Revert "New way to provide DAC reference inputs (nw)"

This reverts commit 1c6a7ab40c.
2018-01-13 02:06:27 +11:00
AJR
1af133752a Removal of voltage_regulator_device (nw) 2018-01-10 02:11:25 -05:00
Dirk Best
c7d1aeb956 deco32: Improvements and cleanups
* Emulate LC7535 based volume control for Dragon Gun board based games
* Add DSW3 and DIP locations to Captain Avenger
* Reorganize driver and start cleaning it up (in progress)
2017-09-22 03:51:24 +02:00
angelosa
e3ccbe1852 Wrote a new device for TA7630, hooked it up to buggychl.cpp (nw) 2017-09-22 02:01:42 +02:00
Vas Crabb
6c23897483 Self-registering devices prep:
* Make device_creator a variable template and get rid of the ampersands
* Remove screen.h and speaker.h from emu.h and add where necessary
* Centralise instantiations of screen and speaker finder templates
* Add/standardise #include guards in many hearers
* Remove many redundant #includes
* Order #includesr to help catch headers that can't be #included alone

(nw) This changes #include order to be prefix, unit header if applicable
then other stuff roughly in order from most dependent to least dependent
library.  This helps catch headers that don't #include things that they
use.
2017-02-27 22:57:14 +11:00
Vas Crabb
fb087b6c92 Cherry-pick some features from self-registering drivers PoC:
* Use size_t for sizes and <algorithm> for algorithms
* Fix up some files that were getting linked into multiple libs
* Add missing virtual method to sh2 peripheral class
* Put shortname in driver struct for locality
* Use shared pointers in config LRU cache for safety
2017-02-16 12:20:35 +11:00
Miodrag Milanovic
39370345d6 Remove some dependency between src/devices/ and src/mame (nw) 2017-02-05 12:46:44 +01:00
Dirk Best
f2f55c1568 Amiga: Move and rename amiga sound device, add pinout and description 2017-01-29 12:42:58 +01:00
Dirk Best
92ce7cd13c beezer: Rewrite driver
- Uses the standard 6840 PTM core for sound generation
- New MM583 Noise Generator device
- New DAC-76 DAC sound
- Use resistor network values for colors
- Use bankdev device for banking
2016-12-12 01:08:29 +01:00
smf-
36944269bd DAC WIP, started documenting the DACs in use. [smf]
ataxx: Fixed missing sound channel caused by one dac not being hooked up and one dac being hooked up to two addresses.
bestbest: Fixed high pitch screech caused by incorrect addressing (two dacs weren't hooked up and two were hooked up to two addresses).
cchasm: Fixed static noise generation caused by feeding the same bit to both dacs.
cheekyms: Slightly improved sound by implementing sound triggers as 8 x 1 bit dacs instead of 1 x 8 bit dac.
galeb: Fixed sound by implementing it according to http://www.deltasoft.com.hr/retro/galebemu.htm & implemented enough of LOAD/SAVE to stop it hanging.
hard drivin: (all games in driver) Improved 12 bit controls, although centre still goes out of sync.
mea8000: Converted to a sound device.
megaphx: Fixed noisy samples due to wrong format.
microvsn: Fixed sound pitch caused by incorrect usage of write_signed8().
seicross: Changed to a 4 bit dac as samples are packed nibble.
spaceg: Preliminary sound using space invaders samples.
suna8: Changed to a 4 bit dac as samples are packed nibble.
vcombat: Fixed static during machine gun fire due to incorrect dc offset removal.
vectrex: Fixed noisy samples due to wrong format.
wheelfir: Fixed sound, eeprom & analogue steering wheel and brake pedal.
2016-10-17 16:04:02 +01:00
therealmogminer@gmail.com
de19eb547f Added YM2203, YM3526, AY-3-8910, NES APU, DMG APU, K053260, and MultiPCM to vgmplay, nw 2016-08-18 16:09:12 +02:00
Curt Coder
8bf6e9ebb5 pofo: Added skeleton for PCD3311T sound chip. (nw) 2016-08-10 13:05:14 +03:00
Olivier Galibert
ff2887100f ym2413: Isolate, objectify, integrate [O. Galibert] 2016-06-29 19:26:19 +02:00
Olivier Galibert
ded91ac888 ym2151: Isolate, objectify, integrate [O. Galibert] 2016-06-29 19:26:10 +02:00
Miodrag Milanovic
be67262fc2 INC -> HXX makes editors and code analyzers see it as C++ (nw) 2016-05-01 20:27:50 +02:00
Miodrag Milanovic
521198036d move gb sound and gb lcd in order to make snes compile, since used by bus device (nw) 2016-05-01 17:20:50 +02:00
Miodrag Milanovic
9499064a80 typo fix (nw) 2016-05-01 09:55:43 +02:00
Miodrag Milanovic
8bef52ec6d fixed wpc, okiadpcm and eolith (nw) 2016-04-30 19:56:18 +02:00
Miodrag Milanovic
8e58d4099c move to proper place (nw) 2016-04-28 20:40:17 +02:00
Miodrag Milanovic
9a3b5d9a75 mode devices to proper library (nw) 2016-04-23 12:18:05 +02:00
Miodrag Milanovic
dff2f2517a separate mpeg audio as device, made building separate model3 possible (nw) 2016-04-07 18:15:07 +02:00
Miodrag Milanovic
9b3788035c scrclean on lua scripts (nw) 2016-03-29 08:49:47 +02:00
cracyc
8fc8fc5ca3 pcat_dyn: add sound and mark toursol working [Carl] 2016-03-19 21:13:00 -05:00
hap
098b43d520 s14001a_new is now s14001a 2016-01-23 18:30:26 +01:00
hap
5d66ee8e6d Added more accurate SSi S14001A speech chip emulation, written by one of the people at SSi who originally laid out the S14001a silicon in 1974/5! [Ed Bernard] 2016-01-19 01:02:42 +01:00
Miodrag Milanovic
5deec43cbc update build scripts for rename c - > cpp (nw) 2015-11-08 13:26:29 +01:00
Miodrag Milanovic
ee7ff77255 update build scripts and code change in order to fix compile (nw) 2015-09-13 09:20:24 +02:00
David Haywood
8abb4014f3 Sega Pico PCM improvements [ValleyBell]
as the pull request seems to have gone dead I refactored his changes into a new device derived from the 7759 rather than adding the Fifo into the 7759 (due to Aaron saying it doesn't exist there)

it's possible the custom chip that Pico uses has said logic built in somehow as it's not a plain 7759 afaik.
2015-09-08 15:09:43 +01:00
Miodrag Milanovic
fa6a859646 Made FM cores compile only in group, that way it always work (nw) 2015-06-21 08:16:36 +02:00
Miodrag Milanovic
449a851e34 Fix more driver building, going deeper in checks (nw) 2015-06-20 19:19:03 +02:00
Miodrag Milanovic
c665cb017b Fix compiling just specific fm cores (nw) 2015-06-20 18:37:30 +02:00
Miodrag Milanovic
654a5ca29b update metadata in lua files (nw) 2015-06-20 13:21:10 +02:00
Miodrag Milanovic
ca37d40f69 Removed comments and added generic license for whole team on top (nw) 2015-05-09 16:05:30 +02:00
Miodrag Milanovic
c334fda9a9 Start adding .h and .inc files to help usage inside IDE's like VS and XCode (nw) 2015-04-11 14:17:02 +02:00