- SetWriteHandler(0x6000,0xffff,Mapper66_write);
- AddExState(&latche, 1, 0, "LATC");
-}
-
-DECLFW(Mapper152_write)
-{
- ROM_BANK16(0x8000,(V>>4)&0x7);
- VROM_BANK8(V&0xF);
- onemir((V>>7)&1); /* Saint Seiya...hmm. */
- latche=V;
- X6502_Rebase();
-}
-
-void Mapper152_init(void)
-{
- onemir(0);
- SetWriteHandler(0x6000,0xffff,Mapper152_write);
- AddExState(&latche, 1, 0, "LATC");
-}
-
-static DECLFW(Mapper70_write)
-{
- ROM_BANK16(0x8000,V>>4);
- VROM_BANK8(V&0xF);
- latche=V;
- X6502_Rebase();
-}
-
-void Mapper70_init(void)
-{
- SetWriteHandler(0x6000,0xffff,Mapper70_write);
- AddExState(&latche, 1, 0, "LATC");
-}
-/* Should be two separate emulation functions for this "mapper". Sigh. URGE TO KILL RISING. */
-static DECLFW(Mapper78_write)
-{
- //printf("$%04x:$%02x\n",A,V);
- ROM_BANK16(0x8000,V&0x7);
- VROM_BANK8(V>>4);
- onemir((V>>3)&1);
- latche=V;
- X6502_Rebase();
-}
-
-void Mapper78_init(void)
-{
- SetWriteHandler(0x8000,0xffff,Mapper78_write);
- AddExState(&latche, 1, 0, "LATC");
-}
-
-DECLFW(Mapper87_write)
-{
- VROM_BANK8(V>>1);
- latche=V;
-}
-
-void Mapper87_init(void)
-{
- SetWriteHandler(0x6000,0xffff,Mapper87_write);
- AddExState(&latche, 1, 0, "LATC");
-}
-
-DECLFW(Mapper93_write)
-{
- ROM_BANK16(0x8000,V>>4);
- MIRROR_SET(V&1);
- latche=V;
- X6502_Rebase();
-}
-
-void Mapper93_init(void)
-{
- SetWriteHandler(0x8000,0xffff,Mapper93_write);
- AddExState(&latche, 1, 0, "LATC");
-}
-
-
-DECLFW(Mapper94_write)
-{
- ROM_BANK16(0x8000,V>>2);
- latche=V;
- X6502_Rebase();
-}
-
-void Mapper94_init(void)
-{
- SetWriteHandler(0x8000,0xffff,Mapper94_write);
- AddExState(&latche, 1, 0, "LATC");