@@ -31,17 +31,17 @@ The Ada emulator is written using [Ada2012][], and uses the
31
31
[ GNU Multiple Precision Arithmetic library] [ ] , via the
32
32
[ GMP binding in GNATCOLL] [ ] .
33
33
34
- If you have the [ FSF GCC 6.1.0 binary for OS X] [ ] a suitable library
35
- is provided. Otherwise, GMP and GNATCOLL are reasonably
36
- straightforward to build.
34
+ If you have one of the [ FSF GCC binaries for OS X] [ ] (6.1 or later), a
35
+ suitable library is provided. Otherwise, GMP and GNATCOLL are
36
+ reasonably straightforward to build.
37
37
38
38
[ Ada2012 ] : http://www.ada-auth.org/standards/rm12_w_tc1/html/RM-TOC.html
39
39
40
40
[ GNU Multiple Precision Arithmetic library ] : https://gmplib.org
41
41
42
42
[ GMP binding in GNATCOLL ] : https://github.com/AdaCore/gnatcoll/blob/master/src/gmp/gnatcoll-gmp-integers.ads
43
43
44
- [ FSF GCC 6.1.0 binary for OS X ] : https://sourceforge.net/projects/gnuada/files/GNAT_GCC%20Mac%20OS%20X/6.1.0 /
44
+ [ FSF GCC binaries for OS X ] : https://sourceforge.net/projects/gnuada/files/GNAT_GCC%20Mac%20OS%20X/
45
45
46
46
## Running
47
47
@@ -65,7 +65,7 @@ transferring the value on the source to the destination as the source
65
65
digits were rotated back to zeros.
66
66
67
67
If ` -z ` is given, overwriting will be allowed; otherwise, an error
68
- will be reported ane exceution will halt.
68
+ will be reported and execution will halt.
69
69
70
70
[ this paper ] : http://rclab.de/rclab/_media/analyticalengine/aal_noteg_glaschick_v1.2.pdf
71
71
@@ -94,14 +94,21 @@ These card types have not been implemented (yet):
94
94
* Card Library Inclusion Requests
95
95
* Decimal Place Expansion Cards
96
96
97
- As a minor change, lower case can be used: ` n001 42 ` is
98
- acceptable (it stores 42 into column 1).
99
-
100
97
As in the [ Fourmilab Java implementation] [ ] , multiplication can be
101
98
indicated by ` * ` or ` × ` , division by ` / ` or ` ÷ ` .
102
99
103
100
[ Fourmilab Java implementation ] : https://www.fourmilab.ch/babbage/cards.html
104
101
102
+ When counting for Combinatorial Cards (conditional and unconditional
103
+ jumps), remember that comment cards (cards starting with a period or
104
+ white space) need to be included!
105
+
106
+ ### Changes
107
+
108
+ * As a minor change, lower case can be used: ` n001 42 ` is acceptable
109
+ (it stores 42 into column 1).
110
+ * Text after the required content is ignored, so comments can be included: ` n001 42 the answer ` is acceptable.
111
+
105
112
## Examples
106
113
107
114
The file ` bernouilli.ae ` is an implementation of the Lovelace design
@@ -126,12 +133,15 @@ might have hoped for. To deal with this, all real values are scaled by
126
133
For more on this, see the notes on _ Stepping Up and Down Cards_ in the
127
134
[ Fourmilab Java implementation] [ ] .
128
135
136
+ [ Sketch of the Analytical Engine ] : https://www.fourmilab.ch/babbage/sketch.html
137
+
129
138
The file ` bernouilli5.ae ` adds another "iteration" to the above
130
139
program; the previously computed B7 is stored on column 24, and
131
140
operations 13 to 23 are repeated once more (now using column 24 as
132
141
input at operation 21).
133
142
134
- [ Sketch of the Analytical Engine ] : https://www.fourmilab.ch/babbage/sketch.html
143
+ The file ` check_for_prime.ae ` determines whether a number is
144
+ prime. It's set to check 203 (AAL's 203rd birthday was in 2018).
135
145
136
146
## Performance
137
147
0 commit comments