home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 180.img / TURBOD.ZIP / MANUAL.DOC < prev    next >
Text File  |  1988-10-31  |  13KB  |  319 lines

  1.  
  2. The following documents changes to the manual that were made
  3. after it went to print. Please read this file and make the
  4. appropriate corrections in the Turbo Debugger User's Guide.
  5.  
  6. Page
  7.  
  8. 8 End of page, add: "TD.OVL is the file containing the menu system
  9.   and must be available to TD whenever you use the menus. If
  10.   TD.OVL is not available when you load TD, an error message will
  11.   inform you of such. In addition, if you're loading from a disk,
  12.   the message will prompt you to insert the disk containing
  13.   TD.OVL."
  14.  
  15. 18 In the second and third bullets, delete "E" and add the
  16.    letters B and D.
  17.  
  18. 23 The third line in the third paragraph should read "...you have
  19.    a choice of four commands: Create, Remove, Delete All, and
  20.    Stop Recording".
  21.  
  22. 30 Add to the last sentence of "Resizing and Saving Windows":
  23.    "..from DOS if the configuration was saved to a file called
  24.    TDCONFIG.TD. This is the only configuration file that will be
  25.    loaded automatically when Turbo Debugger is loaded. Other
  26.    configurations can be loaded (saved in other files) by using
  27.    the Options/Restore Options selection in the main menu or
  28.    using the-c command line option when loading TD." See the
  29.    entry for page 52.
  30.  
  31. 34,35 At the end of p34 and the first sentence of p35, change
  32.       Alt-F R to Ctrl-F2.
  33.  
  34. 35 Last sentence of the second paragraph under "Using Turbo
  35.    Debugger" should read: "...File menu, in this case only the F1
  36.    and Esc keys appear.
  37.  
  38. 37 Replace the third paragraph with the following: There are a
  39.    number of ways to control the execution of your program, a
  40.    listing can be found in the Run menu. For instance, let's say
  41.    you wanted to execute the program until it reaches line 38.
  42.    First, position the cursor on line 38, then press F4, which
  43.    will run the program up to (but not including) line 38. Now
  44.    press F7, which executes one line of source code at a time; in
  45.    this case, it executes line 38, a call to the function
  46.    showargs. The cursor will immediately jump to line 150 where
  47.    the definition of showargs is found. Continuing to press F7
  48.    will step through the function showargs and then return you to
  49.    the line following the call--line 39. If you pressed F8
  50.    instead of F7 when positioned on line 38, the cursor would
  51.    have gone directly to line 39 not to the function. F8 is
  52.    similar to F7 except that it skips over any calls but still
  53.    executes them.
  54.  
  55. 37 Last line, first paragraph should read, "The arrow and cursor
  56.    are on the next executable line."
  57.  
  58. 39 Figure 3.4, change the contents of the Watches window to the following:
  59.  
  60.      nwords                   unsigned int   2  (0x2)
  61.  
  62. 40 Last paragraph, 3rd line, modify to read: "An inspector
  63.    appears showing the values of the letterinfo array elements."
  64.    And add: "The first line under the title is the address in
  65.    main memory of the first element of the array letterinfo."
  66.    Note that this number will probably be different on your
  67.    system.
  68.  
  69. 41 In Figure 3.6, the title of the Inspector window should be
  70.    "Inspecting letterinfo[3]."
  71.  
  72.    In the first line, modify it to read, "...name of the data you
  73.    are inspecting. The next...".
  74.  
  75.    The Inspector window in Figure 3.6 should look like this:
  76.  
  77.          Inspecting letterinfo        3
  78.          @5A51:08F4
  79.          [0]                      (1,1)
  80.          [1]                      (1,0)
  81.          [2]                      (1,0)
  82.          [3]                      (1,1)
  83.          [4]                      (1,0)
  84.          Inspecting letterinfo[3]     4
  85.          @5A51:0904
  86.          count                  1 (0x1)
  87.          firstletter            0 (0x1)
  88.          -----------------------------
  89.          struct linfo
  90.  
  91. 42 First paragraph after Figure 3.7, change the last line to
  92.    "...the new value, 10L (0xA)."
  93.  
  94.    On the next paragraph, the last line: "Type argc and press
  95.    Enter, then press the Tab key twice to move to the line
  96.    labeled New Value. Type 123 and press Enter; the integer
  97.    result (second line) will change to int 123 (0x7B).
  98.  
  99. 48 Add to the second paragraph after Figure 3.13: "This will set
  100.    the variable NumLines equal to 123."
  101.  
  102. 51 In the first paragraph under "Running Turbo Debugger," add to
  103.    the end: "TD.OVL must be available for TD to call upon for its
  104.    menu system."
  105.  
  106. 52 Under "Command-Line Options," add the -c<filename> option.
  107.    This option loads the specified configuration file. If this
  108.    option isn't specified, TDCONFIG.TD is loaded if it exists.
  109.    Here's an example:
  110.  
  111.       TD -cMYCONF.TD TCDEMO
  112.  
  113.    This loads the configuration file MYCONF.TD and the source
  114.    code for TCDEMO. A space cannot exist between -c and the file
  115.    name.
  116.  
  117. 53 Under the -m option, a space cannot exist between the -m and
  118.    the size of the heap; for example, TD -m64 TCDEMO.
  119.  
  120. 54 Under the -r Options, the default speed is 115 Kbaud.
  121.  
  122. 55 The bottom line should read, "...those default option values
  123.    and any values in TDCONFIG.TD."
  124.  
  125. 57 Under "Create," add to the end of the first paragraph: "To
  126.    begin a recording session, enter F10/Option/Macro/Create. You
  127.    will be prompted for the key you want to assign the macro to.
  128.    The message "Recording" is displayed in the upper right-hand
  129.    corner while the recording session is in progress.
  130.  
  131. 59 To the "Save Options Command," add: "Turbo Debugger allows you
  132.    to save your options in three ways:
  133.  
  134.    All    - Saves all settings made in options, including
  135.               windows and macros
  136.    Layout - Saves only the windowing layout
  137.    Macros - Saves only the currently defined macros
  138.  
  139. 73 Add to the end of "Animate [Alt-F4]": "After activating Alt-
  140.    F4, you'll be prompted for a time delay between successive
  141.    traces. The time delay is in 10ths of a second; the default is
  142.    3."
  143.  
  144. 76 Add to "Keystroke Recording and Playback": Note: When a macro
  145.    is saved to a configuration file, the configuration of the
  146.    total environment is saved, including opened view windows and
  147.    zoomed windows. Thus, if you record a macro that opens a view
  148.    window and doesn't close the window before saving it, the next
  149.    time you do a Restore of that configuration file, the window
  150.    will be automatically opened without executing the macro.
  151.  
  152. 82 After "Watch," add a new section: "Function Return" shows you
  153.    the value the current function is about to return. You can
  154.    only use this command when the function is about to return to
  155.    its caller.
  156.  
  157.    The return value is displayed in an Inspector window, so you
  158.    can easily examine return values that are pointers to compound
  159.    data objects.
  160.  
  161.    This command prevents you from having to switch to a CPU
  162.    window to examine the return value that is placed in the CPU
  163.    registers.
  164.  
  165. 85 In the second line under "Watch," change "end" to "beginning."
  166.  
  167. 86 To the end of the third paragraph under "Inspector
  168.    Windows," add "..., unless it has been optimized to a register".
  169.  
  170. 110 The example at the end of the page should be "(long) a,4".
  171.  
  172. 111 Replace "TDH.SYS" with "TDH386.SYS" in the fifth paragraph.
  173.  
  174. 137 The second sentence in the last paragraph should read, "An
  175.     expression consists of a mixture of symbols, operators,
  176.     strings, variables, and constants."
  177.  
  178. 158,159 Change all occurrences of "I/O location" to "I/O port."
  179.  
  180. 171 At the top of page, replace lines 2-6 with the following:
  181.     "When assembling an instruction or evaluating an assembler
  182.     expression to refer to the contents of a variable, use the
  183.     name of the variable alone or between brackets:
  184.  
  185.             mov ax,[a]
  186.             mov dx,a
  187.  
  188.     To refer to the address of the variable, use the OFFSET
  189.     operator:
  190.  
  191.             mov ax,offset a
  192.  
  193. 178 Add the "Empty" local menu command: "Empty" sets the value of
  194.     the currently highlighted register to empty. This is a
  195.     special status that indicates that the register no longer
  196.     contains valid data.
  197.  
  198. 183 The Shift-arrow keys move between the panes in a window. The
  199.     pane in the direction of the arrow becomes the active pane.
  200.  
  201. 195 The description for the shifted arrow keys in the table on
  202.     this page should be
  203.  
  204.     Key                Function
  205.    -----------------------------------------------------------
  206.     Shift-Up arrow     Resizes window; moves bottom up
  207.     Shift-Down arrow   Resizes window; moves bottom down
  208.     Shift-Left arrow   Resizes window; moves right side left
  209.     Shift-Right arrow  Resizes window; moves right side right
  210.  
  211. 199 The "Save Options..." menu command has three options that
  212.     control which part of the configuration gets saved (see the
  213.     entry for p59):
  214.  
  215.     All
  216.     Macros
  217.     Layout
  218.  
  219. 226 In the last line of the first paragraph under "Starting Turbo
  220.     Debugger," change Alt-F L to Ctrl-F2.
  221.  
  222. 227 In the fifth line of the third paragraph, replace "wordcount"
  223.     with "charcount."
  224.  
  225. 228 In the first line of the second paragraph under Eureka!,
  226.     change Alt-F L to Ctrl-F2. Do the same for the third
  227.     paragraph, fourth line.
  228.  
  229. 238 Change "1024 bytes of DOS env" to "256 bytes of DOS env".
  230.  
  231. 239 Change the description of -w to say "You can enter a new
  232.     executable file name that does not already exist and TD386
  233.     will create the new executable file."
  234.  
  235. 244 The -vb option no longer exists as a command-line option.
  236.  
  237. 249 Add this section: "TDRF Remote File Transfer Utility."  You
  238.     can enter a new executable file name that does not have to
  239.     already exist. TDRF will create the new executable file.
  240.  
  241. 250 In the first paragraph, add: "The wild cards * and ? can
  242.     be used with the COPY, COPYFROM, DEL, and DIR commands that
  243.     follow.
  244.  
  245.     Change the explanation for COPY to "Copies files from the
  246.     local system to the remote system. You can..."
  247.  
  248.     The explanation for COPYFROM should read: "Copies files from
  249.     the remote system to the local system. The single..." An
  250.     additional example is
  251.  
  252.     TDRF F TC*.* A:\TCDEMO
  253.  
  254.     which copies all files beginning with TC on the current
  255.     directory of the remote system to the local system's drive A,
  256.     subdirectory TCDEMO.
  257.  
  258. 251 At the bottom of the page, change FILE2 to TEST2.
  259.  
  260. 255 Add: If you specify the -c option, the input .EXE file is
  261.     converted into a .COM file. If you use -c in conjunction with
  262.     -s, you can convert an .EXE file with symbols into a .COM
  263.     file with a separate .TDS symbol file. This lets you debug
  264.     .COM files with Turbo Debugger while retaining full debugging
  265.     information.
  266.  
  267.     You can only convert certain .EXE files into .COM files. The
  268.     same restrictions apply to the -c option of TDSTRIP as to the
  269.     /t option of TLINK: Your program must start at location 100
  270.     hex, and it can't contain any segment fixups.
  271.  
  272. 275 Add to "Swap" under "The User Screen Updating Option": "Also,
  273.     use the Swap option if you shell out to DOS and run other
  274.     utilities or if you have a TSR (such as SideKick) loaded.
  275.  
  276. 277 "43/50 line mode startup" is now called "Screen Lines." Also,
  277.     line one of the explanation should read: "Press S to...."
  278.  
  279. 279 Add to "Key for Interrupt": You choose the key for interrupt
  280.     by directly pressing the key combination you wish to use.
  281.     You can use any combination of the Left-Shift, Right-Shift,
  282.     Alt, and Ctrl keys, along with a normal keyboard character
  283.     like a letter, function key, etc. For example,
  284.  
  285.          Shift-Alt-F1
  286.          Left shift-Right shift-Spacebar
  287.  
  288.     On extended 101-key keyboards, Turbo Debugger does not
  289.     distinguish between the left and right Alt keys or the left
  290.     and right Ctrl keys. The left and right shift keys are still
  291.     treated distinctly.
  292.  
  293. 282 TDINST now has a separate Save and Quit command on the main
  294.     menu. If you select Save, a menu appears that lets you choose
  295.     between saving the configuration directly to the Turbo
  296.     Debugger executable program file TD.EXE or to a
  297.     configuration file.
  298.  
  299.     If you choose to save to a configuration file, a prompt
  300.     appears initialized to the default configuration file
  301.     TDCONFIG.TD. You can accept this name by pressing Enter or
  302.     you can type a new configuration file name. If you specify a
  303.     different file name, you can load that configuration by using
  304.     the -c command-line option when you start Turbo Debugger; for
  305.     example,
  306.  
  307.           td -cmycfg myprog
  308.  
  309.     You can also use the Options/Restore Configuration command to
  310.     load a configuration once you have started Turbo Debugger.
  311.  
  312. 284 Bottom of page: You can use data watching with breakpoints
  313.     that are not longer than 4 bytes.
  314.  
  315. 286 Middle of page: Change  "MOV AL,[1234]" to "MOV AX,[1234]".
  316.  
  317. 301 Add: "You can enter a new executable file name that does not
  318.     already exist. TDREMOTE will create the new executable file."
  319.