Skip to content

Commit

Permalink
Fix #628 Add F-4E Fuel Device (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliefoxtwo authored May 25, 2024
1 parent 2afd2da commit b3ac6d1
Show file tree
Hide file tree
Showing 4 changed files with 727 additions and 175 deletions.
99 changes: 58 additions & 41 deletions Scripts/DCS-BIOS/doc/Addresses.h
Original file line number Diff line number Diff line change
Expand Up @@ -13061,6 +13061,23 @@
#define F_22A_START_R_SW 0x6600, 0x0040, 6
#define F_22A_START_R_SW_AM 0x6600, 0x0040
#define F_22A_TAXI_LIGHTS_SW 0x6600, 0x6000, 13
#define F_4E_PLT_FUEL_AIR_REFUEL 0x2A08, 0x2000, 13
#define F_4E_PLT_FUEL_AIR_REFUEL_AM 0x2A08, 0x2000
#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK 0x2A08, 0x8000, 15
#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM 0x2A08, 0x8000
#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK 0x2A10, 0x0004, 2
#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM 0x2A10, 0x0004
#define F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED 0x2A10, 0x0003, 0
#define F_4E_PLT_FUEL_FEED_TANK_CHECK 0x2A10, 0x0008, 3
#define F_4E_PLT_FUEL_FEED_TANK_CHECK_AM 0x2A10, 0x0008
#define F_4E_PLT_FUEL_REFUEL_SELECTOR 0x2A08, 0x1000, 12
#define F_4E_PLT_FUEL_REFUEL_SELECTOR_AM 0x2A08, 0x1000
#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER 0x2A08, 0x0800, 11
#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM 0x2A08, 0x0800
#define F_4E_PLT_FUEL_WING_FUEL_DUMP 0x2A08, 0x4000, 14
#define F_4E_PLT_FUEL_WING_FUEL_DUMP_AM 0x2A08, 0x4000
#define F_4E_PLT_FUEL_WING_INTERNAL_FEED 0x2A08, 0x0400, 10
#define F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM 0x2A08, 0x0400
#define F_4E_PLT_IFF_AUDIO_LIGHT_SW 0x2A00, 0x0600, 9
#define F_4E_PLT_IFF_CODE 0x2A00, 0x0003, 0
#define F_4E_PLT_IFF_IDENT 0x2A06, 0xC000, 14
Expand Down Expand Up @@ -13094,49 +13111,49 @@
#define F_4E_PLT_IFF_TEST_LIGHT_AM 0x2A00, 0x0020
#define F_4E_PLT_MASTER_ARM_SW 0x2A08, 0x0200, 9
#define F_4E_PLT_MASTER_ARM_SW_AM 0x2A08, 0x0200
#define F_4E_WSO_IFF_CHALLENGE_DIM 0x2A1A, 0xFFFF, 0
#define F_4E_WSO_IFF_CHALLENGE_DIM_A 0x2A1A
#define F_4E_WSO_IFF_CHALLENGE_LIGHT 0x2A18, 0x2000, 13
#define F_4E_WSO_IFF_CHALLENGE_LIGHT_AM 0x2A18, 0x2000
#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON 0x2A18, 0x1000, 12
#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM 0x2A18, 0x1000
#define F_4E_WSO_IFF_CODE_A 0x2A12
#define F_4E_WSO_IFF_CODE_HUNDREDS 0x2A10, 0x00F0, 4
#define F_4E_WSO_IFF_CODE_INC_HUNDREDS 0x2A10, 0x1000, 12
#define F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM 0x2A10, 0x1000
#define F_4E_WSO_IFF_CODE_INC_ONES 0x2A10, 0x4000, 14
#define F_4E_WSO_IFF_CODE_INC_ONES_AM 0x2A10, 0x4000
#define F_4E_WSO_IFF_CODE_INC_TENS 0x2A10, 0x2000, 13
#define F_4E_WSO_IFF_CODE_INC_TENS_AM 0x2A10, 0x2000
#define F_4E_WSO_IFF_CODE_INC_THOUSANDS 0x2A08, 0x8000, 15
#define F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM 0x2A08, 0x8000
#define F_4E_WSO_IFF_CODE_ONES 0x2A08, 0x3C00, 10
#define F_4E_WSO_IFF_CODE_TENS 0x2A10, 0x000F, 0
#define F_4E_WSO_IFF_CODE_THOUSANDS 0x2A10, 0x0F00, 8
#define F_4E_WSO_IFF_CHALLENGE_DIM 0x2A1C, 0xFFFF, 0
#define F_4E_WSO_IFF_CHALLENGE_DIM_A 0x2A1C
#define F_4E_WSO_IFF_CHALLENGE_LIGHT 0x2A12, 0x8000, 15
#define F_4E_WSO_IFF_CHALLENGE_LIGHT_AM 0x2A12, 0x8000
#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON 0x2A12, 0x4000, 14
#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM 0x2A12, 0x4000
#define F_4E_WSO_IFF_CODE_A 0x2A14
#define F_4E_WSO_IFF_CODE_HUNDREDS 0x2A10, 0xF000, 12
#define F_4E_WSO_IFF_CODE_INC_HUNDREDS 0x2A12, 0x0040, 6
#define F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM 0x2A12, 0x0040
#define F_4E_WSO_IFF_CODE_INC_ONES 0x2A12, 0x0100, 8
#define F_4E_WSO_IFF_CODE_INC_ONES_AM 0x2A12, 0x0100
#define F_4E_WSO_IFF_CODE_INC_TENS 0x2A12, 0x0080, 7
#define F_4E_WSO_IFF_CODE_INC_TENS_AM 0x2A12, 0x0080
#define F_4E_WSO_IFF_CODE_INC_THOUSANDS 0x2A12, 0x0020, 5
#define F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM 0x2A12, 0x0020
#define F_4E_WSO_IFF_CODE_ONES 0x2A10, 0x00F0, 4
#define F_4E_WSO_IFF_CODE_TENS 0x2A10, 0x0F00, 8
#define F_4E_WSO_IFF_CODE_THOUSANDS 0x2A12, 0x000F, 0
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM 0x2A1E, 0xFFFF, 0
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM_A 0x2A1E
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON 0x2A1C, 0x0002, 1
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM 0x2A1C, 0x0002
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT 0x2A1C, 0x0004, 2
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM 0x2A1C, 0x0004
#define F_4E_WSO_IFF_COMBAT_TREE_MODE_2 0x2A1C, 0x0030, 4
#define F_4E_WSO_IFF_COMBAT_TREE_MODE_3 0x2A1C, 0x00C0, 6
#define F_4E_WSO_IFF_COMBAT_TREE_TEST 0x2A1C, 0x0008, 3
#define F_4E_WSO_IFF_COMBAT_TREE_TEST_AM 0x2A1C, 0x0008
#define F_4E_WSO_IFF_MODE_A 0x2A16
#define F_4E_WSO_IFF_MODE_DEC 0x2A10, 0x8000, 15
#define F_4E_WSO_IFF_MODE_DEC_AM 0x2A10, 0x8000
#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS 0x2A18, 0x0200, 9
#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM 0x2A18, 0x0200
#define F_4E_WSO_IFF_MODE_DEC_ONES 0x2A18, 0x0800, 11
#define F_4E_WSO_IFF_MODE_DEC_ONES_AM 0x2A18, 0x0800
#define F_4E_WSO_IFF_MODE_DEC_TENS 0x2A18, 0x0400, 10
#define F_4E_WSO_IFF_MODE_DEC_TENS_AM 0x2A18, 0x0400
#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS 0x2A18, 0x0100, 8
#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM 0x2A18, 0x0100
#define F_4E_WSO_IFF_MODE_INC 0x2A08, 0x4000, 14
#define F_4E_WSO_IFF_MODE_INC_AM 0x2A08, 0x4000
#define F_4E_WSO_IFF_TEST_CHALLENGE 0x2A18, 0xC000, 14
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON 0x2A1A, 0x0800, 11
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM 0x2A1A, 0x0800
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT 0x2A1A, 0x1000, 12
#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM 0x2A1A, 0x1000
#define F_4E_WSO_IFF_COMBAT_TREE_MODE_2 0x2A1A, 0xC000, 14
#define F_4E_WSO_IFF_COMBAT_TREE_MODE_3 0x2A20, 0x0003, 0
#define F_4E_WSO_IFF_COMBAT_TREE_TEST 0x2A1A, 0x2000, 13
#define F_4E_WSO_IFF_COMBAT_TREE_TEST_AM 0x2A1A, 0x2000
#define F_4E_WSO_IFF_MODE_A 0x2A18
#define F_4E_WSO_IFF_MODE_DEC 0x2A12, 0x0200, 9
#define F_4E_WSO_IFF_MODE_DEC_AM 0x2A12, 0x0200
#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS 0x2A12, 0x0800, 11
#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM 0x2A12, 0x0800
#define F_4E_WSO_IFF_MODE_DEC_ONES 0x2A12, 0x2000, 13
#define F_4E_WSO_IFF_MODE_DEC_ONES_AM 0x2A12, 0x2000
#define F_4E_WSO_IFF_MODE_DEC_TENS 0x2A12, 0x1000, 12
#define F_4E_WSO_IFF_MODE_DEC_TENS_AM 0x2A12, 0x1000
#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS 0x2A12, 0x0400, 10
#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM 0x2A12, 0x0400
#define F_4E_WSO_IFF_MODE_INC 0x2A12, 0x0010, 4
#define F_4E_WSO_IFF_MODE_INC_AM 0x2A12, 0x0010
#define F_4E_WSO_IFF_TEST_CHALLENGE 0x2A1A, 0x0300, 8
#define F_5E_3_ACC 0x768E, 0x0004, 2
#define F_5E_3_ACCELEROMETER 0x76A0, 0xFFFF, 0
#define F_5E_3_ACCELEROMETER_A 0x76A0
Expand Down
Loading

0 comments on commit b3ac6d1

Please sign in to comment.