[simpits-tech] BMS: light states and shared memory

Mark Doran mark_s_doran at hotmail.com
Thu Oct 16 20:25:26 PDT 2003


There is some chance that I will "release" the memory reader I have since
that's in finished state more or less and I even have docs for it written
up.  There are a couple of brave testers that have volunteered to take a
look and help me find any egregious problems before I let it out the door
more widely.

The EPL code I have is over 17k lines of code and growing.  I doubt this is
a very good example for you to learn from...there's just too much of it.
And to be honest, this is not documented and given all the BMS work I'm
signed up for right now I don't really have time to support that much
undocumented code out in the wide world of sports if it can't "stand alone"
and right now it can't really.

Cheers,

Mark.


> -----Original Message-----
> From: Frank Riedel [mailto:frank at rezultat.dk]
> Sent: Wednesday, October 15, 2003 2:39 PM
> To: Simulator Cockpit tech list
> Subject: Re: [simpits-tech] BMS: light states and shared memory
> 
> Hey Mark !
> Is there a possiblety for that you can send me the memreader you use ???
> And the EPLfile that make the interface/readout from the memreader to me
??
> Then i can studdy the EPL file and learn som more about this programming
> univers !!!
> 
> All the best
> Frank
> frank at rezultat.dk
> 
> ----- Original Message -----
> From: "Mark Doran" <mark_s_doran at hotmail.com>
> To: "'Simulator Cockpit tech list'" <simpits-tech at simpits.org>
> Sent: Wednesday, October 15, 2003 4:21 PM
> Subject: RE: [simpits-tech] BMS: light states and shared memory
> 
> 
> There was one for the "power" switch on that panel which was usable from
the
> mouse but that had no keystroke in SP3.  However, even before starting on
> BMS work I discovered that there was a keyboard callback for that so you
can
> add a key binding.  The only other switch on the threat aux panel that
isn't
> modeled in the game is the action of the "activity" pushbutton -- from the
> dash one it says that pressing this merely lights the "ACTIVITY" legend so
I
> wasn't planning to "fix" that in BMS -- in my EPIC code I take care of
that
> one directly.  Of course the shared memory fixes mean that the activity
> light in the shared memory can be used to drive the light when there
really
> is activity now under all circumstances in the game in addition to that.
> 
> I had previously submitted a few revisions to the SP4 folks for the
> keystrokes file.  I'll paste the "readme" in here...you can add these in
> your own keystrokes file right now if you like -- they work in SP3 and of
> course still in BMS.  Even if SP4 doesn't add these, you could do it for
> yourself right now...I have these in my SP3 keystrokes file with no
untoward
> effects.
> 
> Cheers,
> 
> Mark.
> 
> --
> 
> Proposed new key mappings for SP4
> ---------------------------------
> The following keystroke entries have been added to the SP4 keystrokes.key
> file.  The code to support these entries was already present in the SP3
> executable but the key mappings were not added to the keymap at that time.
> 
> The mappings are likely to be primarily of interest to checklist devotees
> and cockpit buildings since the functions they add are not critical to
> operation of the F-16 (or other airframes for that matter).
> 
> SimAltFlaps -1 0 0X6 4 0 0 1 "Alt Flaps"
> ========================================
> Keystroke: ALT 5
> Switch Name: ALT FLAPS
> Location: FLT CONTROL panel, left console
> 
> Description: Placing this switch in the "extend" position causes the
> trailing edge flaps (TEFs) to be extended regardless of the position of
the
> landing gear handle.  In the "normal" position the TEFs are controlled by
> the position of the landing gear switch. This keystroke toggles the switch
> making it go between the "normal" and "extend" positions.  Note that if
the
> TEFs are deployed they will automatically retract to the stowed position
> above 350 knots regardless of the position of this switch.  If this switch
> is placed in the "extend" position when the air speed is above 350 knots,
> nothing will happen until the jet slows to below 350 knots at which point
> the TEFs will deploy.
> 
> SimDecLeftAuxComDigit 1077 0 0X3B 1 0 0 1 "Ckpit-Dec Aux Comm Lft digit"
> ========================================================================
> Keystroke: SHF F1
> Switch name: Decrement leftmost AUX COMM channel digit
> Location: AUX COMM panel, left console
> 
> Description: This keystroke decrements the leftmost digit of the TACAN
> channel number selector/display located on the AUX COMM panel.
> 
> SimDecCenterAuxComDigit 1078 0 0X3C 1 0 0 1 "Ckpit-Dec Aux Comm Ctr digit"
> ========================================================================
> Keystroke: SHF F2
> Switch name: Decrement center AUX COMM channel digit
> Location: AUX COMM panel, left console
> 
> Description: This keystroke decrements the center digit of the TACAN
> channel number selector/display located on the AUX COMM panel.
> 
> SimDecRightAuxComDigit 1079 0 0X3D 7 0 0 1 "Ckpit-Dec Aux Comm Rt digit"
> ========================================================================
> Keystroke: CTL SHF ALT F3
> Switch name: Decrement rightmost AUX COMM channel digit
> Location: AUX COMM panel, left console
> 
> Description: This keystroke decrements the rightmost digit of the TACAN
> channel number selector/display located on the AUX COMM panel.
> 
> SimRwrPower -1 0 0XD2 4 0 0 1 "RWR Power"
> =========================================
> Keystroke: ALT INSERT
> Switch name: POWER
> Location: THREAT WARNING AUX panel
> 
> Description: This keystroke toggles the power on and off for the threat
> warning system.  In the off position, the threat warning system azimuth
> indicator will be blanked and the switches on the THREAT WARNING PRIME
> and THREAT WARNING AUX panels will be inoperative.  All audio cues
> associated with the threat warning system are also supressed when the
> power switch is set to off.
> 
> SimSymWheelDn -1 0 0X3B 2 0 0 1 "Sym Wheel Down"
> ================================================
> Keystroke: CTL F1
> Switch name: Rotate SYM rotary control down
> Location: ICP
> 
> Description: This keystroke models the pilot turning the rotary "SYM"
> control on the ICP towards the "off" position (down).  This reduces the
> brightness of the symbology display on the HUD.  Note: if you press
> this keystroke enough times, it will reduce the brightness to the
> extent that no symbology is visible.  However, this is not the same
> as turning off the HUD power; it merely blanks the display.  If you
> want to turn off the HUD power completely you must still use the
> HUD power switch (SHF ALT F2).  This control interacts with the "HUD
> Brightness" control that is mapped to the "day/night/auto" switch on
> the HUD control panel (right console).  The day/night/auto switch sets
> one of three baseline brightness settings; the SYM wheel then adjusts
> the brightness of the HUD display to one of six possible settings.  This
> control differs from the "Brightness down" command (SHF STL ATL x) because
> "brightness down" only provides three different levels of brightness
> adjustment.
> 
> SimSymWheelUp -1 0 0X3C 2 0 0 1 "Sym Wheel Up"
> ==============================================
> Keystroke: CTL F2
> Switch name: Rotate SYM rotary control up
> Location: ICP
> 
> Description: This keystroke models the pilot turning the rotary "SYM"
> control on the ICP away from the "off" position (down).  This increases
> the brightness of the symbology display on the HUD.  This control
> interacts with the "HUD Brightness" control that is mapped to the
> "day/night/auto" switch on the HUD control panel (right console).  The
> day/night/auto switch sets one of three baseline brightness settings;
> the SYM wheel then adjusts the brightness of the HUD display to one of
> six possible settings.  This control differs from the "Brightness up"
> command (SHF STL ATL x) because "brightness up" only provides three
> different levels of brightness adjustment.
> 
> SimDropProgrammed -1 0 0X2D 4 0 0 1 "HOTAS Run countermeasures program"
> =======================================================================
> Keystroke: ALT x
> Switch name: HOTAS Run programmed countermeasures dispense program
> Location: HOTAS Control Grip, countermeasuers hat switch up (Cougar: H4U).
> 
> Description: This keystroke corresponds to the HOTAS control that runs
> the countermeasures (chaff/flare) program that is pre-selected using the
> PRGM knob on the CMDS panel.  Although the exact mapping of the functions
> on the countermeasures hat switch on the F-16C flight control stick is
> classified, it is generally believed that this function is associated with
> the "up" position (push the hat away from you) of that four-way control.
> 
> 
> > -----Original Message-----
> > From: Michi Hirczy [mailto:mi.hi at gmx.net]
> > Sent: Wednesday, October 15, 2003 12:29 AM
> > To: Simulator Cockpit tech list
> > Subject: Re: [simpits-tech] BMS: light states and shared memory
> >
> > Mark Doran wrote:
> >
> > > Ummm, that would be me doing the work and I will try to keep an eye on
> any
> > > requests or bug reports I see here.
> > >
> > > Changes you refer to are in the 0.8 BMS exe -- please test them and
let
> me
> > > know if you have any problems.
> >
> > Hi, Mark!
> >
> > I haven't tested it yet, but have another question:
> > In the readme to BM.8 you state, that you have a new keystroke for the
> > external wing trans switch. AFAIR, there are some keystrokes for the TWR
> > AUX panel missing - are these already implemented somewhere? (I haven't
> > checked for about 3 monthes now, too busy at work)
> >
> > greetings
> > michi
> >
> > --
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> > %  http://www.f16simulator.net  %
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> _______________________________________________
> Simpits-tech mailing list
> Simpits-tech at simpits.org
> http://www.simpits.org/mailman/listinfo/simpits-tech
> To unsubscribe, please see the instructions at the bottom of the above
page.
> Thanks!



More information about the Simpits-tech mailing list