-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path14-appendix-g-command-index.html
4155 lines (4142 loc) · 158 KB
/
14-appendix-g-command-index.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<!--
This Amos Professional Manual is written by asymetrix for the Amiga community and should stay completely FREE FOREVER.
Created 2008. :)
It was created from the original AMOS Professional Manual by Europress Software Ltd.
It has been updated by Fredrik Rambris.
-->
<title>App. G: Command Index - AMOS Professional Manual</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="keywords" content="Amos Professional, Amiga, Programming, Basic, Francois Lionet, Europress Software Ltd, Amos, computing, code, AmigaDOS">
<meta name="author" content="asymetrix,Fredrik Rambris">
<link rel="GitHub" href="https://github.com/fredrik-rambris/amospromanual">
<meta property="og:site_name" content="AMOS Professional Manual">
<meta property="og:image" content="https://amospromanual.dev/images/cover.jpg">
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="canonical" href="https://amospromanual.dev/14-appendix-g-command-index.html">
</head>
<body>
<section>
<h1>App. G: Command Index</h1>
</section>
<section>
<p>
This Command Index may well be one of the most useful sections of the User Guide for genuine
AMOS Professional programmers. For on-line explanations and examples of all keywords, the
<kbd>Help</kbd> facility is invaluable, but this Appendix is the only facility which provides a complete
overview of all of the AMOS Professional commands. Experienced users can scan this Index to
embrace everything that the system has to offer.</p>
<p>
The Command Index includes every instruction, function, structure and reserved variable in
alphabetical order, along with a synopsis of usage. Every embedded Menu command, Interface
instruction and AMAL keyword is also included.</p>
<p>
The page references refer to the main explanation of each keyword that can be found in this
User Guide. Page references are shown using the following protocol: Section.Chapter.Page. For
example, a keyword which is referenced as <a href="05-03-maths.html">5.3.01</a> means that full details can be found in Section
5, Chapter 3, Page 01 of this User Guide.</p>
<p>
For associated items, cross-references and general topics, please refer to the Main Index at the
end of this User Guide.</p>
</section>
<section class="letternav">
<a href="#a">A</a> <a href="#b">B</a> <a href="#c">C</a> <a href="#d">D</a> <a href="#e">E</a> <a href="#f">F</a> <a href="#g">G</a> <a href="#h">H</a> <a href="#i">I</a> <a href="#j">J</a> <a href="#k">K</a> <a href="#l">L</a> <a href="#m">M</a> <a href="#n">N</a> <a href="#o">O</a> <a href="#p">P</a> <a href="#r">R</a> <a href="#s">S</a> <a href="#t">T</a> <a href="#u">U</a> <a href="#v">V</a> <a href="#w">W</a> <a href="#x">X</a> <a href="#y">Y</a> <a href="#z">Z</a>
</section>
<section>
<div>
<table id="command-index">
<tr id="a">
<th><a href="05-03-maths.html#fn-abs">ABS</a></th>
<td>Function</td>
<td>give an absolute value</td>
</tr>
<tr>
<th><a href="05-03-maths.html#fn-acos">ACOS</a></th>
<td>Function</td>
<td>give arc cosine</td>
</tr>
<tr>
<th><a href="05-03-maths.html#i-add">ADD</a></th>
<td>Instruction</td>
<td>perform fast integer addition</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#inti-al">AL</a></th>
<td>Interface Instruction</td>
<td>display an active list window</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-amal">AMAL</a></th>
<td>Instruction</td>
<td>call an AMAL program</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-amal-freeze">AMAL FREEZE</a></th>
<td>Instruction</td>
<td>suspend AMAL programs</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-amal-off">AMAL OFF</a></th>
<td>Instruction</td>
<td>stop all AMAL programs</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-amal-on">AMAL ON</a></th>
<td>Instruction</td>
<td>activate all AMAL programs</td>
</tr>
<tr>
<th><a href="07-06-amal.html#fn-amalerr">AMALERR</a></th>
<td>Function</td>
<td>give the position of an AMAL error</td>
</tr>
<tr>
<th><a href="11-04-multitasking.html#fn-amos-here">AMOS HERE</a></th>
<td>Function</td>
<td>report if AMOS Pro is at front of display</td>
</tr>
<tr>
<th><a href="11-04-multitasking.html#i-amos-lock">AMOS LOCK</a></th>
<td>Instruction</td>
<td>disable <kbd>Amiga</kbd> + <kbd>A</kbd> toggle facility</td>
</tr>
<tr>
<th><a href="11-04-multitasking.html#i-amos-to-back">AMOS TO BACK</a></th>
<td>Instruction</td>
<td>hide AMOS Professional and reveal Workbench</td>
</tr>
<tr>
<th><a href="11-04-multitasking.html#i-amos-to-front">AMOS TO FRONT</a></th>
<td>Instruction</td>
<td>hide Workbench and reveal AMOS Professional</td>
</tr>
<tr>
<th><a href="11-04-multitasking.html#i-amos-unlock">AMOS UNLOCK</a></th>
<td>Instruction</td>
<td>re-activate AMOS Professional/Workbench toggle</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-amplay">AMPLAY</a></th>
<td>Instruction</td>
<td>control animation produced by PLay</td>
</tr>
<tr>
<th><a href="07-06-amal.html#resv-am-reg">AMREG</a></th>
<td>Reserved Variable</td>
<td>give the value of an AMAL register</td>
</tr>
<tr>
<th><a href="05-04-control-structures.html#str-and">AND</a></th>
<td>Structure</td>
<td>qualify a condition</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-anim">ANIM</a></th>
<td>Instruction</td>
<td>animate an Object</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-anim-freeze">ANIM FREEZE</a></th>
<td>Instruction</td>
<td>freeze an animation</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-anim-off">ANIM OFF</a></th>
<td>Instruction</td>
<td>toggle animations off</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-anim-on">ANIM ON</a></th>
<td>Instruction</td>
<td>toggle animations on</td>
</tr>
<tr>
<th><a href="07-06-amal.html#amali-anim">Anim</a></th>
<td>AMAL Instruction</td>
<td>animate an Object</td>
</tr>
<tr>
<th><a href="06-03-screen-effects.html#i-appear">APPEAR</a></th>
<td>Instruction</td>
<td>fade between two screens</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#i-append">APPEND</a></th>
<td>Instruction</td>
<td>add data to an existing file</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#intf-ar">AR</a></th>
<td>Interface Function</td>
<td>read an element from an array</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#resv-areg">AREG</a></th>
<td>Reserved Variable</td>
<td>pass values to and from an address register</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#fn-arexx">AREXX</a></th>
<td>Function</td>
<td>check for a message from an AREXX program</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#i-arexx-answer">AREXX ANSWER</a></th>
<td>Instruction</td>
<td>answer a message from an AREXX program</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#i-arexx-close">AREXX CLOSE</a></th>
<td>Instruction</td>
<td>close a communications port</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#fn-arexx-exist">AREXX EXIST</a></th>
<td>Function</td>
<td>check the availability of a communications port</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#i-arexx-open">AREXX OPEN</a></th>
<td>Instruction</td>
<td>open an AREXX communications port</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#fn-arexx-dollar">AREXX$</a></th>
<td>Function</td>
<td>get a message from an AREXX program</td>
</tr>
<tr>
<th><a href="10-06-arexx.html#i-arexx-wait">AREXX WAIT</a></th>
<td>Instruction</td>
<td>wait for a message from an AREXX program</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#fn-array">ARRAY</a></th>
<td>Function</td>
<td>load the address of an array into a program</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-as">AS</a></th>
<td>Instruction</td>
<td>please see RESERVE</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#intf-as">AS</a></th>
<td>Interface Function</td>
<td>return the size of an array</td>
</tr>
<tr>
<th><a href="05-02-string-functions.html#fn-asc">ASC</a></th>
<td>Function</td>
<td>give the Ascii code of a character</td>
</tr>
<tr>
<th><a href="05-03-maths.html#fn-asin">ASIN</a></th>
<td>Function</td>
<td>give arc sine</td>
</tr>
<tr>
<th><a href="13-01-configuration.html#i-ask-editor">ASK EDITOR</a></th>
<td>Instruction</td>
<td>return params from Editor to an accessory program</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#i-assign">ASSIGN</a></th>
<td>Instruction</td>
<td>assign a name to a path or device</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-at">AT</a></th>
<td>Function</td>
<td>return a string to position the text cursor</td>
</tr>
<tr>
<th><a href="05-03-maths.html#fn-atan">ATAN</a></th>
<td>Function</td>
<td>give arc tangent</td>
</tr>
<tr>
<th><a href="06-01-setting-up-screens.html#i-auto-view-off">AUTO VIEW OFF</a></th>
<td>Instruction</td>
<td>toggle viewing mode off</td>
</tr>
<tr>
<th><a href="06-01-setting-up-screens.html#i-auto-view-on">AUTO VIEW ON</a></th>
<td>Instruction</td>
<td>toggle viewing mode on</td>
</tr>
<tr>
<th><a href="07-03-updating-objects.html#i-autoback">AUTOBACK</a></th>
<td>Instruction</td>
<td>set the graphics mode on double buffered screen</td>
</tr>
<tr>
<th><a href="07-06-amal.html#amali-autotest">AUtotest</a></th>
<td>AMAL Instruction</td>
<td>activate AMAL Autotest system</td>
</tr>
<tr id="b">
<th><a href="09-01-amos-interface.html#inti-ba">BA</a></th>
<td>Interface Instruction</td>
<td>set coordinate base for dialogue box</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-bank-shrink">BANK SHRINK</a></th>
<td>Instruction</td>
<td>reduce the size of a memory bank</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-bank-swap">BANK SWAP</a></th>
<td>Instruction</td>
<td>swap over two memory banks</td>
</tr>
<tr>
<th><a href="06-05-menus.html#i-bank-to-menu">BANK TO MENU</a></th>
<td>Instruction</td>
<td>restore menu definition saved in menu, bank</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-bar">BAR</a></th>
<td>Instruction</td>
<td>draw a filled rectangle</td>
</tr>
<tr>
<th><a href="06-05-menus.html#emcmd-bar">BAr</a></th>
<td>Embedded Menu Command</td>
<td>draw a bar</td>
</tr>
<tr>
<th><a href="07-06-amal.html#amalf-bc">BC</a></th>
<td>AMAL Function</td>
<td>check for Bob collision</td>
</tr>
<tr>
<th><a href="09-01-amos-interface.html#inti-bc">BC</a></th>
<td>Interface Instruction</td>
<td>change the setting of any active button</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#i-bchg">BCHG</a></th>
<td>Instruction</td>
<td>toggle a bit</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#i-bclr">BCLR</a></th>
<td>Instruction</td>
<td>clear a bit</td>
</tr>
<tr>
<th><a href="08-01-music.html#i-bell">BELL</a></th>
<td>Instruction</td>
<td>generate a pure audio tone</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-bgrab">BGRAB</a></th>
<td>Instruction</td>
<td>grab a memory bank from previous program</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#fn-bin-dollar">BIN$</a></th>
<td>Function</td>
<td>convert a decimal value to binary number</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#fn-blength">BLENGTH</a></th>
<td>Function</td>
<td>give the length of a memory bank from previous program</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-bload">BLOAD</a></th>
<td>Instruction</td>
<td>load block of binary data into a bank or an address</td>
</tr>
<tr>
<th><a href="09-04-interface-resources.html#inti-bo">BO</a></th>
<td>Interface Instruction</td>
<td>draw a box from Resource Bank image components</td>
</tr>
<tr>
<th><a href="06-05-menus.html#emcmd-bob">BOb</a></th>
<td>Embedded Menu Command</td>
<td>draw a Bob</td>
</tr>
<tr>
<th><a href="07-02-blitter-objects.html#i-bob">BOB</a></th>
<td>Instruction</td>
<td>display a Bob on screen</td>
</tr>
<tr>
<th><a href="07-03-updating-objects.html#i-bob-clear">BOB CLEAR</a></th>
<td>Instruction</td>
<td>clear all Bobs from the screen</td>
</tr>
<tr>
<th><a href="07-04-detecting-collisions.html#fn-bob-col">BOB COL</a></th>
<td>Function</td>
<td>test for collision between Bobs</td>
</tr>
<tr>
<th><a href="07-03-updating-objects.html#i-bob-draw">BOB DRAW</a></th>
<td>Instruction</td>
<td>re-draw all Bobs on screen</td>
</tr>
<tr>
<th><a href="07-02-blitter-objects.html#i-bob-off">BOB OFF</a></th>
<td>Instruction</td>
<td>remove a Bob from display</td>
</tr>
<tr>
<th><a href="07-03-updating-objects.html#i-bob-update-onoff">BOB UPDATE</a></th>
<td>Instruction</td>
<td>move several Bobs simultaneously</td>
</tr>
<tr>
<th><a href="07-03-updating-objects.html#i-bob-update-onoff">BOB UPDATE OFF</a></th>
<td>Instruction</td>
<td>turn off automatic Bob update system</td>
</tr>
<tr>
<th><a href="07-03-updating-objects.html#i-bob-update-onoff">BOB UPDATE ON</a></th>
<td>Instruction</td>
<td>turn on automatic Bob update system</td>
</tr>
<tr>
<th><a href="07-04-detecting-collisions.html#fn-bobsprite-col">BOBSPRITE COL</a></th>
<td>Function</td>
<td>test for collision between Bob and Sprites</td>
</tr>
<tr>
<th><a href="08-01-music.html#i-boom">BOOM</a></th>
<td>Instruction</td>
<td>generate explosive sound effect</td>
</tr>
<tr>
<th><a href="05-07-windows.html#i-border">BORDER</a></th>
<td>Instruction</td>
<td>change window border</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-border-dollar">BORDER$</a></th>
<td>Function</td>
<td>create a border around text</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-box">BOX</a></th>
<td>Instruction</td>
<td>draw a rectangular outline</td>
</tr>
<tr>
<th><a href="09-01-amos-interface.html#intf-bp">BP</a></th>
<td>Interface Function</td>
<td>return the setting inside a button definition</td>
</tr>
<tr>
<th><a href="09-01-amos-interface.html#inti-bq">BQ</a></th>
<td>Interface Instruction</td>
<td>trigger an exit button</td>
</tr>
<tr>
<th><a href="09-01-amos-interface.html#inti-br">BR</a></th>
<td>Interface Instruction</td>
<td>change the setting of a button</td>
</tr>
<tr>
<th><a href="05-01-the-bare-bones.html#i-break-off">BREAK OFF</a></th>
<td>Instruction</td>
<td>toggle off program break keys</td>
</tr>
<tr>
<th><a href="05-01-the-bare-bones.html#i-break-on">BREAK ON</a></th>
<td>Instruction</td>
<td>toggle on program break keys</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-bsave">BSAVE</a></th>
<td>Instruction</td>
<td>save unformatted memory bank</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#i-bsend">BSEND</a></th>
<td>Instruction</td>
<td>send a memory bank to previous program</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#i-bset">BSET</a></th>
<td>Instruction</td>
<td>set a bit to 1</td>
</tr>
<tr>
<th><a href="05-09-memory-banks.html#fn-bstart">BSTART</a></th>
<td>Function</td>
<td>give address of a memory bank from a previous program</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#fn-btst">BTST</a></th>
<td>Function</td>
<td>test a bit</td>
</tr>
<tr>
<th><a href="09-01-amos-interface.html#inti-bu">BU</a></th>
<td>Interface Instruction</td>
<td>define an Interface button</td>
</tr>
<tr>
<th><a href="09-02-interface-language.html#intf-bx">BX</a></th>
<td>Interface Function</td>
<td>get the x-coordinate base location</td>
</tr>
<tr>
<th><a href="09-02-interface-language.html#intf-by">BY</a></th>
<td>Interface Function</td>
<td>get the y-coordinate base location</td>
</tr>
<tr id="c">
<th><a href="07-06-amal.html#amalf-c">C</a></th>
<td>AMAL Function</td>
<td>give collision status of an Object</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#i-call">CALL</a></th>
<td>Instruction</td>
<td>execute a machine code program</td>
</tr>
<tr>
<th><a href="13-01-configuration.html#i-call-editor">CALL EDITOR</a></th>
<td>Instruction</td>
<td>send instructions to Editor from an accessory program</td>
</tr>
<tr>
<th><a href="09-02-interface-language.html#inti-call">CAll</a></th>
<td>Interface Instruction</td>
<td>call a machine code extension</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-cdown">CDOWN</a></th>
<td>Instruction</td>
<td>move the text cursor down</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-cdown-dollar">CDOWN$</a></th>
<td>Function</td>
<td>return control character to move text cursor down</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-centre">CENTRE</a></th>
<td>Instruction</td>
<td>print text at centre of current line</td>
</tr>
<tr>
<th><a href="07-06-amal.html#fn-chanan">CHANAN</a></th>
<td>Function</td>
<td>test a channel for an active animation</td>
</tr>
<tr>
<th><a href="05-08-the-joystick-and-mouse.html#i-change-mouse">CHANGE MOUSE</a></th>
<td>Instruction</td>
<td>change the shape of the mouse pointer</td>
</tr>
<tr>
<th><a href="07-06-amal.html#fn-chanmv">CHANMV</a></th>
<td>Function</td>
<td>test channel for an active Object</td>
</tr>
<tr>
<th><a href="07-06-amal.html#i-channel">CHANNEL</a></th>
<td>Instruction</td>
<td>assign an Object to an AMAL channel</td>
</tr>
<tr>
<th><a href="03-01-getting-started.html#fn-chip-free">CHIP FREE</a></th>
<td>Function</td>
<td>give remaining Chip memory</td>
</tr>
<tr>
<th><a href="06-05-menus.html#fn-choice">CHOICE</a></th>
<td>Function</td>
<td>read a menu</td>
</tr>
<tr>
<th><a href="05-02-string-functions.html#fn-chr-dollar">CHR$</a></th>
<td>Function</td>
<td>give a character with a given Ascii code</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-circle">CIRCLE</a></th>
<td>Instruction</td>
<td>draw a circular outline</td>
</tr>
<tr>
<th><a href="10-01-using-the-keyboard.html#i-clear-key">CLEAR KEY</a></th>
<td>Instruction</td>
<td>re-set the keyboard buffer</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-cleft">CLEFT</a></th>
<td>Instruction</td>
<td>move text cursor one character to the left</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-cleft-dollar">CLEFT$</a></th>
<td>Function</td>
<td>move cursor 1 character to the left</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-cline">CLINE</a></th>
<td>Instruction</td>
<td>clear text on the current cursor line</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-clip">CLIP</a></th>
<td>Instruction</td>
<td>restrict drawing to a limited screen area</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#i-close">CLOSE</a></th>
<td>Instruction</td>
<td>close a file</td>
</tr>
<tr>
<th><a href="13-01-configuration.html#i-close-editor">CLOSE EDITOR</a></th>
<td>Instruction</td>
<td>close the AMOS Professional editor</td>
</tr>
<tr>
<th><a href="13-01-configuration.html#i-close-workbench">CLOSE WORKBENCH</a></th>
<td>Instruction</td>
<td>close the Workbench</td>
</tr>
<tr>
<th><a href="06-01-setting-up-screens.html#i-cls">CLS</a></th>
<td>Instruction</td>
<td>clear the current screen</td>
</tr>
<tr>
<th><a href="05-07-windows.html#i-clw">CLW</a></th>
<td>Instruction</td>
<td>clear the current window</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-cmove">CMOVE</a></th>
<td>Instruction</td>
<td>move the text cursor</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-cmove-dollar">CMOVE$</a></th>
<td>Function</td>
<td>return control string to position text cursor</td>
</tr>
<tr>
<th><a href="07-04-detecting-collisions.html#fn-col">COL</a></th>
<td>Function</td>
<td>test status of Object after collision detect routine</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#fn-colour">COLOUR</a></th>
<td>Function</td>
<td>read the colour assignment</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-colour">COLOUR</a></th>
<td>Instruction</td>
<td>assign colour to an index</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-colour-back">COLOUR BACK</a></th>
<td>Instruction</td>
<td>assign colour to screen background</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#resv-command-line-dollar">COMMAND LINE$</a></th>
<td>Reserved Variable</td>
<td>transfer parameters between programs</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#fn-cop-logic">COP LOGIC</a></th>
<td>Function</td>
<td>give address of logical copper list</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-cop-move">COP MOVE</a></th>
<td>Instruction</td>
<td>write a Move instruction to the copper list</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-cop-movel">COP MOVEL</a></th>
<td>Instruction</td>
<td>write lone Move instruction to the copper list</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-cop-reset">COP RESET</a></th>
<td>Instruction</td>
<td>re-set copper list pointer</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-cop-swap">COP SWAP</a></th>
<td>Instruction</td>
<td>swap over the logical and physical copper lists</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-cop-wait">COP WAIT</a></th>
<td>Instruction</td>
<td>insert a Wait instruction into copper list</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-copper-off">COPPER OFF</a></th>
<td>Instruction</td>
<td>turn off standard copper list</td>
</tr>
<tr>
<th><a href="14-appendix-f-copper-lists.html#i-copper-on">COPPER ON</a></th>
<td>Instruction</td>
<td>re-start automatic copper generation</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#i-copy">COPY</a></th>
<td>Instruction</td>
<td>copy a memory block</td>
</tr>
<tr>
<th><a href="05-03-maths.html#fn-cos">COS</a></th>
<td>Function</td>
<td>give cosine of an angle</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-cright">CRIGHT</a></th>
<td>Instruction</td>
<td>move the text cursor one character to the right</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-cright-dollar">CRIGHT$</a></th>
<td>Function</td>
<td>move cursor one character right</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-cup">CUP</a></th>
<td>Instruction</td>
<td>move the text cursor up one line</td>
</tr>
<tr>
<th><a href="05-06-text.html#fn-cup-dollar">CUP$</a></th>
<td>Function</td>
<td>return control character to move cursor up one line</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-curs-on-off">CURS OFF</a></th>
<td>Instruction</td>
<td>toggle the text cursor off</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-curs-on-off">CURS ON</a></th>
<td>Instruction</td>
<td>toggle the text cursor on</td>
</tr>
<tr>
<th><a href="05-06-text.html#i-curs-pen">CURS PEN</a></th>
<td>Instruction</td>
<td>select colour of the text cursor</td>
</tr>
<tr>
<th><a href="09-02-interface-language.html#intf-cx">CX</a></th>
<td>Interface Function</td>
<td>centre text in the display</td>
</tr>
<tr id="d">
<th><a href="05-04-control-structures.html#str-data">DATA</a></th>
<td>Structure</td>
<td>place a list of data items in a program</td>
</tr>
<tr>
<th><a href="05-03-maths.html#i-dec">DEC</a></th>
<td>Instruction</td>
<td>decrement an integer variable by one unit</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#fn-deek">DEEK</a></th>
<td>Function</td>
<td>read two bytes from an even address</td>
</tr>
<tr>
<th><a href="05-01-the-bare-bones.html#str-def-fn">DEF FN</a></th>
<td>Structure</td>
<td>create a user-defined function</td>
</tr>
<tr>
<th><a href="06-02-using-screens.html#i-def-scroll">DEF SCROLL</a></th>
<td>Instruction</td>
<td>define a scrolling screen zone</td>
</tr>
<tr>
<th><a href="06-01-setting-up-screens.html#i-default">DEFAULT</a></th>
<td>Instruction</td>
<td>re-set to the default screen</td>
</tr>
<tr>
<th><a href="06-01-setting-up-screens.html#i-default-palette">DEFAULT PALETTE</a></th>
<td>Instruction</td>
<td>define standard palette</td>
</tr>
<tr>
<th><a href="05-03-maths.html#i-degree">DEGREE</a></th>
<td>Instruction</td>
<td>use degrees</td>
</tr>
<tr>
<th><a href="07-07-icons-and-blocks.html#i-del-block">DEL BLOCK</a></th>
<td>Instruction</td>
<td>delete a screen block</td>
</tr>
<tr>
<th><a href="07-02-blitter-objects.html#i-del-bob">DEL BOB</a></th>
<td>Instruction</td>
<td>delete an image from the Object bank</td>
</tr>
<tr>
<th><a href="07-07-icons-and-blocks.html#i-del-cblock">DEL CBLOCK</a></th>
<td>Instruction</td>
<td>delete compacted screen block</td>
</tr>
<tr>
<th><a href="07-07-icons-and-blocks.html#i-del-icon">DEL ICON</a></th>
<td>Instruction</td>
<td>delete image from the Icon bank</td>
</tr>
<tr>
<th><a href="07-01-hardware-sprites.html#i-del-sprite">DEL SPRITE</a></th>
<td>Instruction</td>
<td>delete an image from the Object bank</td>
</tr>
<tr>
<th><a href="08-01-music.html#i-del-wave">DEL WAVE</a></th>
<td>Instruction</td>
<td>delete an audio wave</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#i-dev-abort">DEV ABORT</a></th>
<td>Instruction</td>
<td>abort an IO operation</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#fn-dev-base">DEV BASE</a></th>
<td>Function</td>
<td>get base address of an IO structure</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#fn-dev-check">DEV CHECK</a></th>
<td>Function</td>
<td>check status of a device with CheckIO</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#i-dev-close">DEV CLOSE</a></th>
<td>Instruction</td>
<td>close one or more devices</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#i-dev-do">DEV DO</a></th>
<td>Instruction</td>
<td>call a command using DoIO</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#fn-dev-first-dollar">DEV FIRST$</a></th>
<td>Function</td>
<td>get the first device from the current device list</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#fn-dev-next-dollar">DEV NEXT$</a></th>
<td>Function</td>
<td>get the next device in the current search path</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#i-dev-open">DEV OPEN</a></th>
<td>Instruction</td>
<td>open a device</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#i-dev-send">DEV SEND</a></th>
<td>Instruction</td>
<td>call a command using SendIO</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#fn-dfree">DFREE</a></th>
<td>Function</td>
<td>report amount of free space on disc</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#inti-di">DI</a></th>
<td>Interface Instruction</td>
<td>create a numeric editing zone</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#fn-dialog">DIALOG</a></th>
<td>Function</td>
<td>return the status of an open dialogue box</td>
</tr>
<tr>
<th><a href="09-01-amos-interface.html#fn-dialog-box">DIALOG BOX</a></th>
<td>Function</td>
<td>display dialogue box on the screen</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#i-dialog-close">DIALOG CLOSE</a></th>
<td>Instruction</td>
<td>close one or more dialogue channels</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#i-dialog-clr">DIALOG CLR</a></th>
<td>Instruction</td>
<td>clear a dialogue box</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#i-dialog-freeze">DIALOG FREEZE</a></th>
<td>Instruction</td>
<td>stop dialogue channel input</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#i-dialog-open">DIALOG OPEN</a></th>
<td>Instruction</td>
<td>open a channel to an Interface program</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#fn-dialog-run">DIALOG RUN</a></th>
<td>Function</td>
<td>run a dialogue box from an open channel</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#i-dialog-unfreeze">DIALOG UNFREEZE</a></th>
<td>Instruction</td>
<td>re-activate a frozen dialogue channel</td>
</tr>
<tr>
<th><a href="09-03-advanced-control-panels.html#i-dialog-update">DIALOG UPDATE</a></th>
<td>Instruction</td>
<td>update a dialogue zone</td>
</tr>
<tr>
<th><a href="05-01-the-bare-bones.html#i-dim">DIM</a></th>
<td>Instruction</td>
<td>dimension an array</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#i-dir">DIR</a></th>
<td>Instruction</td>
<td>print directory of the current disc</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#fn-dir-first-dollar">DIR FIRST$</a></th>
<td>Function</td>
<td>get the first file that satisfies a path name</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#fn-dir-next-dollar">DIR NEXT$</a></th>
<td>Function</td>
<td>get the next file that satisfies path name</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#resv-dir-dollar">DIR$</a></th>
<td>Reserved Variable</td>
<td>change the current directory</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#i-dir-w">DIR/W</a></th>
<td>Instruction</td>
<td>print directory in two columns</td>
</tr>
<tr>
<th><a href="05-01-the-bare-bones.html#i-direct">DIRECT</a></th>
<td>Instruction</td>
<td>return to Direct Mode</td>
</tr>
<tr>
<th><a href="07-06-amal.html#amali-direct">Direct</a></th>
<td>AMAL Instruction</td>
<td>change resumption point of main program</td>
</tr>
<tr>
<th><a href="10-02-disc-access.html#fn-disc-info-dollar">DISC INFO$</a></th>
<td>Function</td>
<td>report free space of named file or directory</td>
</tr>
<tr>
<th><a href="14-appendix-c-pal-and-ntsc.html#fn-display-height">DISPLAY HEIGHT</a></th>
<td>Function</td>
<td>give the maximum available screen height</td>
</tr>
<tr>
<th><a href="05-04-control-structures.html#str-do">DO</a></th>
<td>Structure</td>
<td>mark the beginning of a loop</td>
</tr>
<tr>
<th><a href="14-appendix-a-machine-code.html#i-doke">DOKE</a></th>
<td>Instruction</td>
<td>change two-byte word at an even address</td>
</tr>
<tr>
<th><a href="11-05-libraries-and-devices.html#fn-doscall">DOSCALL</a></th>
<td>Function</td>
<td>execute function from the DOS library</td>
</tr>
<tr>
<th><a href="07-02-blitter-objects.html#i-double-buffer">DOUBLE BUFFER</a></th>
<td>Instruction</td>
<td>activate the double buffering system</td>
</tr>
<tr>
<th><a href="06-04-graphics.html#i-draw">DRAW</a></th>
<td>Instruction</td>
<td>draw a line</td>
</tr>
<tr>