TECHKIT.DOC 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. TopSpeed Professional TechKit Release notes version 3.10
  2. ============================= ==========================
  3. KNOWN PROBLEMS IN TOPSPEED TECHKIT
  4. ==================================
  5. þ The post-mortem debugger does not correctly show the value
  6. of local variables where a program has been terminated by
  7. an exception, and third-party software has hooked the
  8. exception vectors in such a way that the BP register is not
  9. preserved.
  10. þ The profiler will only operate in line number mode for one
  11. module at a time.
  12. þ The resource compiler does not accept NOT as an operator.
  13. The ~ operator may be used instead. Also, the / character
  14. is not acceptable in filenames. Use \ instead.
  15. Increasing the maximum file handle count
  16. ========================================
  17. To do this you must have the source kit for the appropriate
  18. language(s) as you will to rebuild libraries.
  19. 1: Add the following code to INITEXE.A before 'jmp far __startup'
  20. ---------------------------------------------------------------------
  21. (* extend handle size *)
  22. push ax
  23. mov ah,30H (* check version >= 3.03 *)
  24. int 21H
  25. cmp al,3
  26. ja $handleextnd
  27. cmp ah,3
  28. jb $nohandleextend
  29. $handleextnd:
  30. mov ax,ds (* PSP seg into AX *)
  31. push bx
  32. push es
  33. mov es,ax
  34. mov bx,ds:[2] (* recover END-OF-ALLOCATION segment in BX *)
  35. mov ax,ds
  36. sub bx,ax (* calculate total program size *)
  37. sub bx,11H (* adjust down 11H paras., 256bytes plus 16 for slack *)
  38. mov ah,4AH (* release this memory back to DOS to handle files *)
  39. int 21H
  40. sub word ds:[2],11H (* decrement END-OF-ALLOCATION value for libraries *)
  41. pop es
  42. mov ah,67H
  43. mov bx,255 (* prepare DOS to handle up to 255 file handles. *)
  44. int 21H (* NB value must be odd and < 256 *)
  45. pop bx
  46. $nohandleextend:
  47. pop ax
  48. jmp far __startup
  49. ----------------------------------------------------------------------------
  50. 2. Change OPEN_MAX (default 20) in COREFILE.A to required number of files
  51. (remember that 5 are reserved by DOS)
  52. 3.
  53. Modula-2
  54. --------
  55. Change MaxOpenFiles in FIO.DEF to required value-5
  56. Change MaxHandles in COREFILE.DEF to required value
  57. Pascal
  58. --------
  59. Change MaxHandles in COREFILE.ITF to required value
  60. C
  61. --------
  62. Change NFDS in DOS.H to required value
  63. Change HANDLE_MAX in IO.H to required value
  64. 4. Remake all appropriate libraries and INITEXE.OBJ.
  65. 5. Remember to set FILES= in your CONFIG.SYS and that running on
  66. some networks you may need to change some configuration information.
  67.