Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW WORKING Ocean to Ocean (Medal) [Joseph, the Game Preservation Society] #1507

Merged
merged 4 commits into from Oct 13, 2016
Merged

NEW WORKING Ocean to Ocean (Medal) [Joseph, the Game Preservation Society] #1507

merged 4 commits into from Oct 13, 2016

Conversation

ghost
Copy link

@ghost ghost commented Oct 13, 2016

2 sets
Ocean to Ocean (Medal) (DECO Cassette MD) (No 10 / Ver 1 Japan)
Ocean to Ocean (Medal) (DECO Cassette MD) (No 10 / Ver 6 US)

also make the different decocass bios roms actually selectable.

also add ocean to ocean, which fails with all bios roms because it doesn't decrypted properly, to be investigated, will credit once works.
@ghost
Copy link
Author

ghost commented Oct 13, 2016

fwiw I think the decryption problem could be an error in the original submission. The code sent was as follows. The code references type1_map1100 but the structure provided is type1_map1090. The comments do describe this structure, but I'm wondering if there has been a mixup. Obviously the code as-sent was never going to compile, changing map1090 to map1100 allowed it to compile, but the decryption fails.
`
static UINT8 type1_map1090[8] = { T1PROM,T1PROM,T1LATCHINV,T1DIRECT,T1PROM,T1PROM,T1LATCH,T1PROM };

/***************************************************************************
*

  • TYPE1 DONGLE DP-1100/DP-2100 map for Ocean to Ocean
  • Latched bits = $44 (2 latch bits)
  • Input bits that are passed uninverted = $10 (1 true bits)
  • Input bits that are passed inverted = $00 (0 inverted bits)
  • Remaining bits for addressing PROM = $AB (5 bits)
  • Latched bit #0:
  • Input bit position = 2
  • Output bit position = 2
  • Type = Inverting latch
  • Latched bit Update winos.c #1:
  • Input bit position = 6
  • Output bit position = 6
  • Type = Non-inverting latch
    *
    ***************************************************************************/

MACHINE_RESET_MEMBER(decocass_state,cocean1a) /* 10 */
{
decocass_state::machine_reset();
LOG(0,("dongle type #1 (DP-1100 map)\n"));
m_dongle_r = read8_delegate(FUNC(decocass_state::decocass_type1_r),this);
m_type1_map = type1_map1100;
m_type1_inmap = MAKE_MAP(0,1,2,3,4,5,6,7);
m_type1_outmap = MAKE_MAP(0,1,2,3,4,5,6,7);
}

`

@ghost ghost changed the title make the different decocass bios roms actually selectable. NEW WORKING Ocean to Ocean (Medal) [Joseph, the Game Preservation Society] Oct 13, 2016
…pe they use (A = Japan, B = US/World, they aren't compatible, using the wrong one will give a loading error)

note cbnj is for type B, so was incorrectly tagged as Japan (or has been hacked)
@ghost
Copy link
Author

ghost commented Oct 13, 2016

should be ok now.

@rb6502 rb6502 merged commit 65dc2a8 into mamedev:master Oct 13, 2016
@ghost ghost deleted the 071016 branch October 25, 2016 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants