home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / dmkit / flat / loader.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-31  |  2.1 KB  |  44 lines

  1. //** LOADER ->    DIGPAK and MIDPAK dynamic loader.
  2. //**                        Include this header file to support dynamic loading of
  3. //**                        the real-mode DIGPAK and MIDPAK drivers.    If you only
  4. //**                        want DIGPAK suppor then set MIDPAK_LOADER to false, if
  5. //**                        you just want MIDPAK support then set DIGPAK_LOADER to false.
  6. //**                        Requires: SUPPORT.C SUPPORT.H  basic file i/o memory managment.
  7. //**                                            VECTOR.ASM VECTOR.H  Hook and unhook the realmode
  8. //**                                            VECTOR.COM                     vector manager, VECTOR.COM.
  9. //**                                            DOSCALLS.ASM DOSCALLS.H, real-mode 1mb memory
  10. //**                                                                                     allocation and management.
  11. //**                                            DIGPLAY.ASM DIGPLAY.H DigPak API link layer.
  12. //**                                            MIDPAK.ASM MIDPAK.H  MidPak API link layer.
  13. //**                                            STDIO.H STDLIB.H    C standard file support functions.
  14. /*                                                                                                                                                     */
  15. /*        Written by John W. Ratcliff (c) 1994                                                                     */
  16. /*             Compuserve: 70253,3237                                                                                          */
  17. /*             Genie: J.RATCLIFF3                                                                                                  */
  18. /*             BBS: 1-314-939-0200                                                                                                 */
  19. /*             Addresss:                                                                                                                     */
  20. /*                     747 Napa Lane                                                                                                     */
  21. /*                     St. Charles, MO 63304                                                                                     */
  22. /*                                                                                                                                                     */
  23.  
  24. #define DIGPAK_LOADER 1 // True if enabling DIGPAK loading.
  25. #define MIDPAK_LOADER 1 // True if enabling MIDPAK loading.
  26.  
  27. // ** C prototype header to MIDPAK and DIGPAK loader functions.
  28. #if DIGPAK_LOADER
  29. int LoadDigPak(char *fname); // Load digpak driver, returns' true if loaded.
  30. int InitDigPak(void); // Initialize Digpak true, if successfull.
  31. int DeInitDigPak(void); // Uninitialize DigPak.
  32. int UnLoadDigPak(void); // unload digpak driver from memory.
  33. #endif
  34.  
  35. #if MIDPAK_LOADER
  36. int LoadMidPak(char *fname,char *adv,char *ad); // Load MidPak driver, returns' true if loaded.
  37. int InitMidPak(void); // Initialize MidPak true, if successfull.
  38. int DeInitMidPak(void); // Uninitialize MidPak.
  39. int UnLoadMidPak(void); // unload MidPak driver from memory.
  40. #endif
  41.  
  42. void RemoveVectorLoader(void); // Remove vector loader.
  43.  
  44.