View Single Post
  #14   Spotlight this post!  
Unread 19-03-2003, 12:12
Matt Reiland's Avatar
Matt Reiland Matt Reiland is offline
'The' drive behind the drive
None #0226 (TEC CReW Hammerheads)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Troy Michigan
Posts: 712
Matt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond repute
Any chance that you didn't have the exact same variable declarations in all of the slots. Remeber that you don't have a separate 26 variables in each slot they are all the same, if they are declared at all differently in any of the slots, the same section in memory may show up as something different as you go from slot to slot. For example if one slot had this

p1_x VAR byte 'Port 1, X-axis on Joystick
'p2_x VAR byte 'Port 2, X-axis on Joystick UNUSED
'p3_x VAR byte 'Port 3, X-axis on Joystick UNUSED
'p4_x VAR byte 'Port 4, X-axis on Joystick UNUSED

p1_y VAR byte 'Port 1, Y-axis on Joystick
'p2_y VAR byte 'Port 2, Y-axis on Joystick UNUSED
p3_y VAR byte 'Port 3, Y-axis on Joystick UNUSED
'p4_y VAR byte 'Port 4, Y-axis on Joystick UNUSED

And another slot had this
p1_x VAR byte 'Port 1, X-axis on Joystick
p2_x VAR byte 'Port 2, X-axis on Joystick
'p3_x VAR byte 'Port 3, X-axis on Joystick UNUSED
'p4_x VAR byte 'Port 4, X-axis on Joystick UNUSED

p1_y VAR byte 'Port 1, Y-axis on Joystick
'p2_y VAR byte 'Port 2, Y-axis on Joystick UNUSED
p3_y VAR byte 'Port 3, Y-axis on Joystick UNUSED
'p4_y VAR byte 'Port 4, Y-axis on Joystick UNUSED

In memory p2_x would have the same location as p1_y in the first slot. Try it, it might suprise you!

We take the entire memory declaration section and copy it exactly to each slot so this can't happen. We have never had any problems with any controllers and multiple slots.

I can post more info if anyone doesn't get what I am saying.