home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / PASCAL / MISCTI10.ZIP / TI149.ASC < prev    next >
Encoding:
Text File  |  1988-04-15  |  1.3 KB  |  38 lines

  1. PRODUCT : TURBO PASCAL     NUMBER : 149
  2. VERSION : ALL
  3.      OS : CP/M-80
  4.    DATE : March 4, 1986
  5.  
  6.   TITLE : ROMMING CODE FOR CP/M-80
  7.  
  8. The following guidelines are for developers who wish to ROM Turbo
  9. Pascal  code.   The guidelines assume that the developer has  the 
  10. knowledge  to  undertake  the  task,  hence are  worded  for  the 
  11. experienced developer.
  12.  
  13. Guidelines:
  14.  
  15. 1)  Addresses 0-FF must be RAM and must reflect the normal  usage    
  16. in a CP/M environment.
  17.  
  18. 2)  Address 1 is used to locate the BIOS vector  (NOTE:  this  is    
  19. only relevant if you do not redefine device I/O procedures).
  20.  
  21. 3)  Address 6 is used to indicate the top of available memory.
  22.  
  23. 4)  Addresses  A0-FF are used by the Run-Time  system  for  local    
  24. variables (NOTE: this cannot be changed).
  25.  
  26. 5)  When a Turbo Pascal program terminates it calls address 0.
  27.  
  28. 6)  When  compiling the program you must use the Options menu  to    
  29. ensure that variables are placed in RAM.
  30.  
  31. 7)  Turbo Pascal does not make any BDOS calls unless the  program        
  32. uses file I/O.  Turbo Pascal does however make BIOS calls for        
  33. device  I/O.  In order to avoid these calls to the  BIOS  the        
  34. I/O  procedure  addresses should be changed by  changing  the        
  35. appropriate pointers ie., ConOutPtr, etc.
  36.  
  37.  
  38.