Home Page Home Page
 Home | Linux Administration | Corporate Services | Resources | About Us Support Center
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides Linux Articles New RFCs Vulnerability list Linux Journal
Testimonials Partners Careers Contact Us Site Map
The Art of Atari ST Emulation LG #73
LINUX GAZETTE
[ Prev ][ Table of Contents ][ Front Page ][ Talkback ][ FAQ ][ Next ]

"Linux Gazette...making Linux just a little more fun!"


The Art of Atari ST Emulation

By Matthias Arndt


Contents

1 Introduction

I'm quite an Atari ST fan. It was the computer that introduced me to computing in the first place. It was a thrill that changed my life forever.

All those of you who prefer the Amiga, write your own article instead of claiming the ST was or is crap.

What? You don't know what the ST is? It's a late-80s, early-90s 16/32-bit home and semi-professional computer system manufactured by Atari. The ST still has many friends all over the world, the Atari ST community is very active on the web due to the fact of emulation. Just visit the Little Green Desktop (www.atari.st) or www.atari.org to see what I mean.

This article concentrates on Atari ST emulation on Linux, describing the available emulators and some useful information about ST emulation in general.

2 What is emulation?

Emulation tries to rebuild the behavior and performance of hardware components with software. Practically this means to make your PC think it is another computer with a different hardware architecture and in most cases another OS, enabling you to run a great amount of software written for the emulated system on your real box.

In our case, this means running software for the Atari ST on your Linux box.

3 Machine Facts

Anyone who is interested in emulation should at least know the hardware facts of the emulated system. Here we go:

(all data refers to the standard ST, not the TT, Falcon or clones)

  • CPU: Motorola 68000 running at 8MHz clock speed with a 32Bit wide bus
  • RAM: either 512K, 1MB, 2MB or 4MB (depending on model)
  • ROM containing the OS: 192K or 256K (depending on model and OS version)
  • Shifter video subsystem capable of the following video modes:
  1. 320x200 pixels, 16 colours out of 512 (50 or 60Hz)
  2. 640x200 pixels, 4 colours out of 512 (50 or 60Hz)
  3. 640x400 monochrome running at 72Hz
  • Yamaha sound chip playing 3 voices simultaneously
  • build-in MIDI ports (In and OUT)
  • ROM port to connect a 128K size cartridge
  • optionally Hard disc
  • up to 2 floppy drives, either SD or DD standard
  • serial and parallel ports
  • mouse
  • Atari digital joystick support
  • TV out (ordinary antenna connector) on the M and STE models
  • OS: TOS (Tramiel Operating System) with builtin GEM
  • models released up to 1992 (OS version and amount of RAM varies): 520ST, 520STM, 520STFM, 260ST, 520ST+, 1040ST, 1040STF, 1040STFM, 1040STE, 520STE, Mega ST1, Mega ST2, Mega ST4 and Mega STE
The STE models had advanced sound and graphic capabilities.

Always keep in mind that this machine was introduced in the spring of 1985 and the masses were stunned. More capable than a Macintosh of that period and much cheaper at that time.

Just as a little overview of what an emulator has to emulate.

4 ST Emulation

The first attempt at emulating the ST was the Gemulator in 1994 or 1995. It was an emulator for DOS that needed a special hardware plug-in card. Nowadays, all ST emulators are software-only solutions.

The ST Emulation boom started in 1997 with the DOS based emulator PacifiST written by Frederic Gidouin.

Since then several other ST emulators have reached a very high niveau such as WinSTon or STEEM. This applies partly to ST Emulation on Linux as well. STEEM is now officially available for Linux, and STonX is getting better and better at each release.

5 ST Emulators for Linux

5.1 Things common to all emulators

All ST emulators have the following things in common:

  • They cannot use real ST floppy discs due to problems with floppy controller programming.
  • None of these emulators emulate the MIDI ports (STEEM perhaps, at least in the Windows version).
  • None of these emulators is able to run software from copy-protected disks, so forget about your old originals.

5.2 STonX

The famed STonX was the first and for a long time the only ST emulator available for Unices. It now reached a really usable state, although still not wonderful to play games and run demos on it.

A few quick facts:

  • doesn't require much CPU power to run it. A Pentium-class machine with 16MB RAM is sufficient
  • either support for 4MB or 14MB of ST RAM
  • supports all ST graphic modes but no overscan or rasters
  • support for X and SVGALib output
  • can run in window or full-screen
  • support for emulated hard-drive, means; mounting of Linux directory trees possible
  • support for disk images in standard format (*.ST files found on the net)
  • support for extended ST graphic modes
  • sound chip emulation
  • buggy Joystick support (at least I couldn't make it work on my machine)
  • supports all TOS versions but still prefers a TOS 2.x for best performance
  • comes as GPLed source code
  • easy to port to other Unices - STonX runs also on Solaris and AIX
STonX may not be the emulator of choice for games or demos but it is definitely the emulator of choice for developing system-conformant (meaning GEM) applications. It runs pretty fast and smooth. And I couldn't make it crash in 6 months of operation (The emulated ST may still crash but not the emulator program itself).

Really annoying at the moment are:

  • Joystick support is buggy
  • no .MSA disk image files
  • no overscan
  • too fast for games
But no program is perfect - STonX is definitely worth a try. It is better than one might expect.

STonX can be found at: http://stonx.sourceforge.net/.

5.3 STEEM on Linux

This is a port of the STEEM emulator to Linux. It is not GPLed but freeware.

STEEM is much better suited for games, since it features even STE graphics and sound, overscan and raster effects included. It runs many demos and most games.

STEEM facts are:

  • STE emulation included
  • can use both .ST and .MSA disk images
  • Joystick support via keyboard
  • sound support which sometimes seems to be out of sync (sound effects playing half a second late)
  • runs all versions of TOS except 1.62 which shouldn't be used at all
  • nifty interface (remember, STEEM is also available for Windows)
  • runs many but not all games (at least Super Cars 2 and Xenon work :))
  • Freeware but not GPLed: only available as a binary distribution
STEEM is close to be perfect. Some features of the Windows version are still missing but it runs pretty good. And its main advantage over STonX: it runs games and demos!

STEEM can be found at: http://steem.atari.org/.

5.4 Hatari

Hatari is a port of the WinSTon source code to Linux. It is still in early alpha phase and unusable at the moment.

Check http://hatari.sourceforge.net/ for details.

6 TOS

As stated above the TOS is the Atari ST's default operating system. (You can run Minix, Mint and several other systems as well.)

Obviously, all ST emulators need a TOS ROM in order to work. It is not included with the emulators and always keep the copyright in mind. There are several places on the net to get TOS images, and there are programs available that allow you to extract the TOS ROM of your ST to a file.

7 Software for the ST

There is still a large amount of ST software around on the net. FTP sites carry public domain and freeware, and some sites have pirated ST games online. Finally, the ST community on the net is very supportive when looking for ST software.

8 Community

There is a large Atari community on the net, several IRC channels, bulletin boards and a hierarchy of Usenet news is available.

A few useful tips:

  • http://www.atari.st/ - The Little Green Desktop (primary ST emulation site) has a forum and an incredible games archive - go check it out.
  • http://www.atari.org/ - The main portal of the Atari community features news, forums and lots of links. 90% of the ST related sites on the net can be found here in the Links archive.
  • comp.sys.atari.st and other newsgroups are available
  • #atari on IRC may help as well
At the time of this writing, November 2001, the Little Green Desktop is still in a redesign phase but that may change by the time this article is online.

9 Conclusion

The Atari ST is still alive - and you can support this development on Linux. Join us by running an Atari ST emulator. Even if you never had an ST, it is worth a try.

Take me for example, I never had a C64, VCS2600 or ZX Spectrum, but I run emulators for all of them.

Always remember: Atari will never die!

Matthias Arndt

I'm a Linux enthusiast from northern Germany. I like plain old fifties rock'n'roll music, writing stories and publishing in the Linux Gazette, of course. Currently I'm studying computer science in conjunction with economics.


Copyright © 2001, Matthias Arndt.
Copying license http://www.linuxgazette.net/copying.html
Published in Issue 73 of Linux Gazette, December 2001

[ Prev ][ Table of Contents ][ Front Page ][ Talkback ][ FAQ ][ Next ]