README 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. 1. What is this?
  2. ----------------
  3. This is the first public release of our system independent routine collection
  4. for Pascal. This package includes routines in four major areas:
  5. - file handling (FileCtrl, FileSys)
  6. - keyboard handling (Keyboard)
  7. - mouse handling (Mouse)
  8. - full-screen video handling (Video)
  9. 2. Where to find documentation?
  10. -------------------------------
  11. Documentation is not available yet. However it is planned. If you need help
  12. feel free to ask on our public mailing lists.
  13. There are two mailing lists, one for users. To subscribe send a message to
  14. [email protected] containing one single line:
  15. subscribe fpk-pascal
  16. The other mailing list is for developers. To subscribe to this list, send a
  17. message to [email protected], containing:
  18. subscribe fpc-devel
  19. 3. FTP sites
  20. -------------
  21. This unit collection is available at the following FTP site:
  22. ftp://ftp.uni-freiburg.de/pub/pc/msdos/fpk-pascal/develop/
  23. 4. Installation
  24. ---------------
  25. * With FPK:
  26. compile the unit with FPK-Pascal using your favourite switches.
  27. ppc386 buildapi.pas
  28. will do the trick. After this, copy the resulting .ppu and .o files to
  29. your ppc lib directory. By default this is
  30. /usr/lib/ppc/<version-you-are-using>/linuxunits
  31. under Linux. Under DOS units are in \PP\LIB\
  32. * With BP
  33. compile the unit with Borland Pascal using the command:
  34. bpc /cd buildapi.pas for real target
  35. bpc /cp buildapi.pas for DPMI target
  36. bpc /cw buildapi.pas for Windows target
  37. you may want to rename filectrl.pp to filectrl.pas if you want BP to
  38. be able to access your source file more easily. Copy the resulting
  39. .TPU, .TPP, .TPW files to your \BP\UNITS directory. (or to a directory
  40. you created for add-on units, make sure that this directory is listed
  41. in the Unit directories dialog)
  42. * With Virtual Pascal/2
  43. * With Speed Pascal/2
  44. similar to the above ones, but since I don't have OS/2 installed right
  45. now, I don't know.
  46. 5. Copyright
  47. ------------
  48. This library is under the terms and conditions of the LGPL. See the enclosed
  49. file COPYING.LIB for details. The library is not available as a shared lib (yet)
  50. so it may cause licensing problems if you want to use it in a commercial project.
  51. This will change as soon as the lib becomes available as a shared library.
  52. 6. Troubleshooting
  53. ------------------
  54. Due to the bugs in the FPK compiler you may run into problems while compiling
  55. the API. For example when I try to compile a unit which lists SysCalls in the
  56. uses clause (in the implementation) part, the compiler always wants to compile
  57. SysCalls (even if I have it in the lib directory.) copying the units to your
  58. working directory helps. (you'll also need errno.inc and sysnr.inc)