HHeretic, HHexen and OpenTyrian SDL ports
=========================================

Hi,

I decided to release those binaries and patches to free some space on my hdd
and maybe to encourage another developers to porting stuff which is based on
SDL. I have no intetion to do more work on them but you're free to do so.

If you want to try HHeretic / HHexen, just download respective WAD files
(shareware is also supported), for OpenTytian you need a game data (see txt
file), don't forget '-t' parameter (I was lazy to hardcode it but IIRC you
can run it directly if you put binary into 'tyrian21' directory). If you are
under FreeMiNT, don't forget to set SDL_VIDEODRIVER and SDL_AUDIODRIVER env
variables to 'xbios'.

How to compile each binary is inside atari.txt file. I use following setup:

- Kubuntu 10.04
- Vincent Riviere's build chain (http://vincent.riviere.free.fr/soft/m68k-atari-mint/ubuntu.php)

This provides binutils, gcc, mintlib (libc), pml (libm) and gemlib. Additionally
those games use:

sdl 1.2.14 (020-60) (no cdrom & opengl & threads)
sdl_net 1.2.7 (020-60)

(020-60) means I've got only version compiled with -m68020-60 (you can
easily compile anything for this CPU setup by pretending
'CC=m68k-atari-mint-gcc -m68020-60' before each ./configure).

Patrice Mandin (http://pmandin.atari.org) has many libraries already
pre-built so you only need to copy them to /usr/m68k-atari-mint instead of
/usr/local.

Please be careful with some CFLAGS, when you specify -m68020-60 and you
don't have given library in lib/m68020-60 directory, no error will be
printed and 68000 variant will be used which could lead to fatal results.
Same for '-g' -- never use it for final linking (you can make symlink
libc_g.a -> libc.a in lib directory in the worst case). If in doubt, attach
'-Wl,-t' as the last parameter to gcc, you'll see what is linked in.

If you manage to compile those three games, you are now free to choose any
project from http://www.libsdl.org and try to port it to Atari platform!

Personal wish / hint: if you would like to make games (not only these,
generally many more games) more attractive to port, you could start working
on some either asm-optimized or DSP-based MIDI replayer -- Doom, Hexen,
Heretic and many more are based on so called Timidity patches which are used
by SDL_Mixer (http://www.libsdl.org/projects/SDL_mixer) -- but
SDL_Mixer+Timidity is very CPU expensive so it makes any game unplayable on
Atari ...

Have fun!

Miro Kropacek aka MiKRO / Mystic Bytes,
15.08.2010,
Bratislava / Slovakia
