a2-memory-map 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/map.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "$schema": "./map.schema.json",
2
3
  "0x000a": {
3
4
  "brief": "USR vector",
4
5
  "ctx": "Applesoft",
@@ -6,23 +7,41 @@
6
7
  "label": "USR",
7
8
  "type": "vector"
8
9
  },
10
+ "0x0010": {
11
+ "brief": "DIM flag",
12
+ "ctx": "Applesoft",
13
+ "subctx": "variables",
14
+ "desc": "Remember whether a pointer is being requested for DIM or not.",
15
+ "label": "DIMFLG",
16
+ "type": "byte value"
17
+ },
9
18
  "0x0011": {
10
- "brief": "FAC flag",
19
+ "brief": "type of value",
11
20
  "ctx": "Applesoft",
21
+ "subctx": "variables",
12
22
  "desc": "type of value in FAC, 0=number, $FF=string",
13
23
  "label": "VALTYP",
14
24
  "type": "byte value"
15
25
  },
26
+ "0x0013": {
27
+ "ctx": "Applesoft",
28
+ "desc": "flags for crunching reserved words",
29
+ "label": "DORES",
30
+ "type": "byte value"
31
+ },
16
32
  "0x0016": {
17
- "brief": "FP compare parameter",
33
+ "brief": "FP compare mask",
18
34
  "ctx": "Applesoft",
19
- "desc": "Code related to floating point comparison routine",
35
+ "subctx": "FP",
36
+ "desc": "mask bits identifying a relational operator, also used in determining sign of tangent",
37
+ "label": "DOMASK",
20
38
  "type": "byte value"
21
39
  },
22
40
  "0x001a": {
23
41
  "brief": "Hi-res pointer",
24
42
  "ctx": "Applesoft",
25
43
  "desc": "Can point to screen byte or shape table entry",
44
+ "subctx": "hi-res",
26
45
  "label": "HSHAPE",
27
46
  "type": "word"
28
47
  },
@@ -30,47 +49,63 @@
30
49
  "ctx": "Applesoft",
31
50
  "desc": "Color masking byte",
32
51
  "subctx": "hi-res",
52
+ "label": "HCOLOR1",
53
+ "type": "byte value"
54
+ },
55
+ "0x001d": {
56
+ "brief": "line drawing iterator",
57
+ "ctx": "Applesoft",
58
+ "desc": "used to count iterations while drawing a line",
59
+ "subctx": "hi-res",
60
+ "label": "HCOUNT",
33
61
  "type": "byte value"
34
62
  },
35
63
  "0x0020": {
64
+ "ctx": "Monitor",
36
65
  "brief": "Sets left margin of text display",
37
66
  "desc": "Sets left margin of text display. Range 0-39.",
38
67
  "label": "WNDLFT",
39
68
  "type": "byte value"
40
69
  },
41
70
  "0x0021": {
71
+ "ctx": "Monitor",
42
72
  "brief": "Sets width of text display",
43
73
  "desc": "Sets width of text display. Range 1-40.",
44
74
  "label": "WNDWDTH",
45
75
  "type": "byte value"
46
76
  },
47
77
  "0x0022": {
78
+ "ctx": "Monitor",
48
79
  "brief": "Sets top margin of text display",
49
80
  "desc": "Sets top margin of text display. Range 0-23.",
50
81
  "label": "WNDTOP",
51
82
  "type": "byte value"
52
83
  },
53
84
  "0x0023": {
85
+ "ctx": "Monitor",
54
86
  "brief": "Sets bottom margin of text display",
55
87
  "desc": "Sets bottom margin of text display. Range 0-24.",
56
88
  "label": "WNDBTM",
57
89
  "type": "byte value"
58
90
  },
59
91
  "0x0024": {
92
+ "ctx": "Monitor",
60
93
  "brief": "Horizontal position of the cursor",
61
94
  "desc": "Horizontal position of the cursor. Range 0-39.",
62
95
  "label": "CH",
63
96
  "type": "byte value"
64
97
  },
65
98
  "0x0025": {
99
+ "ctx": "Monitor",
66
100
  "brief": "Vertical position of the cursor",
67
101
  "desc": "Vertical position of the cursor. Range 0-23.",
68
102
  "label": "CV",
69
103
  "type": "byte value"
70
104
  },
71
105
  "0x0026": {
106
+ "brief": "hi-res row address",
72
107
  "ctx": "Applesoft",
73
- "desc": "hi-res row address",
108
+ "desc": "hi-res row address, also called GBASL, GBASH",
74
109
  "label": "ROWADR",
75
110
  "subctx": "hi-res",
76
111
  "type": "word"
@@ -82,6 +117,7 @@
82
117
  "type": "word"
83
118
  },
84
119
  "0x002b": {
120
+ "ctx": "DOS 3.3",
85
121
  "desc": "Boot slot times 16.",
86
122
  "label": "SLOT",
87
123
  "type": "byte value"
@@ -104,12 +140,19 @@
104
140
  "0x0030": {
105
141
  "ctx": "Applesoft",
106
142
  "desc": "Bit mask for HPLOT from x%7",
107
- "label": "HPLTMSK",
143
+ "label": "HMASK",
108
144
  "subctx": "hi-res",
109
145
  "type": "byte value"
110
146
  },
147
+ "0x0031": {
148
+ "ctx": "Monitor",
149
+ "desc": "Monitor mode flag",
150
+ "label": "MODE",
151
+ "type": "byte value"
152
+ },
111
153
  "0x0032": {
112
- "desc": "Text output format.",
154
+ "brief": "Text output mask",
155
+ "desc": "Text output mask, normal=$ff, flash=$7f, inf=$3f.",
113
156
  "label": "INVFLG",
114
157
  "type": "byte value"
115
158
  },
@@ -131,12 +174,14 @@
131
174
  "type": "byte value"
132
175
  },
133
176
  "0x0036": {
134
- "desc": "Address of output device.",
177
+ "brief": "Output hook",
178
+ "desc": "Address of character output routine.",
135
179
  "label": "CSW",
136
180
  "type": "word"
137
181
  },
138
182
  "0x0038": {
139
- "desc": "Address of input device.",
183
+ "brief": "Input hook",
184
+ "desc": "Address of character input routine.",
140
185
  "label": "KSW",
141
186
  "type": "word"
142
187
  },
@@ -148,14 +193,14 @@
148
193
  },
149
194
  "0x003c": {
150
195
  "brief": "source start for AUXMOVE",
151
- "desc": "Source starting address for AUXMOVE.",
152
- "label": "A1",
196
+ "desc": "Source starting address for AUXMOVE, also Monitor general purpose A1.",
197
+ "label": "MVSRC",
153
198
  "type": "word"
154
199
  },
155
200
  "0x003e": {
156
201
  "brief": "source end for AUXMOVE",
157
- "desc": "Source ending address for AUXMOVE.",
158
- "label": "A2",
202
+ "desc": "Source ending address for AUXMOVE, inclusive, also Monitor general purpose A2.",
203
+ "label": "MVEND",
159
204
  "type": "word"
160
205
  },
161
206
  "0x0040": {
@@ -166,15 +211,15 @@
166
211
  },
167
212
  "0x0042": {
168
213
  "brief": "dest start for AUXMOVE",
169
- "desc": "Destination starting address for AUXMOVE.",
170
- "label": "A4",
214
+ "desc": "Destination starting address for AUXMOVE, also Monitor general purpose A4.",
215
+ "label": "MVDST",
171
216
  "type": "word"
172
217
  },
173
218
  "0x0044": {
174
219
  "ctx": "Monitor",
175
220
  "desc": "Used by Monitor.",
176
221
  "label": "A5",
177
- "type": "word"
222
+ "type": "byte value"
178
223
  },
179
224
  "0x004a": {
180
225
  "ctx": "Integer BASIC",
@@ -189,7 +234,8 @@
189
234
  "type": "word"
190
235
  },
191
236
  "0x004e": {
192
- "desc": "Random number field.",
237
+ "brief": "Random number",
238
+ "desc": "incremented while waiting for a keypress to provide a random number",
193
239
  "label": "RND",
194
240
  "type": "word"
195
241
  },
@@ -212,12 +258,39 @@
212
258
  "label": "LASTPT",
213
259
  "type": "byte value"
214
260
  },
261
+ "0x0054": {
262
+ "ctx": "Applesoft",
263
+ "brief": "temporary storage",
264
+ "desc": "temporary space for string descriptor",
265
+ "label": "TEMPST1",
266
+ "type": "vector"
267
+ },
268
+ "0x0057": {
269
+ "ctx": "Applesoft",
270
+ "brief": "temporary storage",
271
+ "desc": "temporary space for string descriptor",
272
+ "label": "TEMPST2",
273
+ "type": "vector"
274
+ },
275
+ "0x005a": {
276
+ "ctx": "Applesoft",
277
+ "brief": "temporary storage",
278
+ "desc": "temporary space for string descriptor",
279
+ "label": "TEMPST3",
280
+ "type": "vector"
281
+ },
215
282
  "0x005e": {
216
283
  "ctx": "Applesoft",
217
284
  "desc": "temp string pointer",
218
285
  "label": "INDEX",
219
286
  "type": "word"
220
287
  },
288
+ "0x0060": {
289
+ "ctx": "Applesoft",
290
+ "desc": "move strings destination",
291
+ "label": "DSTPTR",
292
+ "type": "word"
293
+ },
221
294
  "0x0067": {
222
295
  "ctx": "Applesoft",
223
296
  "desc": "Start of Applesoft program.",
@@ -237,14 +310,16 @@
237
310
  "type": "word"
238
311
  },
239
312
  "0x006d": {
313
+ "brief": "End of array space.",
240
314
  "ctx": "Applesoft",
241
- "desc": "End of array space.",
315
+ "desc": "End of array space, also lower bound of string space, which grows downward.",
242
316
  "label": "STREND",
243
317
  "type": "word"
244
318
  },
245
319
  "0x006f": {
320
+ "brief": "Start of string space.",
246
321
  "ctx": "Applesoft",
247
- "desc": "Start of string space.",
322
+ "desc": "Start of string space, decreases as new strings are added, initially FRETOP=MEMSIZ.",
248
323
  "label": "FRETOP",
249
324
  "type": "word"
250
325
  },
@@ -255,8 +330,9 @@
255
330
  "type": "word"
256
331
  },
257
332
  "0x0073": {
333
+ "brief": "End of variable space, `HIMEM`.",
258
334
  "ctx": "Applesoft",
259
- "desc": "End of variable space, `HIMEM`.",
335
+ "desc": "End of variable space, exclusive, set by `HIMEM`.",
260
336
  "label": "MEMSIZ",
261
337
  "type": "word"
262
338
  },
@@ -398,9 +474,38 @@
398
474
  "label": "VAL",
399
475
  "type": "word"
400
476
  },
477
+ "0x00d0": {
478
+ "ctx": "Applesoft",
479
+ "subctx": "hi-res",
480
+ "desc": "hi-res horizontal step",
481
+ "label": "HGRDX",
482
+ "type": "word"
483
+ },
484
+ "0x00d2": {
485
+ "ctx": "Applesoft",
486
+ "subctx": "hi-res",
487
+ "desc": "hi-res vertical step",
488
+ "label": "HGRDY",
489
+ "type": "byte value"
490
+ },
491
+ "0x00d3": {
492
+ "ctx": "Applesoft",
493
+ "subctx": "hi-res",
494
+ "desc": "hi-res quadrant",
495
+ "label": "HGRQUAD",
496
+ "type": "byte value"
497
+ },
498
+ "0x00d4": {
499
+ "ctx": "Applesoft",
500
+ "subctx": "hi-res",
501
+ "desc": "used for hi-res shapes and lines",
502
+ "label": "HGRE",
503
+ "type": "word"
504
+ },
401
505
  "0x00d6": {
402
506
  "ctx": "Applesoft",
403
507
  "desc": "`RUN` flag.",
508
+ "label": "AUTORUN",
404
509
  "type": "byte value"
405
510
  },
406
511
  "0x00d8": {
@@ -422,7 +527,7 @@
422
527
  },
423
528
  "0x00dc": {
424
529
  "ctx": "Applesoft | Integer BASIC",
425
- "desc": "address of error | current line number",
530
+ "desc": "TXTPTR associated with error | current line number",
426
531
  "label": "ERRPOS | CURLIN",
427
532
  "type": "word"
428
533
  },
@@ -440,23 +545,30 @@
440
545
  },
441
546
  "0x00e0": {
442
547
  "ctx": "Applesoft",
548
+ "subctx": "hi-res",
443
549
  "desc": "Last `HPLOT` x coordinate.",
550
+ "label": "HGRX",
444
551
  "type": "word"
445
552
  },
446
553
  "0x00e2": {
447
554
  "ctx": "Applesoft",
555
+ "subctx": "hi-res",
448
556
  "desc": "Last `HPLOT` y coordinate.",
557
+ "label": "HGRY",
449
558
  "type": "byte value"
450
559
  },
451
560
  "0x00e4": {
452
561
  "ctx": "Applesoft | Integer BASIC",
562
+ "subctx": "hi-res | parsing",
453
563
  "desc": "color masking byte | line number address",
564
+ "label": "HGRCOLOR | LINADR",
454
565
  "type": "byte value | word"
455
566
  },
456
567
  "0x00e5": {
457
568
  "ctx": "Applesoft",
458
569
  "desc": "INT(hi-res x coordinate / 7)",
459
570
  "subctx": "hi-res",
571
+ "label": "HGRHORIZ",
460
572
  "type": "byte value"
461
573
  },
462
574
  "0x00e6": {
@@ -464,20 +576,24 @@
464
576
  "ctx": "Applesoft",
465
577
  "desc": "High resolution plotting page, $20 for page 1, $40 for page 2.",
466
578
  "subctx": "hi-res",
579
+ "lable": "HGRPAGE",
467
580
  "type": "byte value"
468
581
  },
469
582
  "0x00e7": {
470
583
  "desc": "`SCALE` value",
584
+ "subctx": "hi-res",
471
585
  "label": "SCALE",
472
586
  "type": "byte value"
473
587
  },
474
588
  "0x00e8": {
475
589
  "desc": "Address of shape table.",
590
+ "subctx": "hi-res",
476
591
  "label": "SHADDR",
477
592
  "type": "word"
478
593
  },
479
594
  "0x00ea": {
480
595
  "brief": "hi-res collision flag",
596
+ "subctx": "hi-res",
481
597
  "desc": "High resolution graphics collision flag.",
482
598
  "type": "byte value"
483
599
  },
@@ -486,16 +602,28 @@
486
602
  "label": "SPDBYT",
487
603
  "type": "byte value"
488
604
  },
605
+ "0x00f2": {
606
+ "desc": "trace on/off flag",
607
+ "label": "TRCFLG",
608
+ "type": "byte value"
609
+ },
489
610
  "0x00f3": {
490
- "desc": "Mask for `FLASH`.",
491
- "label": "ORMASK",
611
+ "brief": "Mask for `FLASH`.",
612
+ "desc": "Mask for flashing text, flash = $40, no-flash = $00",
613
+ "label": "FLASH",
492
614
  "type": "byte value"
493
615
  },
494
616
  "0x00f4": {
495
- "ctx": "Integer BASIC",
496
- "desc": "Floating point register 2",
497
- "label": "FP2",
498
- "type": "float32"
617
+ "ctx": "Applesoft | Integer BASIC",
618
+ "desc": "character pointer backing | Floating point register 2",
619
+ "label": "TXTPSV | FP2",
620
+ "type": "word | float32"
621
+ },
622
+ "0x00f6": {
623
+ "ctx": "Applesoft",
624
+ "desc": "current line backing",
625
+ "label": "CURLSV",
626
+ "type": "word"
499
627
  },
500
628
  "0x00f8": {
501
629
  "brief": "save stack pointer | floating point register 1",
@@ -506,6 +634,7 @@
506
634
  },
507
635
  "0x00f9": {
508
636
  "ctx": "Applesoft",
637
+ "subctx": "hi-res",
509
638
  "desc": "`ROT` value",
510
639
  "label": "ROT",
511
640
  "type": "byte value"
@@ -543,34 +672,43 @@
543
672
  "0x03f0": {
544
673
  "brief": "address of `BRK` handler",
545
674
  "desc": "Address of subroutine handling `BRK` requests.",
675
+ "label": "BRKV",
546
676
  "type": "word"
547
677
  },
548
678
  "0x03f2": {
549
679
  "brief": "address of `Reset` handler",
550
680
  "desc": "Address of program taking control after `Reset`",
681
+ "label": "SOFTEV",
551
682
  "type": "word"
552
683
  },
553
684
  "0x03f4": {
554
685
  "desc": "Power-up byte",
686
+ "label": "PWREDUP",
555
687
  "type": "byte value"
556
688
  },
557
689
  "0x03f5": {
558
690
  "brief": "`&` vector",
559
691
  "desc": "Action to take upon issuing `&` command",
692
+ "label": "AMPERV",
560
693
  "type": "vector"
561
694
  },
562
695
  "0x03f8": {
563
696
  "brief": "`Ctrl-Y` vector",
564
- "desc": "Action to take upon issuing `Ctrl-Y`",
697
+ "ctx": "Monitor",
698
+ "desc": "Action to take upon issuing `Ctrl-Y` in Monitor",
699
+ "label": "USRADDR",
565
700
  "type": "vector"
566
701
  },
567
702
  "0x03fb": {
568
- "brief": "interrupt vector",
703
+ "brief": "NMI handler",
569
704
  "desc": "Action to take upon non-maskable interrupt",
705
+ "label": "NMI",
570
706
  "type": "vector"
571
707
  },
572
708
  "0x03fe": {
573
- "desc": "Address of interrupt handler",
709
+ "brief": "IRQ handler",
710
+ "desc": "Action to take upon interrupt request",
711
+ "label": "IRQADDR",
574
712
  "type": "vector"
575
713
  },
576
714
  "0x9d01": {
@@ -695,63 +833,63 @@
695
833
  "brief": "read keyboard | PAGE2 normal",
696
834
  "ctx": "Enhanced Apple //e or higher needed for [2]",
697
835
  "desc": "Overloaded. [1] read the keyboard (read) [2] Set PAGE2 function to normal (write)",
698
- "label": "80STORE",
836
+ "label": "CLR80COL",
699
837
  "type": "soft switch"
700
838
  },
701
839
  "0xc001": {
702
840
  "brief": "PAGE2 controls display bank",
703
841
  "ctx": "Enhanced Apple //e or higher",
704
842
  "desc": "Set PAGE2 function to control the memory bank used for display storage, write only.",
705
- "label": "80STORE",
843
+ "label": "SET80COL",
706
844
  "type": "soft switch"
707
845
  },
708
846
  "0xc002": {
709
847
  "brief": "read from main memory",
710
848
  "ctx": "Enhanced Apple //e or higher",
711
849
  "desc": "Read from main memory, write only.",
712
- "label": "RAMRD",
850
+ "label": "RDMAIN",
713
851
  "type": "soft switch"
714
852
  },
715
853
  "0xc003": {
716
854
  "brief": "read from auxiliary memory",
717
855
  "ctx": "Enhanced Apple //e or higher",
718
856
  "desc": "Read from auxiliary memory, write only.",
719
- "label": "RAMRD",
857
+ "label": "RDAUX",
720
858
  "type": "soft switch"
721
859
  },
722
860
  "0xc004": {
723
861
  "brief": "write to main memory",
724
862
  "ctx": "Enhanced Apple //e or higher",
725
863
  "desc": "Write to main memory, write only.",
726
- "label": "RAMWRT",
864
+ "label": "WRMAIN",
727
865
  "type": "soft switch"
728
866
  },
729
867
  "0xc005": {
730
868
  "brief": "write to auxiliary memory",
731
869
  "ctx": "Enhanced Apple //e or higher",
732
870
  "desc": "Write to auxiliary memory, write only.",
733
- "label": "RAMWRT",
871
+ "label": "WRAUX",
734
872
  "type": "soft switch"
735
873
  },
736
874
  "0xc006": {
737
- "brief": "internal ROM",
875
+ "brief": "peripheral card CX00 ROM",
738
876
  "ctx": "Enhanced Apple //e or higher",
739
- "desc": "Map to internal ROM, write only.",
740
- "label": "SLOTCXROM",
877
+ "desc": "Map to peripheral card CX00 ROM, write only.",
878
+ "label": "SETSLTCX",
741
879
  "type": "soft switch"
742
880
  },
743
881
  "0xc007": {
744
- "brief": "peripheral card ROM",
882
+ "brief": "internal CX00 ROM",
745
883
  "ctx": "Enhanced Apple //e or higher",
746
- "desc": "Map to peripheral card ROM, write only.",
747
- "label": "SLOTCXROM",
884
+ "desc": "Map to internal CX00 ROM, write only.",
885
+ "label": "SETINTCX",
748
886
  "type": "soft switch"
749
887
  },
750
888
  "0xc008": {
751
889
  "brief": "main stack and zero page",
752
890
  "ctx": "Enhanced Apple //e or higher",
753
891
  "desc": "Main stack and zero page, write only.",
754
- "label": "ALTZP",
892
+ "label": "SETSTDZP",
755
893
  "note": "Apple //e Reference Manual has inconsistent negative address",
756
894
  "type": "soft switch"
757
895
  },
@@ -759,7 +897,7 @@
759
897
  "brief": "aux stack and zero page",
760
898
  "ctx": "Enhanced Apple //e or higher",
761
899
  "desc": "Auxiliary stack and zero page, write only.",
762
- "label": "ALTZP",
900
+ "label": "SETALTZP",
763
901
  "note": "Apple //e Reference Manual has inconsistent negative address",
764
902
  "type": "soft switch"
765
903
  },
@@ -767,74 +905,75 @@
767
905
  "brief": "S3 internal ROM",
768
906
  "ctx": "Enhanced Apple //e or higher",
769
907
  "desc": "Map to internal ROM, write only.",
770
- "label": "SLOTC3ROM",
908
+ "label": "SETINTC3",
771
909
  "type": "soft switch"
772
910
  },
773
911
  "0xc00b": {
774
912
  "brief": "S3 peripheral card ROM",
775
913
  "ctx": "Enhanced Apple //e or higher",
776
914
  "desc": "Map to peripheral card ROM, write only.",
777
- "label": "SLOTC3ROM",
915
+ "label": "SETSLTC3",
778
916
  "type": "soft switch"
779
917
  },
780
918
  "0xc00c": {
781
919
  "brief": "40 columns",
782
920
  "ctx": "Enhanced Apple //e or higher",
783
921
  "desc": "80 column display off, write only.",
784
- "label": "80COL",
922
+ "label": "CLR80VID",
785
923
  "type": "soft switch"
786
924
  },
787
925
  "0xc00d": {
788
926
  "brief": "80 columns",
789
927
  "ctx": "Enhanced Apple //e or higher",
790
928
  "desc": "80 column display on, write only.",
791
- "label": "80COL",
929
+ "label": "SET80VID",
792
930
  "type": "soft switch"
793
931
  },
794
932
  "0xc00e": {
795
933
  "brief": "normal character set",
796
934
  "ctx": "Enhanced Apple //e or higher",
797
935
  "desc": "Disable alternate character set, write only.",
798
- "label": "ALTCHARSET",
936
+ "label": "CLRALTCH",
799
937
  "type": "soft switch"
800
938
  },
801
939
  "0xc00f": {
802
940
  "brief": "alternate character set",
803
941
  "ctx": "Enhanced Apple //e or higher",
804
942
  "desc": "Enable alternate character set, write only.",
805
- "label": "ALTCHARSET",
943
+ "label": "SETALTCH",
806
944
  "type": "soft switch"
807
945
  },
808
946
  "0xc010": {
809
947
  "desc": "Reset the keyboard strobe.",
948
+ "label": "KBDSTRB",
810
949
  "type": "soft switch"
811
950
  },
812
951
  "0xc013": {
813
952
  "brief": "read RAMRD",
814
953
  "ctx": "Enhanced Apple //e or higher",
815
954
  "desc": "Read the memory bank read soft switch.",
816
- "label": "RAMRD",
955
+ "label": "RDRAMRD",
817
956
  "type": "soft switch"
818
957
  },
819
958
  "0xc014": {
820
959
  "brief": "read RAMWRT",
821
960
  "ctx": "Enhanced Apple //e or higher",
822
961
  "desc": "Read the memory bank write soft switch.",
823
- "label": "RAMWRT",
962
+ "label": "RDRAMWRT",
824
963
  "type": "soft switch"
825
964
  },
