Making Star Wars Trilogy force feedback hardware work

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Making Star Wars Trilogy force feedback hardware work

Postby Bart » Wed Nov 23, 2016 8:32 am

SailorSat wrote:Hm...
We'll find the feedback data - should not be too complicated.

I am curious because the usual drive board port does not seem to be accessed at all. Lights are accessed as usual.
I doubt they did something special - an 8 bit port should be more than enough :)


You are checking with Supermodel, right? This (in Model3.cpp) is probably to blame:

Code: Select all
else if (!strcmp(Game->id, "swtrilgy"))
  {
    *(UINT32 *) &crom[0xF0E48] = 0x60000000;
    *(UINT32 *) &crom[0x043DC] = 0x48000090;  // related to joystick feedback
    *(UINT32 *) &crom[0x029A0] = 0x60000000;
    *(UINT32 *) &crom[0x02A0C] = 0x60000000;
  }
  else if (!strcmp(Game->id, "swtrilgya"))
  {
    *(UINT32 *) &crom[0xF6DD0] = 0x60000000;  // from MAME
  }
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Previous

Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron