Implementation of APIs on diferent platforms

Posted by b-gen-jack-o-neill on Stack Overflow See other posts from Stack Overflow or by b-gen-jack-o-neill
Published on 2010-05-05T21:12:15Z Indexed on 2010/05/05 21:38 UTC
Read the original article Hit count: 227

Filed under:
|
|

OK, this is basicly just about any non-default OS API running on all different OS. But for my example let´s consider platform Windows, API SDL (Simple DirectMedia Layer).

Actually this question came to my mind when I was reading about SDL. Originally, I thought that on Windows (and basicly any other OS) you must use OS API to make certain actions, like wrtiting to screen, creating window and so on, becouse that API knows what kernel calls and system subroutines calls it has to do. But when I read about SDL, I surprised me, becouse, you cannot make computer to do anything more than OS can, since you cannot acess HW directly, only thru OS API, from Console allocation to DirectX.

So, my question actually is, how does this not-default-OS APIs work? Do they use (wrap) original system API (like MFC wraps win32 api)? Or, do they actually have direct acess to Windows kernel? Or is there any third, way in between? Thanks.

© Stack Overflow or respective owner

Related posts about api

Related posts about platforms