Jump to content

Family API: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
*BadDynLink
*BadDynLink
*[[DosBeep (Legacy)|DosBeep]]
*[[DosBeep (OS/2 1.x)|DosBeep]]
*[[DosChDir]]
*[[DosChDir]]
*[[DosChgFilePtr]]
*[[DosChgFilePtr]]
Line 13: Line 13:
*[[DosCreateCSAlias]]
*[[DosCreateCSAlias]]
*[[DosDelete (FAPI)|DosDelete]]
*[[DosDelete (FAPI)|DosDelete]]
*[[DosDevConfig (Legacy)|DosDevConfig]]
*[[DosDevConfig (OS/2 1.x)|DosDevConfig]]
*[[DosDupHandle (FAPI)|DosDupHandle]]
*[[DosDupHandle (FAPI)|DosDupHandle]]
*[[DosFreeSeg]]
*[[DosFreeSeg]]
*[[DosGetDateTime (Legacy)|DosGetDateTime]]
*[[DosGetDateTime (OS/2 1.x)|DosGetDateTime]]
*[[DosGetEnv]]
*[[DosGetEnv]]
*[[DosGetHugeShift]]
*[[DosGetHugeShift]]
Line 70: Line 70:
*[[DosSetSigHandler]]
*[[DosSetSigHandler]]
</div>
</div>
===Kbd===
===Kbd===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
Line 122: Line 123:


==Article==
==Article==
*[[Hints for writing simple programs for both OS/2 and DOS]]
*Roger Orr: [[Hints for writing simple programs for both OS/2 and DOS]]
 
==Links==
* [https://jdebp.eu/Softwares/famapi.html The 16-bit Family API toolkit] - C/C++
* [http://osfree.org/doku/en:docs:fapi OSFree FAPI Documentation]
* [http://osfree.org/doku/en:docs:os2:modules:doscalls OSFree Information of DOSCALL with FAPI]


[[Category:OS/2 API]]
[[Category:OS/2 API]]

Latest revision as of 02:45, 1 May 2023

Family API (FAPI) is a subset of function calls for development of OS/2 protected mode and real mode programs.

OS/2 1.0 introduced 91 function calls that could be used in FAPI programs.

Function Calls

Dos

Kbd

Vio

Limitations

Real Mode
max. 640K memory
no virtual address space
no multitasking
no undocumented OS services
If the filename of an executable produced by BIND is changed, then it will not run under DOS 2.1.
Protected Mode
16 MB memory
1GB virtual address space

Article