home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / turbo / turbo.fix < prev    next >
Encoding:
Text File  |  1993-06-08  |  3.1 KB  |  66 lines

  1.  
  2.  
  3.  
  4. TURBO PROGRAM DOES NOT RUN????  ( CP/M KAYPROs )
  5.  
  6. If you have a COM file that was written in Turbo Pascal that 
  7. does  not work,  or if it refuses to run with a RAM resident 
  8. program such as ZCPR or Xtra-Key, then read on. I just might 
  9. have a solution for you.
  10.  
  11. If the problem seems to be screen related, then the COM file 
  12. was    not   installed   for   your   particular    terminal 
  13. characteristics.  If  there is no install program  provided, 
  14. and you have the source code, then all you have to do is re-
  15. compile  it  on your machine with your  correctly  installed 
  16. TURBO.COM.   If the source code is not available,  then  you 
  17. can install it yourself by using the GINST.COM program.  You 
  18. can either use the one in the Turbo Toolbox (if you have it) 
  19. or  use  the  public domain version found  on  our  bulletin 
  20. boards.
  21.  
  22. On the other hand, if the program hangs up your system, then 
  23. the  problem  may  be with the "End  Address"  option.  This 
  24. command  tells  the compiler how much memory  is  available. 
  25. When you get into Turbo the End Address is automatically set 
  26. to  the highest value it can be without conflicting with the 
  27. operating  system.  On my computer the End Address is set to 
  28. hex  E540.   If I produce a COM file on my machine and  then 
  29. give it to someone with an End Address that is smaller (e.g. 
  30. D600),  then the program will surely crash the other system. 
  31. This is not a good way to keep your friends.
  32.  
  33. If you get a COM file that crashes your system, and you have 
  34. ZCPR3 or some other RAM-resident software installed, then go 
  35. back  to  your original CP/M and the software has  a  better 
  36. chance of running.  This is all you can do if you don't have 
  37. the Pascal source code.
  38.             
  39. If you do have the source, then the problem can be solved by 
  40. setting the End Address lower before compiling.  To do this, 
  41. go  to the Compiler Options menu by entering the letter "O". 
  42. Then  select "C",  which is the COM file  option.  Then  the 
  43. Start address and the End address are displayed.  Select "E" 
  44. to  change the value and type in the new End  address,  e.g. 
  45. "A000"  and  hit  return.   If  your  program  will  compile 
  46. successfully with such a small End address,  then you are in 
  47. business.   If not,  then raise the End address value  until 
  48. the program compiles correctly.  Run the software thoroughly 
  49. to make sure there are no run-time errors due to unavailable 
  50. memory.
  51.  
  52. Of course,  some Turbo programs need all the memory they can 
  53. get.  If  so,  then  make  sure all the other users  of  the 
  54. software  are running straight CP/M,  without all the  fancy 
  55. RAM-eaters  that  people tend to use.   These  include  RAM-
  56. resident software like ZCPR3 and key definition programs.
  57.  
  58. If  you have tried both of the above fixes and the COM  file 
  59. still does not work properly, then you have a poorly written 
  60. piece of software.  Send it back with your comments.  On the 
  61. other hand, if the COM file begins to operate as advertised, 
  62. then  walk  tall with the realization that Murphy  has  been 
  63. defeated by your prowess.
  64.  
  65. ============================================================
  66. ealization that Mur