This wiki is out of date, use the continuation of this wiki instead

Tutorial:Setting up Fenix on Windows

From FenixWiki

Revision as of 20:54, 22 June 2007 by Sandman (Talk | contribs)
Jump to: navigation, search


Contents

Download

  • To download a few old version of Fenix, go to the Fenix site.
  • To download previews of new beta versions, go to the Spanish forum.
  • To download all Fenix versions, official DLL's and more up to date stuff, go to the SourceForge site of Fenix.

Package

The Fenix consists of two main items: fxc.exe and fxi.exe. FXC.exe (FeniX Compiler) compiles code you program to bytecode, which FXI.exe (FeniX Interpreter) reads when you want to run your program. See their pages for more detailed info about them, for now we will focus on basic operations.

FXC.exe

FXC.exe [<options>] <filename>

Options:

-d - Debugging mode.
-i <dir> - Adds the directory to the PATH.
-a - Automaticaly adds all files to the DCB.
-f <file> - Adds a single file to the DCB.
-l <lang> - Specify locale settings.
-s <stub> - Generate a stubbed executable from the given stub.
-g - Stores debugging information at the DCB.
-c - File uses the MS-DOS character set.

Filename:

The code to be compiled to bytecode.

FXC.exe compiles <file>.<file_extension> to the bytecode file <file>.dcb.

FXC.exe outputs its info to the file stdout.txt.

FXC.bat

This calls FXC.exe and outputs stdout.txt to the screen.

FXI.exe

FXI.exe [<options>] <filename>

Options:

-d - Activate DEBUG mode.
-f - 16bpp Filter ON (only 16bpp color mode).

Filename:

The bytecode generated by FXC.exe, usually a .dcb file.

DLLs

Some DLLs in the package don't have to be included everytime, there are a few which can be left out when compiling or running the code, if their functionality is not used.

NEWS

The file NEWS contains the changelog of the latest Fenix.

Setting up

There are many ways to use Fenix. The most simplistic way is to use the command window to call the executables/batch files and type in the code with any text editor, which is a rather cumbrous method. One can also make use of ConTEXT and set it up like described here. There's a highlighter file which is rather up-to-date and customizable. It is also possible to download Flamebird, which is an IDE made for Fenix, although it seems a bit unstable.

External links

Personal tools