Download Print this page

Atari CX70 Operator's Manual page 63

Light pen

Advertisement

ATARI Light Pen Operator's Manual
TIME =
STORAGE TABLE FOR SORT
0
0
1
3
22
55
79
Z2
Value to sort = 10
1
0
1
3
22
55
79
Move 79—its bigger
2
0
1
3
22
C]
55
79
Move 55—its bigger
3
0
1
3
Z1
22
55
79
New value is greater than
VAL (3), so. . . .
4
0
1
3 C103 22
55
79
Found its slot; put it in
VAL():
1
2
3
4
5
6
7
Figure F.
1
TYPICAL INSERT-SORT
Description of PENBUF Operation - 59

Advertisement

loading