home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / misc / ida.cfg < prev    next >
Text File  |  1994-12-26  |  6KB  |  232 lines

  1. //     *************************
  2. //    Sample IDA config file.        Created 17-Jul-91 by Guilfanov I.
  3. //     *************************
  4.  
  5. //
  6. //    #include's are allowed.
  7. //
  8. //    You can use C-like constants in this file.
  9. //
  10. //
  11.  
  12. /***********************************************************
  13.  *    Global Parameters                   *
  14.  *    -----------------                   *
  15.  ***********************************************************/
  16.  
  17. ASCII_PREFIX    =    "m_"            // Prefix for new ASCII strings
  18. //
  19. // NOTE: As I know some assemblers can't handle such a long names.
  20. // For example, Table Driven Assembler length supports up to 13.
  21. //    BE CAREFUL!
  22. NAME_LENGTH    =    32            // Maximal length of new names
  23.  
  24. OUTPUT        =    ""            // Default path for Output
  25.                         // Files (asm,map,exe)
  26.  
  27. AUTOSAVE    =    16            // Flush buffers after
  28.                         // 16 actions
  29.  
  30. EDITOR        =    "c:\\brief\\exe\\b.exe"    // BRIEF is the default editor
  31.  
  32. //
  33. // Swapping into extended/expanded memory.
  34. // Only IDA itself will be overlayed, not its data.
  35. //
  36.  
  37. SWAP_EXTENDED    =    256            // unit = 1 Kb
  38. SWAP_EXPANDED    =    16            // unit = 16 Kb
  39.  
  40. /***********************************************************
  41.  *    Screen Colors                       *
  42.  *    -------------                       *
  43.  *                               *
  44.  *  10.5.93    The color definitions don't work       *
  45.  *        for the moment.                   *
  46.  *                               *
  47.  ***********************************************************/
  48.  
  49.     /* dark colors */        /* light colors */
  50.  
  51. // 0    BLACK,            8    DARKGRAY,
  52. // 1    BLUE,            9    LIGHTBLUE,
  53. // 2    GREEN,            a    LIGHTGREEN,
  54. // 3    CYAN,            b    LIGHTCYAN,
  55. // 4    RED,            c    LIGHTRED,
  56. // 5    MAGENTA,        d    LIGHTMAGENTA,
  57. // 6    BROWN,            e    YELLOW,
  58. // 7    LIGHTGRAY,        f    WHITE
  59.  
  60. TEXT_COLOR            =    0x17        // LightGray on Blue
  61. TEXT_REV_COLOR        =    0x70        // Black on LightGray
  62. WARNING_COLOR        =    0x2F        // White on Green
  63. ERROR_COLOR            =    0x4F        // White on Red
  64. LIST_NORMAL_COLOR        =    0x0E        // Yellow on Black
  65. LIST_HIGH_COLOR        =    0x1F        // White on Blue
  66. STATUS_COLOR            =    0x17        // LightGray on Blue
  67. INDICATOR_COLOR        =    0x40        // Black on Red
  68. MENU_NORMAL_COLOR    =    0x70        // Black on LightGray
  69. MENU_HIGH_COLOR        =    0x0F        // White on Black
  70. ASK_COLOR        =    0x1F        // White on Blue
  71.  
  72. /***********************************************************/
  73. /*    Keyboard definitions                   */
  74. /*    --------------------                   */
  75. /***********************************************************/
  76.  
  77. "Execute"        =    "F2"
  78. "ExecuteLine"        =    "Shift-F2"
  79. //"Flush"            =    0
  80. //"Wait"            =    0
  81. //"Shell"            =    "Alt-Z"
  82. "Repaint"        =    0
  83. "Abort"            =    0
  84. "Quit"            =    "Alt-X"
  85.  
  86. "ProduceMap"        =    "Shift-F10"
  87. "ProduceAsm"        =    "Alt-F10"
  88. "ProduceLst"        =    0
  89. "ProduceExe"        =    "Ctrl-F10"
  90. "Unload"        =    "Ctrl-F2"
  91.  
  92. "EditFile"        =    0
  93.  
  94. "JumpAsk"        =    "Ctrl-G"
  95. "JumpName"        =    "Ctrl-L"
  96. "JumpSegment"        =    "Ctrl-S"
  97. "JumpSegmentRegister"    =    "Ctrl-R"
  98. "JumpQ"            =    "Ctrl-Q"
  99. "JumpPosition"        =    "Ctrl-P"
  100.  
  101. "Return"        =    "Esc"
  102.  
  103. "SetDirection"        =    "Tab"
  104. "MarkPosition"        =    "Alt-P"
  105.  
  106. "JumpVoid"        =    "Ctrl-V"
  107. "JumpCode"        =    "Ctrl-C"
  108. "JumpData"        =    "Ctrl-D"
  109. "JumpProc"        =    "Ctrl-F"
  110. "JumpUnknown"        =    "Ctrl-U"
  111. "JumpExplored"        =    "Ctrl-A"
  112. "AskNextImmediate"    =    "Alt-I"
  113. "JumpImmediate"        =    "I"
  114. "AskNextText"        =    "Alt-T"
  115. "JumpText"        =    "Ctrl-T"
  116. "AskBinaryText"        =    "Alt-B"
  117. "JumpBinaryText"    =    "Ctrl-B"
  118.  
  119. "MakeJumpTable"        =    "Alt-J"
  120. "Link"            =    0
  121. "Unlink"        =    0
  122.  
  123. "MakeCode"         =    'C'
  124. "MakeData"        =    'D'
  125. "MakeAscii"        =    'A'
  126. "MakeArray"        =    '*'
  127. "MakeUnknown"        =    'U'
  128.  
  129. "SetAssembler"        =    0
  130. "SetAuto"        =    0
  131. "SetLowLimit"        =    0
  132. "SetHighLimit"        =    0
  133. "SetAsciiBreak"        =    0
  134. "SetAsciiEnd"        =    0
  135. "SetAsciiStyle"        =    0
  136. "SetDirection"        =    "Tab"
  137. "SetTailDepth"        =    0
  138. "SetNameType"        =    0
  139.  
  140. "MakeName"        =    'N'
  141. "MakeProcedure"        =    'P'
  142. "MakeEndOfProcedure"    =    'E'
  143. "Alter1Operand"        =    "Alt-F1"
  144. "Alter2Operand"        =    "Alt-F2"
  145.  
  146. "IncrementIndent"    =    0
  147. "DecrementIndent"    =    0
  148. "SetTabulations"    =    "Shift-Tab"
  149.  
  150. "MakeComment"        =    ':'
  151. "MakeRptCmt"        =    ';'
  152. "MakePredefinedComment"    =    "Shift-F1"
  153.  
  154. "MakeExtraLineA"    =    "Ins"
  155. "MakeExtraLineB"    =    "Shift-Ins"
  156. "DeleteExtraLineA"    =    "Del"
  157. "DeleteExtraLineB"    =    "Shift-Del"
  158.  
  159. "IncrementCommentsIndent" =    0
  160. "DecrementCommentsIndent" =    0
  161.  
  162. "MakeDecimal"        =    'H'
  163. "MakeChar"        =    'R'
  164. "MakeNumber"        =    '#'
  165. "MakeVariable"        =    'V'
  166. "MakeSegment"        =    'S'
  167. "MakeOffset"        =    'O'
  168. "MakeOffsetCs"        =    "Ctrl-O"
  169. "MakeAnyOffset"        =    "Alt-R"
  170.  
  171. "CreateSegment"        =    0
  172. "SegmentBounds"        =    0
  173. "KillSegment"        =    0
  174. "MoveSegment"        =    0
  175. "RenameSegment"        =    "Alt-S"
  176. "SegmentAddressing"    =    0
  177. "SegmentClass"        =    0
  178.  
  179. "SegmentCombPrivate"    =    0
  180. "SegmentCombPublic"    =    0
  181. "SegmentCombCommon"    =    0
  182. "SegmentCombStack"    =    0
  183.  
  184. "SegmentAlignAbs"    =    0
  185. "SegmentAlignByte"    =    0
  186. "SegmentAlignWord"    =    0
  187. "SegmentAlignPara"    =    0
  188. "SegmentAlignPage"    =    0
  189. "SegmentAlignDble"    =    0
  190.  
  191. "SetSegmentRegister"    =    "Alt-D"
  192. "SetSegmentRegisterDefault"    = 0
  193.  
  194. "ShowRegisters"        =    "Space"
  195. "ShowSegmentRegisters"    =    0
  196. "ShowSegments"        =    0
  197. "ShowNames"        =    0
  198.  
  199. "PatchByte"        =    0
  200. "PatchWord"        =    "Ctrl-W"
  201.  
  202. "ToggleCrossReferences"    =    'X'
  203. "ToggleVoids"        =    0
  204. "ToggleSillyComments"    =    0
  205. "ToggleRptCmt"        =    0
  206. "ToggleEmptyLines"    =    0
  207. "ToggleBorders"        =    0
  208. "ToggleAutoShow"    =    0
  209. "TogglePrefixes"    =    0
  210. "SetBinaryPrefixes"    =    0
  211. "ToggleSegmentNames"    =    0    // use segment names in addresses
  212.                     // (instead of segment bases)
  213. "ToggleBadInstructions"    =    0    // show instructions marked with <BAD>
  214.                     // as data bytes
  215. "ToggleSegments"    =    0    // show segments in addresses
  216. "ToggleDump"        =    "Shift-F3"  // show dump or normal view
  217.  
  218. "ViewFile"        =    0
  219. "Calculate"        =    '?'
  220. "ShowFlags"        =    'F'
  221.  
  222. "WindowOpen"        =    "F3"
  223. "WindowMove"        =    "Ctrl-F5"
  224. "WindowZoom"        =    "F5"
  225. "WindowPrev"        =    "Shift-F6"
  226. "WindowNext"        =    "F6"
  227. "WindowClose"        =    "Alt-F3"
  228. "WindowTile"        =    "F7"
  229. "WindowCascade"        =    "F8"
  230.  
  231. "SetProcessor"        =    0
  232.