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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations)
Sun May 24 19:53:20 2009 UTC (10 years, 5 months ago) by dbug
File MIME type: text/html
File size: 1611 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 - The Compiler</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>The Compiler</h1>
19
20 <p id=chapter>Description</p>
21
22 <p>RCC16 is an Oric targeted version of the LCC Compiler.
23 </p>
24
25 <p>This compiler is decently ANSI compliant, and event support C++ comments as well as standard C comments.
26 </p>
27
28 <p>Optimisation level can be modified using the OSDKCOMP variable. By default this variable will be initialized to -O2 value,
29 but you can try -O3 for more aggresive optimizations.
30 </p>
31
32
33 <p id=chapter>Data types</p>
34
35 <p>Since the 6502 is an 8 bit processor, the data size are as follow:
36
37 <ul>
38 <li>Pointers are 16 bits long</li>
39 <li>char and shorts are 8 bits long</li>
40 <li>int are 16 bits long</li>
41 </ul>
42
43
44 <p id=chapter>Libraries</p>
45
46 <p>Some standard functions (memcpy, printf, ...) are implemented, but most of the standard library is not available.
47 </p>
48
49 <p>Some functions are just quick hacks done by directly calling the ROM functions.
50 Unfortunately, ROM releases are different, and thus any code calling these functions will work only on ATMOS.
51 </p>
52
53
54
55 <hr>
56 <A href="documentation.htm"><img src="arrow_back.gif"></A>
57 <img src="pics/osdk_logo_small.png">
58 <hr>
59
60 </BODY>
61 </HTML>
62
63

  ViewVC Help
Powered by ViewVC 1.1.26