+ Latch_Init(info, M107Sync, ~0, 0x8000, 0xFFFF, 0, 0);
+}
+
+//------------------ Map 113 ---------------------------
+
+static void M113Sync(void)
+{
+ setprg32(0x8000,(latche>>3)&7);
+ setchr8(((latche>>3)&8)|(latche&7));
+// setmirror(latche>>7); // only for HES 6in1
+}
+
+void Mapper113_Init(CartInfo *info)
+{
+ Latch_Init(info, M113Sync, 0, 0x4100, 0x7FFF, 0, 0);
+}
+
+//------------------ A65AS ---------------------------
+
+// actually, there is two cart in one... First have extra mirroring
+// mode (one screen) and 32K bankswitching, second one have only
+// 16 bankswitching mode and normal mirroring... But there is no any
+// correlations between modes and they can be used in one mapper code.
+
+static void BMCA65ASSync(void)
+{
+ if(latche&0x40)
+ setprg32(0x8000,(latche>>1)&0x0F);
+ else
+ {
+ setprg16(0x8000,((latche&0x30)>>1)|(latche&7));
+ setprg16(0xC000,((latche&0x30)>>1)|7);
+ }
+ setchr8(0);
+ if(latche&0x80)
+ setmirror(MI_0+(((latche>>5)&1)));
+ else
+ setmirror(((latche>>3)&1)^1);
+}
+
+void BMCA65AS_Init(CartInfo *info)
+{
+ Latch_Init(info, BMCA65ASSync, 0, 0x8000, 0xFFFF, 0, 0);