en:docs:fapi:implementation_details

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:implementation_details [2021/10/17 09:50] prokusheven:docs:fapi:implementation_details [2021/11/28 06:33] (current) prokushev
Line 4: Line 4:
 ^ Name                               ^ Description                                              ^ Cross-platform ^ ^ Name                               ^ Description                                              ^ Cross-platform ^
 | [[en:docs:fapi:BadDynLink]]        | This is DOS specific version function which called during module loading if linking error is detected. It shows message and terminates via int 21h Terminate call | - | | [[en:docs:fapi:BadDynLink]]        | This is DOS specific version function which called during module loading if linking error is detected. It shows message and terminates via int 21h Terminate call | - |
-| [[en:docs:fapi:DosBeep]]           Generates sound from the speaker using direct port I/O | No |+| [[en:docs:fapi:DosBeep]]           Generate sound from the speaker using direct port I/O | No |
 | [[en:docs:fapi:DosBufReset]]       | Flushes a file cache buffers                             || | [[en:docs:fapi:DosBufReset]]       | Flushes a file cache buffers                             ||
 | [[en:docs:fapi:DosChDir]]          | Defines the current directory for the requesting process || | [[en:docs:fapi:DosChDir]]          | Defines the current directory for the requesting process ||
Line 17: Line 17:
 | [[en:docs:fapi:DosFreeSeg]]        | Deallocates a memory segment                             || | [[en:docs:fapi:DosFreeSeg]]        | Deallocates a memory segment                             ||
 | [[en:docs:fapi:DosGetDateTime]]    | Get the current date and time                            || | [[en:docs:fapi:DosGetDateTime]]    | Get the current date and time                            ||
-| [[en:docs:fapi:DosGetEnv]]         | Return process environment for the current process       ||+| [[en:docs:fapi:DosGetEnv]]         | Return process environment for the current process from LocalInfoSeg      Yes |
 | [[en:docs:fapi:DosGetHugeShift]]   | Return a shift count used to derive the selectors that address memory allocated with DosAllocHuge || | [[en:docs:fapi:DosGetHugeShift]]   | Return a shift count used to derive the selectors that address memory allocated with DosAllocHuge ||
 | [[en:docs:fapi:DosGetMachineMode]] | Returns the current mode of the processor                || | [[en:docs:fapi:DosGetMachineMode]] | Returns the current mode of the processor                ||
 | [[en:docs:fapi:DosGetMessage]]     | Retrieve a message from the specified system message file || | [[en:docs:fapi:DosGetMessage]]     | Retrieve a message from the specified system message file ||
-| [[en:docs:fapi:DosGetVersion]]     | Return the OS version number                             ||+| [[en:docs:fapi:DosGetVersion]]     | Return the OS version number via GlobalInfoSeg                            Yes |
 | [[en:docs:fapi:DosInsMessage]]     | Insert variable text string information into the body of a message || | [[en:docs:fapi:DosInsMessage]]     | Insert variable text string information into the body of a message ||
 | [[en:docs:fapi:DosMkDir]]          | Create a subdirectory                                    || | [[en:docs:fapi:DosMkDir]]          | Create a subdirectory                                    ||
Line 67: Line 67:
 | [[en:docs:fapi:DosOpen2]]          | Open a file with extended attributes                     || | [[en:docs:fapi:DosOpen2]]          | Open a file with extended attributes                     ||
 | [[en:docs:fapi:DosQFileInfo]]      | Return information for a specific file                   || | [[en:docs:fapi:DosQFileInfo]]      | Return information for a specific file                   ||
-| [[en:docs:fapi:DosRead]]           | Read the specified number of bytes from a file, pipe, or device to a buffer location || 1.00 |+| [[en:docs:fapi:DosRead]]           | Read the specified number of bytes from a file, pipe, or device to a buffer location ||
 | [[en:docs:fapi:DosReallocHuge]]    | Change the size of memory originally allocated by DosAllocHuge || | [[en:docs:fapi:DosReallocHuge]]    | Change the size of memory originally allocated by DosAllocHuge ||
-| [[en:docs:fapi:DosReallocSeg]]     | Reallocate a segment after discard or changes the size of a segment already allocated || 1.00 |+| [[en:docs:fapi:DosReallocSeg]]     | Reallocate a segment after discard or changes the size of a segment already allocated ||
 | [[en:docs:fapi:DosSetCtryCode]]    |                                                          || | [[en:docs:fapi:DosSetCtryCode]]    |                                                          ||
 | [[en:docs:fapi:DosSetFHandState]]  | Set the state of the specified file                      || | [[en:docs:fapi:DosSetFHandState]]  | Set the state of the specified file                      ||
Line 79: Line 79:
 | [[en:docs:fapi:DosQHandType]]      | Get handle type                                          || | [[en:docs:fapi:DosQHandType]]      | Get handle type                                          ||
 | [[en:docs:fapi:DosGetProcAddr]]    | Get module procedure address                             || | [[en:docs:fapi:DosGetProcAddr]]    | Get module procedure address                             ||
-| [[en:docs:fapi:DosGetPID]]         | Get process id                                           ||+| [[en:docs:fapi:DosGetPID]]         | Get process id via LocalInfoSeg                          Yes |
 | [[en:docs:fapi:DosSetMaxFH]]       | Set maximum file handlers                                || | [[en:docs:fapi:DosSetMaxFH]]       | Set maximum file handlers                                ||
 | [[en:docs:fapi:DosGetModHandle]]   | Get module handle                                        || | [[en:docs:fapi:DosGetModHandle]]   | Get module handle                                        ||
Line 146: Line 146:
 | [[en:docs:fapi:VioWrtCharStrAtt]]  | Write a character string with repeated attribute to the display || | [[en:docs:fapi:VioWrtCharStrAtt]]  | Write a character string with repeated attribute to the display ||
 | [[en:docs:fapi:VioWrtNAttr]]       | Write an attribute to the display a specified number of times || | [[en:docs:fapi:VioWrtNAttr]]       | Write an attribute to the display a specified number of times ||
-| [[en:docs:fapi:VioWrtNCell]]       | Write a cell (character-attribute pair) to the display a specified number of times || 1.00 |+| [[en:docs:fapi:VioWrtNCell]]       | Write a cell (character-attribute pair) to the display a specified number of times ||
 | [[en:docs:fapi:VioWrtNChar]]       | Write a character to the display a specified number of times || | [[en:docs:fapi:VioWrtNChar]]       | Write a character to the display a specified number of times ||
 | [[en:docs:fapi:VioWrtTTY]]         | Write a character string to the display starting at the current cursor position || | [[en:docs:fapi:VioWrtTTY]]         | Write a character string to the display starting at the current cursor position ||