PDA

View Full Version : how to check the bit of $5410



Schraddel
11-02-2010, 08:45 AM
Hello all,

I'd like to start my motorthrottle after pressing "speed"-button on MCP with ProSim737 and Fs2004.
Martys manual told me that his MCP uses offset $5410 and bit 22 for "speed"
After no reaction of my motor after pressing "speed"-button I wrote a little script to check the bits of $5410 and was surprised that no bit gets a "1" after pressing a button on the MCP.

Can you help me please. I think there must be a mistake n my test-script.
The script looks like this (dont care bout the brackets, cause I have no sioc here...)

Var 0010 name MCP_Test Link FSUIPC_INOUT, Offset $5410, Length 4
{
var0011 = TESTBIT MCP_Test , 1
var0012 = TESTBIT MCP_Test , 2
....
Var 0011 name BIT1
Var 0012 name BIT2
....

Cheers, Kai

JWS
11-02-2010, 10:28 AM
Kai,

wouldn't it be an idea to ask Marty this question (and share the answer with us afterwards)?

JWS

Schraddel
11-02-2010, 12:09 PM
Hi.
I think its not a problem of Martys program but rather more a prob with my lousy sioc knowledgement here.
My question deals more with the script I wrote.

Is there a mistake in it which I've made ?
But be shure.. if I find out another working offset for that I will share.

Greets, Kai

JWS
11-02-2010, 02:43 PM
Even so, I would ask Marty anyhow, because he may know something about SIOC in combination with ProSim. Just my 2 cents.

JWS