Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
en:docs:os2:api:vio [2021/09/14 09:45] – prokushev | en:docs:os2:api:vio [2021/09/14 09:47] – prokushev | ||
---|---|---|---|
Line 28: | Line 28: | ||
Application calls VioGetAnsi in VIOCALLS | Application calls VioGetAnsi in VIOCALLS | ||
VioGetAnsi calls VioRoute | VioGetAnsi calls VioRoute | ||
- | if AVS registered then VioRoute calls AVS VioGetAnsi | + | if AVS registered then |
- | if AVS VioGetAnsi requires to call BVS then VioRouter сalls BVS VioGetAnsi | + | |
- | else VioRouter calls BVS VioGetAnsi | + | if AVS VioGetAnsi requires to call BVS then |
+ | | ||
+ | else | ||
+ | | ||
Return to application | Return to application | ||
</ | </ | ||
Line 60: | Line 63: | ||
</ | </ | ||
+ | In pseudo code it looks like this | ||
+ | |||
+ | < | ||
+ | Application calls VioGetAnsi in VIOCALLS | ||
+ | VioGetAnsi calls VioRoute | ||
+ | if AVS registered then | ||
+ | VioRoute calls AVS VioGetAnsi | ||
+ | if AVS VioGetAnsi requires to call BVS then | ||
+ | VioRouter сalls BVS VioGetAnsi | ||
+ | else | ||
+ | VioRouter calls BVS VioGetAnsi | ||
+ | If GVS registered then | ||
+ | VioRouter calls GVS VioGetAnsi | ||
+ | Return to application | ||
+ | </ | ||
In OS/2 2.0 and later VIO still 16-bit. In late OS/2 versions (3.x?) actual code of Video subsystem and Base Video Subsysten was moved to DOSCALLS.DLL (see Fig). VIOCALLS and BVSCALLS is a forwarders to DOSCALLS. | In OS/2 2.0 and later VIO still 16-bit. In late OS/2 versions (3.x?) actual code of Video subsystem and Base Video Subsysten was moved to DOSCALLS.DLL (see Fig). VIOCALLS and BVSCALLS is a forwarders to DOSCALLS. | ||