diff --git a/hash/vc4000.xml b/hash/vc4000.xml
index f3bf2c7cc4b..045ccc93e3d 100644
--- a/hash/vc4000.xml
+++ b/hash/vc4000.xml
@@ -126,10 +126,12 @@
19??
Interton
-
+
+
+
@@ -165,7 +167,7 @@
19??
Interton
-
+
@@ -180,10 +182,12 @@
19??
Interton
-
+
+
+
@@ -232,10 +236,12 @@
19??
Interton
-
+
+
+
@@ -354,10 +360,12 @@
19??
Interton
-
+
+
+
@@ -367,10 +375,12 @@
19??
<unknown>
-
+
+
+
@@ -491,10 +501,12 @@
19??
Interton
-
+
+
+
diff --git a/src/emu/bus/apf/slot.c b/src/emu/bus/apf/slot.c
index e685434fd6e..8f6c11ac07c 100644
--- a/src/emu/bus/apf/slot.c
+++ b/src/emu/bus/apf/slot.c
@@ -197,7 +197,7 @@ bool apf_cart_slot_device::call_load()
m_cart->ram_alloc(get_software_region_length("ram"));
}
- printf("Type: %s\n", apf_get_slot(m_type));
+ //printf("Type: %s\n", apf_get_slot(m_type));
return IMAGE_INIT_PASS;
}
diff --git a/src/emu/bus/arcadia/slot.c b/src/emu/bus/arcadia/slot.c
index 1a7b96e7cf4..4c572a6040a 100644
--- a/src/emu/bus/arcadia/slot.c
+++ b/src/emu/bus/arcadia/slot.c
@@ -129,6 +129,7 @@ static int arcadia_get_pcb_id(const char *slot)
return 0;
}
+#if 0
static const char *arcadia_get_slot(int type)
{
for (int i = 0; i < ARRAY_LENGTH(slot_list); i++)
@@ -139,7 +140,7 @@ static const char *arcadia_get_slot(int type)
return "std";
}
-
+#endif
/*-------------------------------------------------
call load
@@ -204,7 +205,7 @@ bool arcadia_cart_slot_device::call_load()
m_type = arcadia_get_pcb_id(pcb_name);
}
- printf("Type: %s\n", arcadia_get_slot(m_type));
+ //printf("Type: %s\n", arcadia_get_slot(m_type));
return IMAGE_INIT_PASS;
}
diff --git a/src/emu/bus/vc4000/rom.c b/src/emu/bus/vc4000/rom.c
index 28106329f7f..b874214f8bd 100644
--- a/src/emu/bus/vc4000/rom.c
+++ b/src/emu/bus/vc4000/rom.c
@@ -233,12 +233,12 @@ READ8_MEMBER(vc4000_rom_device::read_rom)
READ8_MEMBER(vc4000_ram1k_device::read_ram)
{
- return m_ram[offset & m_ram.count()];
+ return m_ram[offset & (m_ram.count() - 1)];
}
WRITE8_MEMBER(vc4000_ram1k_device::write_ram)
{
- m_ram[offset & m_ram.count()] = data;
+ m_ram[offset & (m_ram.count() - 1)] = data;
}
@@ -252,10 +252,10 @@ READ8_MEMBER(vc4000_chess2_device::extra_rom)
READ8_MEMBER(vc4000_chess2_device::read_ram)
{
- return m_ram[offset & m_ram.count()];
+ return m_ram[offset & (m_ram.count() - 1)];
}
WRITE8_MEMBER(vc4000_chess2_device::write_ram)
{
- m_ram[offset & m_ram.count()] = data;
+ m_ram[offset & (m_ram.count() - 1)] = data;
}