Fantasm 6 &
POWERPC & 68K
MACRO ASSEMBLER FOR MACINTOSH
31 March 2004 - A
warning about Fantasm and LIDE
products on this page are no
longer maintained by Lightsoft.
is that even an old frozen
may be useful to someone. Obviously this could reflect badly on
Lightsoft - and is probably part of the reason why other companies end
of life. However we know that people still are interested
in our older products and have therefore made the decision to continue
make the last
versions accessible for free.
product information is also out
date and therefore should be considered "Historical Information".
Other pages on the Lightsoft Tools part of the web-site similarly
contains out of date
Fantasm (including LIDE and Anvil)
development has been
frozen for quite a while and has not been updated to work
with later Mac operating systems. This means that you may have varying
success with the binaries of LIDE and Fantasm; please see the Tools News and
Support Pages for more information.
In the middle of 2003 we also decided to offer the source code - see
below for details.
Feedback of any sort is most welcome. The contact address is email@example.com
03 July 2003 -
LIDE 3 (Inc
Fantasm 6) now Open Source.
We have made available the source
code to LIDE
3 under the GNU Public License (GPL). Please see the file COPYING in
release archive for full details.
This release includes projects for
Build, Linkers and other miscellaneous tools. You will need the last
of LIDE to build any of the projects (LIDE is built with itself).
A new forum has been set up where you can discuss any
of LIDE development, we'll try to answer any questions you may have as
get the time. You can download the complete project here
(6 MB Stuffit archive), and here
(Update 5 July 2003 - The archive now contains LXT)
17 Nov 2002 -
LIDE 3 (Inc
Fantasm 6) now available at no charge.
We have decided to stop charging for
3. You can download the package here.
Lightsoft's Integrated Development
3 contains all of Fantasm 6 along with additions for C programming in
with Apple's MrC C and C++ compiler.
Fantasm is a Macintosh assembly language development
capable of translating both 680x0 and PowerPC assembly language. Our
ethos is simplicity with power and hence Fantasm's main aims are to
Macintosh assembly language simple to write, to ensure the code
is running its fastest and to provide the most powerful environment for
Macintosh assembly language programmers.
The 68K assembler features auto optimisation and handling of
- for example move.l #3,d0 will be translated to a moveq instruction.
#7,a0 is automatically translated into the correct "adda" instruction.
The PPC assembler accepts all known simplified instructions
AltiVec and optional floating point instructions. It automatically
nearly all aspects of TOC creation for you, thus simplifying your
It will even examine your code with an emulated processor to spot
and dependencies. When calling an OS function in PPC, Fantasm will save
you at least two PPC instructions over compiled code, sometimes more,
add up if you call the OS frequently!
Fantasm provides a powerful macro processor allowing you to
own instructions to simplify your code and to create complex data
via looping and conditional constructs. The macro language features
, nested macros, nested if/else/endif conditionals, repeat-until loops,
various in-built variables, 26 string variables, string handling and
Both 68K and PPC assemblers share the same directive set.
range from simple data definition and alignment directives (auto or
through to more complex commands, such as directives used to create
point sin tables (PPC) or switch the order of command searching
native assembler instructions to be replaced for cross translation