home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bgi256-3.zip / CREATE.DOC < prev    next >
Text File  |  1992-12-28  |  3KB  |  67 lines

  1.                              CREATE
  2.  
  3.                    BGI Driver Creation program
  4.                            28 Dec 1992
  5.                          Knight Software
  6.  
  7. To create a BGI driver using the supplied source code you will 
  8. need the following programs:
  9.  
  10. TASM.EXE     - Borland Turbo Assembler
  11. TLINK.EXE    - Borland Linker
  12. BINOBJ.EXE   - Borland BIN to OBJ converter (for Pascal)
  13. BGIOBJ.EXE   - Borland BGI to OBJ converter (for C, C++)
  14. BDH3.EXE     - Knight Software BGI header builder (V3.0)
  15. CREATE.BAT   - Batch file to create the BGI driver
  16. COPYRITE.DAT - Optional copyright message
  17.  
  18. TASM and TLINK are provided with the Borland Professional 
  19. language package (C or Pascal). BINOBJ is provided with Turbo 
  20. Pascal. You only need the BGIOBJ program if you are creating an 
  21. OBJ file to be linked into Turbo Pascal at compile time. BGIOBJ 
  22. is provided with Borland's C language. You only need the BGIOBJ 
  23. if you are creating an OBJ file to be linked into C programs. 
  24.  
  25. BDH3.EXE is provided with this package. The Pascal source 
  26. BDH3.PAS is also provided. The BDH3 program attaches the required 
  27. header information to a previously assembled BGI driver body.
  28.  
  29. The CREATE.BAT batch file uses the above mentioned files to 
  30. create the BGI driver and OBJ files. In addition to the indicated 
  31. files you will also need the assembler source for the BGI driver. 
  32. An assumption has been made that all files will start with the 
  33. same name. That way you can create the BGI files by calling 
  34. "CREATE NAME". As an example, to create the BGI256 driver, you 
  35. would enter "CREATE BGI256". If you wish to use different names 
  36. for some of the files, then you will have to modify the 
  37. CREATE.BAT file to reflect the changes, or call the individual 
  38. programs in the CREATE.BAT file directly. 
  39.  
  40. If you are creating a Version 2.00 driver, you will see an error 
  41. message indicating that the code is version 2.00 code and that 
  42. the BDH program is creating the 2.00 driver. If you wish to avoid 
  43. the error message, you can add a "2" to the command line to force 
  44. the BDH3 program into Version 2.00 mode. "CREATE BGI256 2" 
  45. This presumes that the BGI driver was created as version 2.00 
  46. code. You must change the assembler switch in BGI256.ASM to 
  47. select the proper version before calling the CREATE.BAT program.
  48. The BDH3 program detects which version the code is for and 
  49. automatically generates the appropriate BGI driver.
  50.  
  51. Note that if you are generating C linkable OBJ files, then you 
  52. will have to limit the file name to six characters if you use the 
  53. current CREATE.BAT file mechanism. If you wish to use the full 
  54. eight characters available for the filename, then you will need 
  55. to modify the CREATE.BAT file to adjust the names for for C 
  56. linkable OBJ file names which is the reason for the limitation.
  57. If you are not generating the C linkable OBJ files you can use 
  58. the full eight character filename. 
  59.  
  60. The BDH3 program requires a binary image of the assembled source 
  61. which is generated by the TASM and TLINK programs. The BDH3 
  62. program also requires the COPYRITE.DAT file which contains the 
  63. copyright message that will be attached to the start of the BGI 
  64. driver. If the COPYRITE.DAT file is not found, the default Knight 
  65. Software copyright message will be used. 
  66.  
  67.