summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/sid.h
Commit message (Collapse)AuthorAgeFilesLines
* Move all devices into separate part of src tree (nw) Miodrag Milanovic2015-09-131-66/+0
|
* sorted out more (nw) Miodrag Milanovic2015-05-141-2/+2
|
* Added dummy license headers for EMU section (nw) Miodrag Milanovic2015-05-071-0/+2
|
* (MESS) Cleanups. (nw) Curt Coder2013-02-141-3/+0
|
* Modernized the MOS6526, MOS6560, MOS7360, MOS6581, CBM IEC, and IEEE-488 ↵ Curt Coder2013-02-121-2/+1
| | | | devices. [Curt Coder]
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-7/+7
|
* Final round of struct/union/enum normalization. Aaron Giles2012-09-161-7/+7
|
* (MESS) Added PET cassette port slot interface to vic20, c64, and plus4. ↵ Curt Coder2012-09-021-1/+3
| | | | | | | | | | | | Implemented 1530/1531 datassette as slot devices. Converted MOS6581 interface to devcb. [Curt Coder] (MESS) vic20: Added floating bus read support to VIC and cartridge interface. (MESS) vic10: Added floating bus read support to VIC-II and cartridge interface. (MESS) c64: Added floating bus read support to cartridge interface. [Curt Coder] (MESS) plus4: Added floating bus read support to TED and cartridge interface. Implemented some Diag264 test cartridge loopback connectors. [Curt Coder] (MESS) c16: Added PAL/NTSC variants. (nw) (MESS) v364: Fixed speech ROM mapping. (nw) (MESS) compis: Separated keyboard to its own file. (nw) (MESS) huebler: Cleanup. (nw)
* BIG update. Aaron Giles2011-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant machine items from address_space and device_t. Neither machine nor m_machine are directly accessible anymore. Instead a new getter machine() is available which returns a machine reference. So: space->machine->xxx ==> space->machine().xxx device->machine->yyy ==> device->machine().yyy Globally changed all running_machine pointers to running_machine references. Any function/method that takes a running_machine takes it as a required parameter (1 or 2 exceptions). Being consistent here gets rid of a lot of odd &machine or *machine, but it does mean a very large bulk change across the project. Structs which have a running_machine * now have that variable renamed to m_machine, and now have a shiny new machine() method that works like the space and device methods above. Since most of these are things that should eventually be devices anyway, consider this a step in that direction. 98% of the update was done with regex searches. The changes are architected such that the compiler will catch the remaining errors: // find things that use an embedded machine directly and replace // with a machine() getter call S: ->machine-> R: ->machine\(\)\. // do the same if via a reference S: \.machine-> R: \.machine\(\)\. // convert function parameters to running_machine & S: running_machine \*machine([^;]) R: running_machine \&machine\1 // replace machine-> with machine. S: machine-> R: machine\. // replace &machine() with machine() S: \&([()->a-z0-9_]+machine\(\)) R: \1 // sanity check: look for this used as a cast (running_machine &) // and change to this: *(running_machine *)
* C++-ified the sound and streams interfaces. Combined sound.c and streams.c Aaron Giles2011-01-271-1/+0
| | | | | | | | | | | | | | | | | | | into one file, and separated the speaker device into its own file. Generalized the concept of dynamically assigned inputs and re-wired the speaker to work this way, so it is now treated just like any other sound device. Added methods to the device_sound_interface for controlling output gain and mapping device inputs/outputs to stream inputs/outputs. Also made the sound_stream_update() method pure virtual, so all modern sound devices must use the new mechanism for stream updates. Primary changes outside of the core are: stream_update(stream) == stream->update() stream_create(device,...) == machine->sound().stream_alloc(*device,...) sound_global_enable(machine,enable) == machine->sound().system_enable(enable) Beyond this, the patterns are relatively obvious for the remaining calls.
* running_device -> device_t Aaron Giles2010-12-311-2/+2
| | | | | They both already existed. No sense in having two names for the same object type.
* Updated sound devices not cover with previous patches (used only by MESS) ↵ Miodrag Milanovic2010-09-021-7/+7
| | | | (no whatsnew)
* Correct a long-standing design flaw: device configuration state Aaron Giles2010-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is now separate from runtime device state. I have larger plans for devices, so there is some temporary scaffolding to hold everything together, but this first step does separate things out. There is a new class 'running_device' which represents the state of a live device. A list of these running_devices sits in machine->devicelist and is created when a running_machine is instantiated. To access the configuration state, use device->baseconfig() which returns a reference to the configuration. The list of running_devices in machine->devicelist has a 1:1 correspondance with the list of device configurations in machine->config->devicelist, and most navigation options work equally on either (scanning by class, type, etc.) For the most part, drivers will now deal with running_device objects instead of const device_config objects. In fact, in order to do this patch, I did the following global search & replace: const device_config -> running_device device->static_config -> device->baseconfig().static_config device->inline_config -> device->baseconfig().inline_config and then fixed up the compiler errors that fell out. Some specifics: Removed device_get_info_* functions and replaced them with methods called get_config_*. Added methods for get_runtime_* to access runtime state from the running_device. DEVICE_GET_INFO callbacks are only passed a device_config *. This means they have no access to the token or runtime state at all. For most cases this is fine. Added new DEVICE_GET_RUNTIME_INFO callback that is passed the running_device for accessing data that is live at runtime. In the future this will go away to make room for a cleaner mechanism. Cleaned up the handoff of memory regions from the memory subsystem to the devices.
* From: Atari Ace [mailto:atari_ace@verizon.net] Aaron Giles2008-12-261-2/+0
| | | | | | | | | | | | | | | | | | Sent: Monday, December 22, 2008 8:04 AM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Update sound core header files Hi mamedev, This patch updates all the sound core header files to declare their SND_GET_INFO functions, which will be needed once the sound cores become proper devices. It also makes a handful of other header declaration fixes in emu/sound, and makes one SND_RESET routine static. Note: votrax.h is a new include file altogether. ~aa
* Cleaned up the sid interface. Wilbert Pol2008-12-231-1/+1
|
* Added running_machine parameter to the callback in the sid interface. Wilbert Pol2008-12-201-2/+2
|
* From: Atari Ace [mailto:atari_ace@verizon.net] Aaron Giles2008-12-141-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sent: Saturday, December 13, 2008 6:58 AM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] additional sound core deprecat.h removal Hi mamedev, This patch removes most of the remaining deprecat.h includes in the sound cores. deprecat.h -= 8. ~aa -- From: Atari Ace [mailto:atari_ace@verizon.net] Sent: Saturday, December 13, 2008 10:14 PM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] final sound core deprecat.h cleanup Hi mamedev, This patch removes the last three deprecat.h includes from the sound cores. ~aa
* Updated src\emu\sound headers from K-S, so they use latest naming/structure ↵ Derrick Renaud2008-08-101-3/+5
| | | | | | | and re-inclusion support. Also lowercased the handler names. What a PITA. :) I'll have to go back and do A-J to lower case the handlers to match the new structure names I already did. Sorry Mess and other port developers, but the code should match what is stated on the official WIKI. But don't worry, I don't plan on updating anything but the sound cores.
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+74