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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations)
Sun May 24 19:53:20 2009 UTC (10 years, 6 months ago) by dbug
File MIME type: text/html
File size: 2345 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 - Header</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>Header</h1>
19
20 <p id=chapter>Description</p>
21
22 <p>Add a header to a raw binary file in order to make it loadable by an Oric
23 using the CLOAD command.
24 This operation is necessary because the result of the compilation process is
25 a raw binary file without any loading information.
26 </p>
27
28 <p id=chapter>Utilisation</p>
29
30 <p>To add or remove a header on a tape file:
31 </p>
32 <pre>
33 %OSDK%\bin\Header [switches] source_file destination_file load_adress
34 </pre>
35
36 <p>Please note that for the load adress, hexadecimal adresses should be
37 prefixed by a $ symbol.
38 </p>
39
40 <p id=chapter>Switches</p>
41
42 <p>The -a switch control the autorun flag:
43 </p>
44 <pre>
45 -a0 => program simply load and stop
46 -a1 => program automaticaly executes after loading
47 </pre>
48
49 <p>The -h switch controls fact that the header is present or removed
50 </p>
51 <pre>
52 -h0 => Remove the header
53 -h1 => Output a file with a header
54 </pre>
55
56 <p>The -s switch controls the display of file size information.
57 This switch is particularly interesting for people coding size limited programs, like roms, minigames or 256 bytes demos.
58 </p>
59 <pre>
60 -s0 => No size infor,ation is displayed
61 -s1 => Display size informations in the output
62 </pre>
63 <p>To enable this feature in your own programs, just modify your OSDK_CONFIG.BAT file, and add the following:
64 </p>
65
66 <pre>
67 SET OSDKHEAD=-S1
68 </pre>
69
70
71
72 <p id=chapter>Historic</p>
73
74 <p>Here is the list of all releases with a short description of things that changed:
75 </p>
76
77 <p id=dateentry>Version 0.001</p>
78 - Added s0/s1 mode to display file size information.
79 Very usefull when you want to know the size of your game in a minigame compo...
80
81 <p id=dateentry>Non numbered version</p>
82 - First released version had no version number
83
84
85 <hr>
86 <A href="documentation.htm"><img src="arrow_back.gif"></A>
87 <img src="pics/osdk_logo_small.png">
88 <hr>
89
90 </BODY>
91 </HTML>
92
93

  ViewVC Help
Powered by ViewVC 1.1.26