home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Recent / util / libs / asyncioppc.lha / asyncioppc / asyncioppc.readme
Text File  |  2001-06-01  |  3KB  |  111 lines

  1. Short:    asyncio.library with WarpOS functions (V40.5)
  2. Uploader: achimste@gmx.de (Achim Stegemann)
  3. Author:   achimste@gmx.de (Achim Stegemann)
  4. Type:     util/libs
  5. Version:  40.5
  6.  
  7. What was wrong in the last version ?
  8. * Removed "SPrintf"-dummy from code. It seems to work now.
  9. * Replaced "PutXMsg" with "PutMsg". It seems, that "PutXmsg" caused some trouble on
  10.   a few Amigas (thx to Sven Ottemann).
  11. * Should run a bit faster thn before.
  12.  
  13. Notice:
  14. This archive is EMAIL-WARE !!
  15. ..what da hell is dis ??
  16. Simple... if you use it, simply send me a mail, so I know that
  17. someone is using it !!
  18. There is no copyright on it.
  19.  
  20. Requires:
  21. * MC68020 or PPC-board with WarpOS V4 (powerpc.library 15.0 or better)
  22.  
  23. Introduction:
  24. Many developer among you have used the asyncio.library, even me !
  25. The latest version of that one was V39.2. It is now some years old but
  26. still good for plain M68K Amigas.
  27.  
  28. I decided to continue developing the library for support of PPC-WOS.
  29. I bumped the lib-version to V40.
  30.  
  31.  
  32. Advantage of this enhanced asyncio.library:
  33.  
  34. *  You dont need a PPC to use this library. You can still access all
  35.    V39 functions from a plain 68k-Amiga.
  36.  
  37. The library is split in two parts:
  38. 1. The original V39-M68k functions ! I.e V40 is (of course)
  39.    100% compatible to V39 !
  40. 2. The V40 part contains all V39 functions but converted to WarpOS.
  41.    The functions have simply a "PPC" added to the name, e.g
  42.    OpenAsync (M68K) goes OpenAsyncPPC.
  43.  
  44.  
  45. Contents of the archive:
  46. The archive contains the FULL SOURCE code for StormC 3.0.
  47. You can use as a tutorial or whatever.
  48. I simply have taken the source from original V39 source and
  49. made the WOS port. That's all.
  50.  
  51. Also provided are include files for StormC and VBCC !
  52.  
  53.  
  54. Developer information.. How to use it ?
  55.  
  56. The big advantage of asyncio_ppc is, that you can access a file from
  57. both CPU sides !!
  58. Example:
  59. * Open a file in 68k mode
  60. * Read datas in PPC mode
  61. * Close the file in 68k mode
  62. or whatever you like !!
  63.  
  64.  
  65. Usage of functions:
  66. It is important, that you must only use the M68k (V39) functions from
  67. the 68k side and you must only use the PPC-funtions (V40) from the PPC side.
  68. Example:
  69. M68k: file=OpenAsync("test",MODE_READ,8192);
  70. PPC:  ReadAsyncPPC(file,buf,1000);
  71. M68k: ReadAsync(file,buf,1000);
  72. M68k: CloseAsync(file);
  73. This one would be wrong:
  74. PPC:  WriteAsync(file,buf,len);
  75. or
  76. M68K: CloseAsyncPPC(file);
  77.  
  78. Understood ? Simple...
  79. So don't mix up the functions !!
  80.  
  81. Note: It is important that you use several kBytes of buffer space, to avoid
  82. CPU switches ! The larger the buffer, the less switches !!
  83. I recommend using buffer between 16 kB and 64 kB.
  84. Larger buffers usually dont enhance speed anymore.
  85.  
  86.  
  87. Using asyncio V40 will give you no improvement, if you only use the
  88. V39 functions !!
  89.  
  90.  
  91. Tests:
  92. The asyncio.library has been successfully tested with the
  93. following programs:
  94. * Digital Almanac II
  95. * Digital Almanac III
  96. * AmigaAMP
  97. * AMPlifier
  98. * CyberQT
  99. * CyberAVI
  100. * ACTION (from OS 3.9)
  101.  
  102. Enhance your application NOW !!
  103. Feel free to use asyncio V40 as you like !!
  104.  
  105. Credits:
  106. * Sven Ottemann for StormC linker libs and bugfix.
  107. * Oliver Roberts for VBCC includes.
  108.  
  109. Internet: http://soft-ware.de/dalmanac
  110.  
  111.