Debian Codegraph @

docs/Example.txt

raw
1
2
3 ACME
4
5 ...the ACME Crossassembler for Multiple Environments
6
7 --- the example source codes ---
8
9
10 To assemble the given example source code files, change to the
11 "examples" directory and type
12
13 acme -DSYSTEM=64 ddrv.a
14 acme macedit.a
15
16 ACME will parse the source code files and will then produce files
17 called "ddrv64.prg" and "macedit.o". You may compare them to the files
18 called "ddrv64.exp" and "macedit.exp", to make sure ACME works as it
19 should do.
20
21 Just in case you wonder:
22
23 "ddrv64.prg" is a joystick/mouse driver for the C64. The source
24 code is fairly well documented. Have a look at it if you need more
25 examples on how ACME works. By using "-DSYSTEM=128" instead of
26 "-DSYSTEM=64", you can also generate "ddrv128.prg", a C128 binary.
27
28 "macedit" is an unusably bad text editor for the C128. The source
29 code is not meant to be a good example of ACME's capabilities.
30 Please *don't* look at it. :)
31
32 "trigono.o" is a simple example written to test the floating-point
33 capabilities. Because floats are prone to rounding errors, there
34 are two different "expected" outputs: these were generated on
35 different architectures, they only differ in one byte ($7f/$80).