mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-12-23 10:29:46 +00:00
cf167a34e4
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@254 4df02467-bbd4-4a76-a152-e7ce94205b78
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
|
|
|
|
ACME
|
|
|
|
...the ACME Crossassembler for Multiple Environments
|
|
|
|
--- the example source codes ---
|
|
|
|
|
|
To assemble the given example source code files, change to the
|
|
"examples" directory and type
|
|
|
|
acme -DSYSTEM=64 ddrv.a
|
|
acme macedit.a
|
|
|
|
ACME will parse the source code files and will then produce files
|
|
called "ddrv64.prg" and "macedit.o". You may compare them to the files
|
|
called "ddrv64.exp" and "macedit.exp", to make sure ACME works as it
|
|
should do.
|
|
|
|
Just in case you wonder:
|
|
|
|
"ddrv64.prg" is a joystick/mouse driver for the C64. The source
|
|
code is fairly well documented. Have a look at it if you need more
|
|
examples on how ACME works. By using "-DSYSTEM=128" instead of
|
|
"-DSYSTEM=64", you can also generate "ddrv128.prg", a C128 binary.
|
|
|
|
"macedit" is an unusably bad text editor for the C128. The source
|
|
code is not meant to be a good example of ACME's capabilities.
|
|
Please *don't* look at it. :)
|
|
|
|
"trigono.o" is a simple example written to test the floating-point
|
|
capabilities. Because floats are prone to rounding errors, there
|
|
are two different "expected" outputs: these were generated on
|
|
different architectures, they only differ in one byte ($7f/$80).
|