index  news

Modified 2006-05-07 16:30

RxSDK

I've updated Marc Nijweide's RxSDK to the latest SDCC and fixed it to build on Linux. The advantage with SDCC over z88dk is that it is better at optimizing the code. My Tafl game runs around 25-30% faster when compiled with SDCC than z88dk.

To Download, checkout with subversion from https://mondragon.tek.bth.se/svn/main/world/ska/rex/trunk/rxsdk/ (also browsable).

conv2rex

I've also made a small program that converts images to: C-source for use in REX-programs, the corresponding binary data and resource (icon) files. I know that there exists a few programs that does the same thing, but couldn't find any that works under Linux and contains the source code.

conv2rex is built with libSDL and SDL_Image in order to support a few different image formats (including PNG:s which I use). It probably only works under UNIX thus far since it uses the getopt()-function, but it should be easy to port to other systems. If you would like to port it to for instance Windows and stumble upon getopt problems, just try to remove that part and "hardcode" argv-usage. Maybe I'll write some generic getopt's later (or maybe Windows has getopt?). The usage is shown below:

conv2rex converts images to REX 6000 bitmaps (to include in
c-files), REX binary files and icon (resource files). White in
the image is assumed to be clear areas, black filled. The images
can have any pixeldepth and be of any format supported by
SDL_Image.

Usage:
conv2rex [options] infile outfile

Options are:
-h                This text
-c                Create C-source (default) file
-i                Create icon (resource) file
-b                Create binary file
-s                Create stripped binary file (no width/height. Used
		  for the icons etc)
-u                Use uint8_t instead of char (only if not binary file)
-n NAME           Specify the name of the bitmap (normally p_image)

Download

conv2rex is also available under the GPL and can be downloaded here. The latest version is 0.2

conv2rex-0.2.tar.gz (11 Kb)

The previous version is also available:

conv2rex-0.1.tar.gz (9.4 Kb)

viewrex

Viewrex is a program for host computers that can load and display REX images (i.e. the binary representation of the C-source bitmaps used in most games). If you use conv2rex, you have to use the -b option in order to display images with viewrex.

Download

viewrex is also available under the GPL and can be downloaded here:

viewrex-0.1.tar.gz (9.5 Kb)

Writememo

Writememo is a memo-creator for the REX/DS2 emulator. It is based on DavRex' MemoWriter, so a huge thanks to him! I wrote it because I want a memo generator that runs under both Linux/UNIX and windows, which writememo does.

Writememo is available under the GPL and can be downloaded here:

writememo-0.1.tar.gz (source, 12 Kb)

writememo-0.1.zip (source, 19 Kb)

writememo_bin-0.1.zip (Win32 binary, 80 Kb)

Note that the binary distro still requires compilation of the REX addin (which writes the memo).


To contact me, mail to the following address (decrypted):

ska[at]bth[dot]se

You can click here to see some statistics on the page.