diff options
Diffstat (limited to 'src/devices/bus/coco/coco_pak.cpp')
-rw-r--r-- | src/devices/bus/coco/coco_pak.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/devices/bus/coco/coco_pak.cpp b/src/devices/bus/coco/coco_pak.cpp index 6605a992f14..16f17441ed4 100644 --- a/src/devices/bus/coco/coco_pak.cpp +++ b/src/devices/bus/coco/coco_pak.cpp @@ -95,6 +95,15 @@ const tiny_rom_entry *coco_pak_device::device_rom_region() const return ROM_NAME( coco_pak ); } +//------------------------------------------------- +// get_cart_size +//------------------------------------------------- + +uint32_t coco_pak_device::get_cart_size() +{ + return 0x8000; +} + /*------------------------------------------------- device_reset - device-specific startup -------------------------------------------------*/ @@ -121,6 +130,17 @@ uint8_t* coco_pak_device::get_cart_base() return memregion(CARTSLOT_TAG)->base(); } +/*------------------------------------------------- + get_cart_memregion +-------------------------------------------------*/ + +memory_region* coco_pak_device::get_cart_memregion() +{ + return memregion(CARTSLOT_TAG); +} + + + /*************************************************************************** BANKED CARTRIDGES ***************************************************************************/ |