diff options
author | 2014-09-17 05:38:53 +0000 | |
---|---|---|
committer | 2014-09-17 05:38:53 +0000 | |
commit | e734a2efc9fa0e58febb6415bdac762dd8c16ef9 (patch) | |
tree | ea88ba5392d4418bd36fd1a9006a32a07da28361 /src/emu/bus/generic/carts.h | |
parent | cd2ef4ee205b55d602d55d740662eff857ca8aca (diff) |
added generic cartslot / ROM socket slot device, which offers
basic allocation and access handlers, and converted a few
drivers to use this instead of code from cartslot.c [Fabio Priuli]
out of whatsnew: the RAM socket part is just a proof of concept,
and the natural extension of the line of thought which lead me
to this generic socket/cartslot. it might allow to convert current RAM
device to be a slot device as well (after some refactorization, of
course, since current code lacks many of the necessary features),
or be removed soonish, depending on consensus.
Diffstat (limited to 'src/emu/bus/generic/carts.h')
-rw-r--r-- | src/emu/bus/generic/carts.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/emu/bus/generic/carts.h b/src/emu/bus/generic/carts.h new file mode 100644 index 00000000000..efef8a5dfe0 --- /dev/null +++ b/src/emu/bus/generic/carts.h @@ -0,0 +1,21 @@ +/********************************************************************** + + Generic ROM/RAM socket slots + +**********************************************************************/ + +#pragma once + +#ifndef __GENERIC_CARTS_H__ +#define __GENERIC_CARTS_H__ + +#include "emu.h" + +#include "rom.h" +#include "ram.h" + + +SLOT_INTERFACE_EXTERN( generic_plain_slot ); +SLOT_INTERFACE_EXTERN( generic_linear_slot ); + +#endif |