en:docs:fapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:fapi [2022/02/16 14:41] prokusheven:docs:fapi [2024/04/30 15:22] (current) prokushev
Line 3: Line 3:
 ====== Family API ====== ====== Family API ======
  
-Family API (FAPI) is a subset of [[en:docs:os2:api:cpi|Control Program API]] which can be used to write binary portable applications. Such applications can be run as on OS/2 as on DOS system without any modifications. It is known versions of original Family API 1.00 and 1.10. Also exists side Family API implementationFAMAPI by Jonathan de Boyne Pollard and HX DOS Extender API by Andreas Grech. Versions up to 1.10 is a original OS/2 Family API. 1.20 and higher is a osFree extensions.+Family API (FAPI) is a subset of [[en:docs:os2:api:cpi|Control Program API]] which can be used to write binary portable applications. Such applications can be run as on OS/2 as on DOS system without any modifications. 
 + 
 +It is known versions of original Family API 1.001.10 and [[https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/MAPPER|Mapper]] from MS-DOS 4.0 
 + 
 +Also exists side Family API implementation
 +  * FAMAPI by [[http://jdebp.info/Softwares/famapi.html|Jonathan de Boyne Pollard]] 
 +  * HX DOS Extender API by [[https://github.com/Baron-von-Riedesel/HX|Andreas Grech]] 
 +  * os2api by [[https://github.com/malxau/os2api|Malcolm Smith]] 
 + 
 +Versions up to 1.10 is a original OS/2 Family API. 1.20 and higher is a osFree extensions.
  
 ====== Dual OS applications ====== ====== Dual OS applications ======
Line 19: Line 28:
 [[http://www.edm2.com/index.php/Hints_for_writing_simple_programs_for_both_OS/2_and_DOS]] [[http://www.edm2.com/index.php/Hints_for_writing_simple_programs_for_both_OS/2_and_DOS]]
  
-====== Function Calls ======+====== Documentation ====== 
 + 
 +[[en:docs:fapi:functions|Function reference]] 
 + 
 +======Compatibility====== 
 + 
 +^    Feature          ^ DOS 16-bit Real Mode ^ DOS 16-bit Protected Mode ((Requires DPMI host with 16-bit client support)) ^ OS/2 16-bit Protected Mode ^ 
 +| Max memory          | 640KB                | 16MB  ((Actually depends on DPMI host and current CPU)) |16MB | 
 +| Virtual memory      | No                   | No   | 1Gb | 
 +| Multitasking        | No                   | No   | Yes | 
 +| Multithreading      | No                   | No   | Yes | 
 +| Long filenames      | Yes ((Supported since version 1.20 Requires LFN driver under DOS or run in Windows 9x VDM.))                 | Yes ((Supported since version 1.20 Requires LFN driver under DOS or run in Windows 9x VDM.)) | Yes  ((Starting from OS/2 1.??)) | 
 +| Extended attributes | Yes ((Under OS/2 BOX only))               | Yes ((Under OS/2 BOX only)) | Yes ((Starting from OS/2 1.??)) | 
 +| App EXE name change | Yes ((Under DOS 3 and higher))  | Yes ((Under DOS 3 and higher))   | Yes | 
 + 
  
 +====== Remarks ======
  
-[[en:docs:fapi:functions]]+For implementation details refer to [[en:docs:fapi:Implementation details]] section.
  
 ====== Notes ====== ====== Notes ======