826
965
  "0xc015": {
827
966
  "brief": "read SLOTCXROM",
828
967
  "ctx": "Enhanced Apple //e or higher",
829
968
  "desc": "Read the all-slots ROM bank selector switch.",
830
- "label": "SLOTCXROM",
969
+ "label": "RDSLOTCX",
831
970
  "type": "soft switch"
832
971
  },
833
972
  "0xc016": {
834
973
  "brief": "read ALTZP",
835
974
  "ctx": "Enhanced Apple //e or higher",
836
975
  "desc": "Read the alternate stack and zero page soft switch.",
837
- "label": "ALTZP",
976
+ "label": "RDALTZP",
838
977
  "note": "Apple //e Reference Manual has inconsistent negative address",
839
978
  "type": "soft switch"
840
979
  },
@@ -842,71 +981,73 @@
842
981
  "brief": "read SLOTC3ROM",
843
982
  "ctx": "Enhanced Apple //e or higher",
844
983
  "desc": "Read the slot 3 ROM bank selector switch.",
845
- "label": "SLOTC3ROM",
984
+ "label": "RDSLOTC3",
846
985
  "type": "soft switch"
847
986
  },
848
987
  "0xc018": {
849
988
  "brief": "read 80STORE",
850
989
  "ctx": "Enhanced Apple //e or higher",
851
990
  "desc": "Read the soft switch controlling the PAGE2 soft switch function.",
852
- "label": "80STORE",
991
+ "label": "RD80STOR",
853
992
  "type": "soft switch"
854
993
  },
855
994
  "0xc019": {
856
995
  "brief": "read VBL",
857
996
  "ctx": "Enhanced Apple //e or higher",
858
997
  "desc": "Read vertical blanking.",
859
- "label": "VBL",
998
+ "label": "RDVBLBAR",
860
999
  "type": "soft switch"
861
1000
  },
862
1001
  "0xc01a": {
863
1002
  "brief": "read TEXT",
864
1003
  "ctx": "Enhanced Apple //e or higher",
865
1004
  "desc": "Read text display soft switch.",
866
- "label": "TEXT",
1005
+ "label": "RDTEXT",
867
1006
  "type": "soft switch"
868
1007
  },
869
1008
  "0xc01b": {
870
1009
  "brief": "read MIXED",
871
1010
  "ctx": "Enhanced Apple //e or higher",
872
1011
  "desc": "Read mixed display soft switch.",
873
- "label": "MIXED",
1012
+ "label": "RDMIXED",
874
1013
  "type": "soft switch"
875
1014
  },
876
1015
  "0xc01c": {
877
1016
  "brief": "read PAGE2",
878
1017
  "ctx": "Enhanced Apple //e or higher",
879
1018
  "desc": "Read page 2 display soft switch.",
880
- "label": "PAGE2",
1019
+ "label": "RDPAGE2",
881
1020
  "type": "soft switch"
882
1021
  },
883
1022
  "0xc01d": {
884
1023
  "brief": "read HIRES",
885
1024
  "ctx": "Enhanced Apple //e or higher",
886
1025
  "desc": "Read high resolution display soft switch.",
887
- "label": "HIRES",
1026
+ "label": "RDHIRES",
888
1027
  "type": "soft switch"
889
1028
  },
890
1029
  "0xc01e": {
891
1030
  "brief": "read ALTCHARSET",
892
1031
  "ctx": "Enhanced Apple //e or higher",
893
1032
  "desc": "Read alternate character set soft switch.",
894
- "label": "ALTCHARSET",
1033
+ "label": "RDALTCH",
895
1034
  "type": "soft switch"
896
1035
  },
897
1036
  "0xc01f": {
898
1037
  "brief": "read 80COL",
899
1038
  "ctx": "Enhanced Apple //e or higher",
900
1039
  "desc": "Read 80 column display soft switch.",
901
- "label": "80COL",
1040
+ "label": "RD80VID",
902
1041
  "type": "soft switch"
903
1042
  },
904
1043
  "0xc020": {
905
1044
  "desc": "Ping the cassette recording.",
1045
+ "label": "TAPEOUT",
906
1046
  "type": "soft switch"
907
1047
  },
908
1048
  "0xc030": {
909
1049
  "desc": "Click the speaker.",
1050
+ "label": "SPKR",
910
1051
  "type": "soft switch"
911
1052
  },
