/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/documentation/doc_library.htm
Defence Force logotype

Contents of /public/pc/tools/osdk/main/Osdk/_final_/documentation/doc_library.htm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations)
Sun May 24 19:53:20 2009 UTC (10 years, 10 months ago) by dbug
File MIME type: text/html
File size: 1908 byte(s)
Added the complete source code of the OSDK.
Projects files are available for Visual Studio 6 and .net, plus a Code::Blocks setup (everything works except PictConv that relies on FreeImage - which does not build correctly on mingw)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
3 <HTML lang=fr dir=ltr>
4 <HEAD>
5 <meta name="robots" content="noindex">
6 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
7 <title>OSDK - Library structuration</title>
8 <link href="documentation.css" rel="stylesheet" type="text/css">
9 </HEAD>
10
11 <BODY>
12
13 <hr>
14 <A href="documentation.htm"><img src="arrow_back.gif"></A>
15 <img src="pics/osdk_logo_small.png">
16 <hr>
17
18 <h1>Library structuration</h1>
19
20 <p id=chapter>Description</p>
21
22 <p>The OSDK contains a decently complete standard library, and also some Oric
23 specific functionalities.
24 </p>
25
26 <p>Most other SDK are based on binary library files, and the right functions
27 are included in the final executable during the link phase. This SDK works
28 differently because the library is made of source code that is included in the
29 main program by the linker before the final assembly pass.
30 </p>
31
32 <p>This method is interesting because it's possible to easily add functions,
33 and correct bugs.
34 </p>
35
36
37
38 <p id=chapter>Include folder</p>
39
40 <p>The OSDK\INCLUDE folder contains all the header files. If you add a function
41 in the library, you will have to add a function declaration in one of the header
42 files. LIB.H is a good choice for that operation.
43 </p>
44
45
46
47 <p id=chapter>LIB folder</p>
48
49 <p>The OSDK\LIB folder contains a bunch of assembly code source file, as well as
50 a LIBRARY.NDX file.
51 </p>
52
53 <p>The LIBRARY.NDX file simply is a list of all source files with the exported functions
54 it contains.
55 </p>
56
57 <p>The source files simply are normal assembly code functions and declarations.
58 Please note that only function that starts by a underscore ("_") symbol will be
59 accessible from C source code.
60 </p>
61
62
63
64
65 <hr>
66 <A href="documentation.htm"><img src="arrow_back.gif"></A>
67 <img src="pics/osdk_logo_small.png">
68 <hr>
69
70 </BODY>
71 </HTML>
72
73

  ViewVC Help
Powered by ViewVC 1.1.26