File: Example.txt

package info (click to toggle)
acme 1%3A0.97~svn20211115%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,016 kB
  • sloc: ansic: 9,670; python: 207; sh: 114; makefile: 101
file content (35 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35


                                 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).