912
1053
  "0xc040": {
@@ -966,79 +1107,95 @@
966
1107
  "0xc058": {
967
1108
  "brief": "game 0 off",
968
1109
  "desc": "Set game control annunciator output 0 to high (off).",
1110
+ "label": "AN0OFF",
969
1111
  "type": "soft switch"
970
1112
  },
971
1113
  "0xc059": {
972
1114
  "brief": "game 0 on",
973
1115
  "desc": "Set game control annunciator output 0 to low (on).",
1116
+ "label": "AN0ON",
974
1117
  "type": "soft switch"
975
1118
  },
976
1119
  "0xc05a": {
977
1120
  "brief": "game 1 off",
978
1121
  "desc": "Set game control annunciator output 1 to high (off).",
1122
+ "label": "AN1OFF",
979
1123
  "type": "soft switch"
980
1124
  },
981
1125
  "0xc05b": {
982
1126
  "brief": "game 1 on",
983
1127
  "desc": "Set game control annunciator output 1 to low (on).",
1128
+ "label": "AN1ON",
984
1129
  "type": "soft switch"
985
1130
  },
986
1131
  "0xc05c": {
987
1132
  "brief": "game 2 off",
988
1133
  "desc": "Set game control annunciator output 2 to high (off).",
1134
+ "label": "AN2OFF",
989
1135
  "type": "soft switch"
990
1136
  },
991
1137
  "0xc05d": {
992
1138
  "brief": "game 2 on",
993
1139
  "desc": "Set game control annunciator output 2 to low (on).",
1140
+ "label": "AN2ON",
994
1141
  "type": "soft switch"
995
1142
  },
996
1143
  "0xc05e": {
997
1144
  "brief": "game 3 off | double hi-res",
998
- "ctx": "Enhanced Apple //e or later needed for [2]",
1145
+ "ctx": "Enhanced Apple //e or higher needed for [2]",
999
1146
  "desc": "Overloaded. [1] set game control annunciator output 3 to high (off) [2] switch to double resolution graphics",
1000
- "label": "DHR",
1147
+ "label": "DHGR",
1001
1148
  "type": "soft switch"
1002
1149
  },
1003
1150
  "0xc05f": {
1004
1151
  "brief": "game 3 on",
1005
1152
  "desc": "Set game control annunciator output 3 to low (on).",
1153
+ "label": "AN3ON",
1006
1154
  "type": "soft switch"
1007
1155
  },
1008
1156
  "0xc060": {
1009
1157
  "desc": "Casette In.",
1158
+ "label": "TAPEIN",
1010
1159
  "type": "soft switch"
1011
1160
  },
1012
1161
  "0xc061": {
1013
1162
  "desc": "Read pushbutton on game controller 0.",
1163
+ "label": "GAMEBTN0",
1014
1164
  "type": "soft switch"
1015
1165
  },
1016
1166
  "0xc062": {
1017
1167
  "desc": "Read pushbutton on game controller 1.",
1168
+ "label": "GAMEBTN1",
1018
1169
  "type": "soft switch"
1019
1170
  },
1020
1171
  "0xc063": {
1021
1172
  "desc": "Read pushbutton on game controller 2.",
1173
+ "label": "GAMEBTN2",
1022
1174
  "type": "soft switch"
1023
1175
  },
1024
1176
  "0xc064": {
1025
1177
  "desc": "Analog input 0.",
1178
+ "label": "PADDL0",
1026
1179
  "type": "soft switch"
1027
1180
  },
1028
1181
  "0xc065": {
1029
1182
  "desc": "Analog input 1.",
1183
+ "label": "PADDL1",
1030
1184
  "type": "soft switch"
1031
1185
  },
1032
1186
  "0xc066": {
1033
1187
  "desc": "Analog input 2.",
1188
+ "label": "PADDL2",
1034
1189
  "type": "soft switch"
1035
1190
  },
1036
1191
  "0xc067": {
1037
1192
  "desc": "Analog input 3.",
1193
+ "label": "PADDL3",
1038
1194
  "type": "soft switch"
1039
1195
  },
1040
1196
  "0xc070": {
1041
1197
  "desc": "Analog input reset.",
1198
+ "label": "PTRIG",
1042
1199
  "type": "soft switch"
1043
1200
  },
1044
1201
  "0xc080": {
@@ -1215,11 +1372,11 @@
1215
1372
  "label": "DRAW1",
1216
1373
  "type": "ROM routine"
1217
1374
  },
1218
- "0xd39a": {
1219
- "brief": "Move block up.",
1375
+ "0xd393": {
1376
+ "brief": "Move block up with check.",
1220
1377
  "ctx": "Applesoft",
1221
- "desc": "Move LOWTR..HIGHTR to HIGHDS-HIGHTR+LOWTR..HIGHDS. On entry LE (A,Y) = (HIGHDS).",
1222
- "label": "MVBLKUP2",
1378
+ "desc": "Move LOWTR..HIGHTR to HIGHDS-HIGHTR+LOWTR..HIGHDS with check. On entry Y*256+A = (HIGHDS).",
1379
+ "label": "BLTU",
1223
1380
  "type": "ROM routine"
1224
1381
  },
1225
1382
  "0xd3a5": {
@@ -1232,7 +1389,7 @@
1232
1389
  "0xd412": {
1233
1390
  "brief": "Error handler.",
1234
1391
  "ctx": "Applesoft",
1235
- "desc": "Display error message or branch to program's error handler if ONERR active.",
1392
+ "desc": "Display error message at offset X or branch to program's error handler if ONERR active.",
1236
1393
  "label": "ERROR",
1237
1394
  "type": "ROM routine"
1238
1395
  },
@@ -1296,7 +1453,7 @@
1296
1453
  },
1297
1454
  "0xd849": {
1298
1455
  "ctx": "Applesoft",
1299
- "desc": "Set DATAPTR to beginning.",
1456
+ "desc": "Set DATPTR to beginning.",
1300
1457
  "label": "RESTOR",
1301
1458
  "type": "ROM routine"
1302
1459
  },
@@ -1354,16 +1511,17 @@
1354
1511
  "type": "ROM routine"
1355
1512
  },
1356
1513
  "0xdab7": {
1357
- "brief": "Copy string.",
1514
+ "brief": "Copy string descriptor.",
1358
1515
  "ctx": "Applesoft",
1359
- "desc": "Pop descriptor at LE (A,Y) from string stack and copy it to FORPNT. Character data is not touched",
1360
- "label": "COPY",
1516
+ "desc": "Pop descriptor at Y*256+A from string stack and copy it to FORPNT. Character data is not touched.",
1517
+ "label": "COPYZC",
1361
1518
  "subctx": "string",
1362
1519
  "type": "ROM routine"
1363
1520
  },
1364
1521
  "0xdb3a": {
1522
+ "brief": "Print string at Y*256+A",
1365
1523
  "ctx": "Applesoft",
1366
- "desc": "Print string at LE (A,Y)",
1524
+ "desc": "Print characters stored at Y*256+A, and copy to string space if Y=0 or Y=2.",
1367
1525
  "label": "STROUT",
1368
1526
  "subctx": "io",
1369
1527
  "type": "ROM routine"
@@ -1371,7 +1529,7 @@
1371
1529
  "0xdb3d": {
1372
1530
  "brief": "Print string at address.",
1373
1531
  "ctx": "Applesoft",
1374
- "desc": "Print the string with descriptor at LE (FAC+3,FAC+4).",
1532
+ "desc": "Print the string with descriptor at (FACMO).",
1375
1533
  "label": "STRPRT",
1376
1534
  "subctx": "io",
1377
1535
  "type": "ROM routine"
@@ -1454,7 +1612,7 @@
1454
1612
  "0xdf6a": {
1455
1613
  "brief": "FAC = ARG lop($16) FAC",
1456
1614
  "ctx": "Applesoft",
1457
- "desc": "Compare ARC and FAC using operator encoded at $16, result in FAC",
1615
+ "desc": "Compare ARG and FAC using operator encoded at $16, result in FAC",
1458
1616
  "subctx": "FP",
1459
1617
  "type": "ROM routine"
1460
1618
  },
@@ -1491,7 +1649,7 @@
1491
1649
  "0xe2f2": {
1492
1650
  "brief": "integer to float",
1493
1651
  "ctx": "Applesoft",
1494
- "desc": "convert signed integer LE Y,A into float in FAC",
1652
+ "desc": "convert signed integer A*256+Y into float in FAC",
1495
1653
  "label": "GIVAYF",
1496
1654
  "subctx": "FP",
1497
1655
  "type": "ROM routine"
@@ -1514,16 +1672,24 @@
1514
1672
  "0xe42a": {
1515
1673
  "brief": "Push string result.",
1516
1674
  "ctx": "Applesoft",
1517
- "desc": "Push DSCTMP (e.g. FRMEVL result) to string descriptor stack. The address of the stack location is saved in LE FAC+3,FAC+4.",
1675
+ "desc": "Push DSCTMP (e.g. FRMEVL result) to string descriptor stack. The address of the stack location is saved at FACMO.",
1518
1676
  "label": "PUTNEW",
1519
1677
  "subctx": "string",
1520
1678
  "type": "ROM routine"
1521
1679
  },
1680
+ "0xe452": {
1681
+ "brief": "Get space for string.",
1682
+ "ctx": "Applesoft",
1683
+ "desc": "Get space for string of length A, returns address in Y*256+X",
1684
+ "label": "GETSPA",
1685
+ "subctx": "string",
1686
+ "type": "ROM routine"
1687
+ },
1522
1688
  "0xe484": {
1523
1689
  "brief": "Garbage collector.",
1524
1690
  "ctx": "Applesoft",
1525
1691
  "desc": "Free unreferenced strings, pack string data.",
1526
- "label": "GARBAG",
1692
+ "label": "GARBA2",
1527
1693
  "type": "ROM routine"
1528
1694
  },
1529
1695
  "0xe4ab": {
@@ -1544,7 +1710,7 @@
1544
1710
  "0xe597": {
1545
1711
  "brief": "Concatenate strings.",
1546
1712
  "ctx": "Applesoft",
1547
- "desc": "Concatenate string at LE (FAC+3,FAC+4) with string expression, TXTPTR expected to be at the `+` operator",
1713
+ "desc": "Concatenate string at FACMO with string expression, TXTPTR expected to be at the `+` operator",
1548
1714
  "label": "CAT",
1549
1715
  "subctx": "parsing & string",
1550
1716
  "type": "ROM routine"
@@ -1552,7 +1718,7 @@
1552
1718
  "0xe5e2": {
1553
1719
  "brief": "move string",
1554
1720
  "ctx": "Applesoft",
1555
- "desc": "Move string at LE (X,Y) with length A to FRESPC",
1721
+ "desc": "Move string at Y*256+X with length A to FRESPC",
1556
1722
  "label": "MOVSTR",
1557
1723
  "subctx": "string",
1558
1724
  "type": "ROM routine"
@@ -1560,7 +1726,7 @@
1560
1726
  "0xe5fd": {
1561
1727
  "brief": "Get and free string.",
1562
1728
  "ctx": "Applesoft",
1563
- "desc": "If FAC is string: set A=length, INDEX=address: if temporary pop descriptor: if address=FRETOP then FRETOP += length.",
1729
+ "desc": "If FAC is string: return A=length, INDEX=address: if temporary pop descriptor: if address=FRETOP then FRETOP += length.",
1564
1730
  "label": "FRESTR",
1565
1731
  "subctx": "string",
1566
1732
  "type": "ROM routine"
@@ -1568,7 +1734,7 @@
1568
1734
  "0xe635": {
1569
1735
  "brief": "Free string descriptor.",
1570
1736
  "ctx": "Applesoft",
1571
- "desc": "Pop the descriptor at LE (A,Y) if it points to expected string stack location.",
1737
+ "desc": "Pop the descriptor at Y*256+A if it points to expected string stack location.",
1572
1738
  "label": "FRETMS",
1573
1739
  "subctx": "string",
1574
1740
  "type": "ROM routine"
@@ -1577,7 +1743,7 @@
1577
1743
  "brief": "Get string for number.",
1578
1744
  "ctx": "Applesoft",
1579
1745
  "desc": "Call FRESTR, set VALTYP to number, put length in Y. Used by functions of form sexpr->number. The string is available at INDEX until overwritten.",
1580
- "label": "GETSTR",
1746
+ "label": "LEN1",
1581
1747
  "subctx": "string",
1582
1748
  "type": "ROM routine"
1583
1749
  },
@@ -1605,10 +1771,18 @@
1605
1771
  "subctx": "FP & parsing",
1606
1772
  "type": "ROM routine"
1607
1773
  },
1774
+ "0xe74c": {
1775
+ "brief": "check comma, parse byte",
1776
+ "ctx": "Applesoft",
1777
+ "desc": "check for comma and then parse byte value into X",
1778
+ "label": "COMBYT",
1779
+ "subctx": "FP & parsing",
1780
+ "type": "ROM routine"
1781
+ },
1608
1782
  "0xe752": {
1609
1783
  "brief": "FAC to LINNUM",
1610
1784
  "ctx": "Applesoft",
1611
- "desc": "Convert FAC to integer and store in LINNUM and LE Y,A",
1785
+ "desc": "Convert FAC to integer and store at LINNUM. Also available as A*256+Y.",
1612
1786
  "label": "GETADR",
1613
1787
  "subctx": "FP",
1614
1788
  "type": "ROM routine"
@@ -1623,7 +1797,7 @@
1623
1797
  "0xe7aa": {
1624
1798
  "brief": "FAC = ARG - FAC",
1625
1799
  "ctx": "Applesoft",
1626
- "desc": "FAC = ARG - FAC, must follow JSR MOVFM",
1800
+ "desc": "FAC = ARG - FAC",
1627
1801
  "label": "FSUBT",
1628
1802
  "subctx": "FP",
1629
1803
  "type": "ROM routine"
@@ -1631,7 +1805,7 @@
1631
1805
  "0xe7c1": {
1632
1806
  "brief": "FAC = ARG + FAC",
1633
1807
  "ctx": "Applesoft",
1634
- "desc": "FAC = ARG + FAC, must follow JSR MOVFM",
1808
+ "desc": "FAC = ARG + FAC",
1635
1809
  "label": "FADDT",
1636
1810
  "subctx": "FP",
1637
1811
  "type": "ROM routine"
@@ -1644,30 +1818,35 @@
1644
1818
  "0xe913": {
1645
1819
  "ctx": "Applesoft",
1646
1820
  "desc": "FP constant, 1",
1821
+ "label": "FONE",
1647
1822
  "subctx": "FP",
1648
1823
  "type": "float"
1649
1824
  },
1650
1825
  "0xe92d": {
1651
1826
  "ctx": "Applesoft",
1652
1827
  "desc": "FP constant, sqrt(.5)",
1828
+ "label": "SQRHLF",
1653
1829
  "subctx": "FP",
1654
1830
  "type": "float"
1655
1831
  },
1656
1832
  "0xe932": {
1657
1833
  "ctx": "Applesoft",
1658
1834
  "desc": "FP constant, sqrt(2)",
1835
+ "label": "SQRTWO",
1659
1836
  "subctx": "FP",
1660
1837
  "type": "float"
1661
1838
  },
1662
1839
  "0xe937": {
1663
1840
  "ctx": "Applesoft",
1664
1841
  "desc": "FP constant, -1/2",
1842
+ "label": "NEGHLF",
1665
1843
  "subctx": "FP",
1666
1844
  "type": "float"
1667
1845
  },
1668
1846
  "0xe93c": {
1669
1847
  "ctx": "Applesoft",
1670
1848
  "desc": "FP constant, ln(2)",
1849
+ "label": "LOG2",
1671
1850
  "subctx": "FP",
1672
1851
  "type": "float"
1673
1852
  },
@@ -1682,7 +1861,7 @@
1682
1861
  "0xe982": {
1683
1862
  "brief": "FAC = ARG * FAC",
1684
1863
  "ctx": "Applesoft",
1685
- "desc": "FAC = ARG * FAC, must follow JSR MOVFM",
1864
+ "desc": "FAC = ARG * FAC",
1686
1865
  "label": "FMULTT",
1687
1866
  "subctx": "FP",
1688
1867
  "type": "ROM routine"
@@ -1690,7 +1869,7 @@
1690
1869
  "0xe9e3": {
1691
1870
  "brief": "unpack float",
1692
1871
  "ctx": "Applesoft",
1693
- "desc": "unpack float at LE (A,Y) and put in ARG",
1872
+ "desc": "unpack float at Y*256+A and put in ARG",
1694
1873
  "label": "CONUPK",
1695
1874
  "subctx": "FP",
1696
1875
  "type": "ROM routine"
@@ -1698,13 +1877,14 @@
1698
1877
  "0xea50": {
1699
1878
  "ctx": "Applesoft",
1700
1879
  "desc": "FP constant, 10",
1880
+ "label": "TENZC",
1701
1881
  "subctx": "FP",
1702
1882
  "type": "float"
1703
1883
  },
1704
1884
  "0xea69": {
1705
1885
  "brief": "FAC = ARG / FAC",
1706
1886
  "ctx": "Applesoft",
1707
- "desc": "FAC = ARG / FAC, must follow JSR MOVFM, must test for div by 0",
1887
+ "desc": "FAC = ARG / FAC, Z=1 triggers divide by zero error",
1708
1888
  "label": "FDIVT",
1709
1889
  "subctx": "FP",
1710
1890
  "type": "ROM routine"
@@ -1712,7 +1892,7 @@
1712
1892
  "0xeaf9": {
1713
1893
  "brief": "unpack float",
1714
1894
  "ctx": "Applesoft",
1715
- "desc": "unpack float at LE (A,Y) and put in FAC",
1895
+ "desc": "unpack float at Y*256+A and put in FAC",
1716
1896
  "label": "MOVFM",
1717
1897
  "subctx": "FP",
1718
1898
  "type": "ROM routine"
@@ -1720,7 +1900,7 @@
1720
1900
  "0xeb2b": {
1721
1901
  "brief": "pack rounded",
1722
1902
  "ctx": "Applesoft",
1723
- "desc": "pack rounded FAC and store at LE (X,Y)",
1903
+ "desc": "pack rounded FAC and store at Y*256+X",
1724
1904
  "label": "MOVMF",
1725
1905
  "subctx": "FP",
1726
1906
  "type": "ROM routine"
@@ -1728,8 +1908,8 @@
1728
1908
  "0xeb2e": {
1729
1909
  "brief": "pack float",
1730
1910
  "ctx": "Applesoft",
1731
- "desc": "pack FAC and store at LE (X,Y)",
1732
- "label": "MOVMF1",
1911
+ "desc": "pack FAC and store at Y*256+X",
1912
+ "label": "movmf1",
1733
1913
  "subctx": "FP",
1734
1914
  "type": "ROM routine"
1735
1915
  },
@@ -1783,7 +1963,7 @@
1783
1963
  "0xebb2": {
1784
1964
  "brief": "float comparison",
1785
1965
  "ctx": "Applesoft",
1786
- "desc": "compare float at LE (A,Y) with FAC, A=-1, 0, 1 if <FAC, =FAC, >FAC",
1966
+ "desc": "compare float at Y*256+A with FAC, A=-1, 0, 1 if <FAC, =FAC, >FAC",
1787
1967
  "label": "FCOMP",
1788
1968
  "subctx": "FP",
1789
1969
  "type": "ROM routine"
@@ -1805,9 +1985,9 @@
1805
1985
  "type": "ROM routine"
1806
1986
  },
1807
1987
  "0xed24": {
1808
- "brief": "Print unsigned integer.",
1988
+ "brief": "Print A*256+X.",
1809
1989
  "ctx": "Applesoft",
1810
- "desc": "Print the unsigned integer in LE X,A.",
1990
+ "desc": "Print the value of A*256+X.",
1811
1991
  "label": "LINPRT",
1812
1992
  "subctx": "io",
1813
1993
  "type": "ROM routine"
@@ -1816,7 +1996,7 @@
1816
1996
  "brief": "Print FAC.",
1817
1997
  "ctx": "Applesoft",
1818
1998
  "desc": "Print the number in FAC destructively.",
1819
- "label": "FACPRT",
1999
+ "label": "facprt",
1820
2000
  "subctx": "io",
1821
2001
  "type": "ROM routine"
1822
2002
  },
@@ -1831,6 +2011,7 @@
1831
2011
  "0xee64": {
1832
2012
  "ctx": "Applesoft",
1833
2013
  "desc": "FP constant, 1/2",
2014
+ "label": "FHALF",
1834
2015
  "subctx": "FP",
1835
2016
  "type": "float"
1836
2017
  },
@@ -1858,6 +2039,7 @@
1858
2039
  "0xeedb": {
1859
2040
  "ctx": "Applesoft",
1860
2041
  "desc": "FP constant, log_2(e)",
2042
+ "label": "LOGEB2",
1861
2043
  "subctx": "FP",
1862
2044
  "type": "float"
1863
2045
  },
@@ -1900,18 +2082,21 @@
1900
2082
  "0xf066": {
1901
2083
  "ctx": "Applesoft",
1902
2084
  "desc": "FP constant, pi/2",
2085
+ "label": "PI2",
1903
2086
  "subctx": "FP",
1904
2087
  "type": "float"
1905
2088
  },
1906
2089
  "0xf06b": {
1907
2090
  "ctx": "Applesoft",
1908
2091
  "desc": "FP constant, 2*pi",
2092
+ "label": "TWOPI",
1909
2093
  "subctx": "FP",
1910
2094
  "type": "float"
1911
2095
  },
1912
2096
  "0xf070": {
1913
2097
  "ctx": "Applesoft",
1914
2098
  "desc": "FP constant, 1/4",
2099
+ "label": "FR4",
1915
2100
  "subctx": "FP",
1916
2101
  "type": "float"
1917
2102
  },
@@ -1933,7 +2118,7 @@
1933
2118
  "brief": "Execute ONERR handler.",
1934
2119
  "ctx": "Applesoft",
1935
2120
  "desc": "With the error code in X, execute the program's error handler.",
1936
- "label": "ERRHNDLR",
2121
+ "label": "ERRHND",
1937
2122
  "type": "ROM routine"
1938
2123
  },
1939
2124
  "0xf318": {
@@ -1947,6 +2132,7 @@
1947
2132
  "brief": "Stack repair.",
1948
2133
  "ctx": "Applesoft",
1949
2134
  "desc": "Restore stack to its state prior to executing a statement that caused an error.",
2135
+ "label": "reprstk",
1950
2136
  "type": "ROM routine"
1951
2137
  },
1952
2138
  "0xf3d8": {
@@ -1963,12 +2149,6 @@
1963
2149
  "subctx": "hi-res",
1964
2150
  "type": "ROM routine"
1965
2151
  },
1966
- "0xf3e4": {
1967
- "ctx": "Applesoft",
1968
- "desc": "reveal high-res page 1.",
1969
- "subctx": "hi-res",
1970
- "type": "ROM routine"
1971
- },
1972
2152
  "0xf3f2": {
1973
2153
  "brief": "clear high-res to black",
1974
2154
  "ctx": "Applesoft",
@@ -1978,17 +2158,17 @@
1978
2158
  "type": "ROM routine"
1979
2159
  },
1980
2160
  "0xf3f4": {
1981
- "brief": "clear high-res to last color",
2161
+ "brief": "clear high-res to pattern",
1982
2162
  "ctx": "Applesoft",
1983
- "desc": "Clear current high resolution screen to most recent `HPLOT` color.",
1984
- "label": "BKGND",
2163
+ "desc": "Clear current high resolution screen to pixel pattern in A.",
2164
+ "label": "hpattern",
1985
2165
  "subctx": "hi-res",
1986
2166
  "type": "ROM routine"
1987
2167
  },
1988
2168
  "0xf411": {
1989
2169
  "brief": "position hi-res cursor",
1990
2170
  "ctx": "Applesoft",
1991
- "desc": "position cursor at LE X,Y horizontal, A vertical, on page indicated by $E6",
2171
+ "desc": "position cursor at (h,v) = (Y*256+X,A), on page indicated by $E6",
1992
2172
  "label": "HPOSN",
1993
2173
  "subctx": "hi-res",
1994
2174
  "type": "ROM routine"
@@ -2010,7 +2190,7 @@
2010
2190
  "0xf457": {
2011
2191
  "brief": "plot hi-res point",
2012
2192
  "ctx": "Applesoft",
2013
- "desc": "plot point at LE X,Y horizontal, A vertical. ",
2193
+ "desc": "plot point at (h,v) = (Y*256+X,A). ",
2014
2194
  "label": "HPLOT",
2015
2195
  "subctx": "hi-res",
2016
2196
  "type": "ROM routine"
@@ -2085,8 +2265,8 @@
2085
2265
  "0xf53a": {
2086
2266
  "brief": "draw line to point",
2087
2267
  "ctx": "Applesoft",
2088
- "desc": "draw line from last point to current point at LE A,X horizontal, Y vertical. ",
2089
- "label": "HLIN",
2268
+ "desc": "draw line from last point to current point at (h,v) = (X*256+A,Y). ",
2269
+ "label": "HGLIN",
2090
2270
  "subctx": "hi-res",
2091
2271
  "type": "ROM routine"
2092
2272
  },
@@ -2100,7 +2280,7 @@
2100
2280
  "0xf601": {
2101
2281
  "brief": "draw shape",
2102
2282
  "ctx": "Applesoft",
2103
- "desc": "draw shape pointed to by LE X,Y with rotation A",
2283
+ "desc": "draw shape at address Y*256+X with rotation A",
2104
2284
  "label": "DRAW",
2105
2285
  "subctx": "hi-res",
2106
2286
  "type": "ROM routine"
@@ -2108,21 +2288,22 @@
2108
2288
  "0xf65d": {
2109
2289
  "brief": "EOR the shape",
2110
2290
  "ctx": "Applesoft",
2111
- "desc": "EOR shape pointed to by LE X,Y with rotation A",
2291
+ "desc": "EOR shape at address Y*256+X with rotation A",
2112
2292
  "label": "XDRAW",
2113
2293
  "subctx": "hi-res",
2114
2294
  "type": "ROM routine"
2115
2295
  },
2116
2296
  "0xf68d": {
2117
- "brief": "convert -float to integer",
2297
+ "brief": "convert float to integer",
2118
2298
  "ctx": "Integer BASIC",
2119
2299
  "desc": "Integer BASIC convert negative 32 bit float to 16 bit integer.",
2120
2300
  "label": "FIX1",
2121
2301
  "type": "ROM routine"
2122
2302
  },
2123
2303
  "0xf6b9": {
2304
+ "brief": "parse hi-res coords",
2124
2305
  "ctx": "Applesoft",
2125
- "desc": "get hi-res plot coords",
2306
+ "desc": "get hi-res plot coords from TXTPTR into Y*256+X,A",
2126
2307
  "label": "HFNS",
2127
2308
  "subctx": "parsing",
2128
2309
  "type": "ROM routine"
@@ -2152,44 +2333,44 @@
2152
2333
  "type": "ROM routine"
2153
2334
  },
2154
2335
  "0xf800": {
2155
- "brief": "plot lores pixel",
2156
- "desc": "Plot a pixel on low resolution graphics screen.",
2336
+ "brief": "plot lo-res pixel",
2337
+ "desc": "Plot a pixel on low resolution graphics screen at (h,v)=(Y,A).",
2157
2338
  "label": "PLOT",
2158
2339
  "type": "ROM routine"
2159
2340
  },
2160
2341
  "0xf819": {
2161
- "brief": "lores horizontal line",
2162
- "desc": "Plot a horizontal line on low resolution graphics screen.",
2342
+ "brief": "lo-res horizontal line",
2343
+ "desc": "Plot a horizontal line on low resolution graphics screen from Y to H2 at A.",
2163
2344
  "label": "HLINE",
2164
2345
  "type": "ROM routine"
2165
2346
  },
2166
2347
  "0xf828": {
2167
- "brief": "lores vertical line",
2168
- "desc": "Plot a vertical line on low resolution graphics screen.",
2348
+ "brief": "lo-res vertical line",
2349
+ "desc": "Plot a vertical line on low resolution graphics screen from A to V2 at Y.",
2169
2350
  "label": "VLINE",
2170
2351
  "type": "ROM routine"
2171
2352
  },
2172
2353
  "0xf832": {
2173
- "brief": "clear full screen of low-res",
2354
+ "brief": "clear full screen of lo-res",
2174
2355
  "desc": "Clear full screen of low resolution graphics.",
2175
2356
  "label": "CLRSCR",
2176
2357
  "type": "ROM routine"
2177
2358
  },
2178
2359
  "0xf836": {
2179
- "brief": "clear upper 40 lines of low-res",
2360
+ "brief": "clear upper 40 lines of lo-res",
2180
2361
  "desc": "Clear upper 40 lines of low resolution graphics.",
2181
2362
  "label": "CLRTOP",
2182
2363
  "type": "ROM routine"
2183
2364
  },
2184
2365
  "0xf864": {
2185
- "brief": "set lores color",
2366
+ "brief": "set lo-res color",
2186
2367
  "desc": "Set color in A on low resolution graphics screen.",
2187
2368
  "label": "SETCOL",
2188
2369
  "type": "ROM routine"
2189
2370
  },
2190
2371
  "0xf871": {
2191
- "brief": "get lores pixel color",
2192
- "desc": "Get the color of the lores pixel at x=Y and y=A, put in A.",
2372
+ "brief": "get lo-res pixel color",
2373
+ "desc": "Get the color of the lores pixel at (h,v)=(Y,A), put in A.",
2193
2374
  "label": "SCRN",
2194
2375
  "type": "ROM routine"
2195
2376
  },
@@ -2211,14 +2392,17 @@
2211
2392
  },
2212
2393
  "0xfa62": {
2213
2394
  "desc": "Pseudo reset.",
2395
+ "label": "RESET",
2214
2396
  "type": "ROM routine"
2215
2397
  },
2216
2398
  "0xfaa6": {
2217
2399
  "desc": "Boot.",
2400
+ "label": "PWRUP",
2218
2401
  "type": "ROM routine"
2219
2402
  },
2220
2403
  "0xfad7": {
2221
2404
  "desc": "Display all registers.",
2405
+ "label": "REGDSP",
2222
2406
  "type": "ROM routine"
2223
2407
  },
2224
2408
  "0xfb1e": {
@@ -2238,6 +2422,7 @@
2238
2422
  },
2239
2423
  "0xfb60": {
2240
2424
  "desc": "Clear screen and display machine type.",
2425
+ "label": "APPLEII",
2241
2426
  "type": "ROM routine"
2242
2427
  },
2243
2428
  "0xfbb3": {
@@ -2253,14 +2438,17 @@
2253
2438
  },
2254
2439
  "0xfbf4": {
2255
2440
  "desc": "Move cursor right.",
2441
+ "label": "ADVANCE",
2256
2442
  "type": "ROM routine"
2257
2443
  },
2258
2444
  "0xfc10": {
2259
2445
  "desc": "Move cursor left.",
2446
+ "label": "BACKSPC",
2260
2447
  "type": "ROM routine"
2261
2448
  },
2262
2449
  "0xfc1a": {
2263
2450
  "desc": "Move cursor up.",
2451
+ "label": "CURSORUP",
2264
2452
  "type": "ROM routine"
2265
2453
  },
2266
2454
  "0xfc22": {
@@ -2272,6 +2460,7 @@
2272
2460
  "0xfc42": {
2273
2461
  "brief": "clear below cursor",
2274
2462
  "desc": "Clear text between cursor and bottom margin.",
2463
+ "label": "CLREOP",
2275
2464
  "type": "ROM routine"
2276
2465
  },
2277
2466
  "0xfc58": {
@@ -2282,15 +2471,18 @@
2282
2471
  },
2283
2472
  "0xfc66": {
2284
2473
  "desc": "Issue a line feed.",
2474
+ "label": "LINEFEED",
2285
2475
  "type": "ROM routine"
2286
2476
  },
2287
2477
  "0xfc70": {
2288
2478
  "desc": "Scroll text up one line.",
2479
+ "label": "SCROLL",
2289
2480
  "type": "ROM routine"
2290
2481
  },
2291
2482
  "0xfc9c": {
2292
2483
  "brief": "clear right of cursor",
2293
2484
  "desc": "Clear text between cursor and right margin",
2485
+ "label": "CLREOL",
2294
2486
  "type": "ROM routine"
2295
2487
  },
2296
2488
  "0xfca8": {
@@ -2305,7 +2497,8 @@
2305
2497
  "type": "ROM routine"
2306
2498
  },
2307
2499
  "0xfd0c": {
2308
- "desc": "Wait for any keypress.",
2500
+ "brief": "Get input character into A.",
2501
+ "desc": "Invoke input routine whose address is in (56). Usually sets A to keypress value.",
2309
2502
  "label": "RDKEY",
2310
2503
  "type": "ROM routine"
2311
2504
  },
@@ -2317,16 +2510,19 @@
2317
2510
  },
2318
2511
  "0xfd5a": {
2319
2512
  "desc": "Wait for `Return` keypress.",
2513
+ "label": "NOTCR3",
2320
2514
  "type": "ROM routine"
2321
2515
  },
2322
2516
  "0xfd6a": {
2323
- "desc": "Input a record.",
2517
+ "brief": "Get a line with prompt.",
2518
+ "desc": "Display prompt and get text terminated by CR while handling escape sequences. Result in page 2.",
2324
2519
  "label": "GETLN",
2325
2520
  "type": "ROM routine"
2326
2521
  },
2327
2522
  "0xfd6f": {
2328
- "brief": "Input without parsing `,` or `:`",
2329
- "desc": "Similar to `INPUT` but without parsing commas or colons, data left in page 2 buffer.",
2523
+ "brief": "Get a line without prompt.",
2524
+ "desc": "Get text terminated by CR while handling escape sequences. Result in page 2.",
2525
+ "label": "GETLN1",
2330
2526
  "type": "ROM routine"
2331
2527
  },
2332
2528
  "0xfdda": {
@@ -2336,7 +2532,7 @@
2336
2532
  },
2337
2533
  "0xfded": {
2338
2534
  "brief": "Print character in A",
2339
- "desc": "Invoke output routine whose address is in (56). Usually prints character in A.",
2535
+ "desc": "Invoke output routine whose address is in (54). Usually prints character in A.",
2340
2536
  "label": "COUT",
2341
2537
  "type": "ROM routine"
2342
2538
  },
@@ -2348,12 +2544,14 @@
2348
2544
  },
2349
2545
  "0xfe2c": {
2350
2546
  "brief": "memory move",
2351
- "desc": "Memory move source (60)-(62) to destination (66).",
2547
+ "desc": "Memory move source (60)..=(62) to destination (66).",
2352
2548
  "label": "MOVE",
2353
2549
  "type": "ROM routine"
2354
2550
  },
2355
2551
  "0xfe61": {
2356
- "desc": "Disassembler.",
2552
+ "brief": "Disassembler.",
2553
+ "desc": "Disassemble 20 lines.",
2554
+ "label": "DISASM",
2357
2555
  "type": "ROM routine"
2358
2556
  },
2359
2557
  "0xfe89": {
@@ -2370,18 +2568,19 @@
2370
2568
  },
2371
2569
  "0xfecd": {
2372
2570
  "brief": "Write to tape.",
2373
- "desc": "Write block (60)-(62) to tape, including header.",
2571
+ "desc": "Write block (60)..=(62) to tape, including header.",
2374
2572
  "label": "WRITE",
2375
2573
  "type": "ROM routine"
2376
2574
  },
2377
2575
  "0xfefd": {
2378
2576
  "brief": "Read from tape.",
2379
- "desc": "Read block (60)-(62) from tape.",
2577
+ "desc": "Read block (60)..=(62) from tape.",
2380
2578
  "label": "READ",
2381
2579
  "type": "ROM routine"
2382
2580
  },
2383
2581
  "0xff2d": {
2384
2582
  "desc": "Ring bell and print `ERR`.",
2583
+ "label": "BELERR",
2385
2584
  "type": "ROM routine"
2386
2585
  },
2387
2586
  "0xff3a": {
@@ -2402,6 +2601,7 @@
2402
2601
  "0xff70": {
2403
2602
  "brief": "Scan input buffer.",
2404
2603
  "desc": "Monitor routine to process contents of input buffer, cf. Lam's method.",
2604
+ "label": "SCANIDX",
2405
2605
  "type": "ROM routine"
2406
2606
  }
2407
2607
  }