Home » Personal collection » Acorn ADFS disks » Archimedes » IJJOBS21.ADF » Server1/OldMand/temp5

Server1/OldMand/temp5

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Archimedes » IJJOBS21.ADF
Filename: Server1/OldMand/temp5
Read OK:
File size: 11BE bytes
Load address: FFFFFB46
Exec address: ED3D843F
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
   10REM temp5
   20ON ERROR REPORT:PRINT" @";ERL,~!temp:END
   30PROCassemble
   40CALL setup
   50MODE 15
   60CALL plotter
   70REPEAT UNTIL FALSE
   80:
   90DEFPROCassemble
  100DIM space 1024
  110:
  120FOR p=0 TO 2 STEP 2
  130P%=space
  140[OPT p
  150\ MANDELBROT SET CALCULATION
  160\ R1=x |R2=y
  170:
  180\ F0=xpos
  190\ F1=ypos
  200\ F2=u
  210\ F3=v
  220:
  230.mandpix         STMFD R13!,{R14}
  240                 MOV R11,#0
  250                 ADR R0,xmin                    \ Get X co-ordinate
  260EQUD &ECF00100 \ LDFE F0,[R0]
  270                 ADR R0,xstep
  280EQUD &ECF01100 \ LDFE F1,[R0]
  290EQUD &EE0711D7 \ FLTE F7,R1
  300EQUD &EE192107 \ MLFE F2,F1,F7
  310EQUD &EE080102 \ ADFE F0,F0,F2
  320:
  330                 ADR R0,ymin                    \ Get Y co-ordinate
  340EQUD &ECF01100 \ LDFE F1,[R0]
  350                 ADR R0,ystep
  360EQUD &ECF02100 \ LDFE F2,[R0]
  370EQUD &EE0721D7 \ FLTE F7,R2
  380EQUD &EE1A3107 \ MLFE F3,F2,F7
  390EQUD &EE091103 \ ADFE F1,F1,F3
  400:
  410EQUD &EE08A100 \ MVFE F2,F0
  420EQUD &EE08B101\  MVFE F3,F1
  430.pixloop
  440EQUD &EE1A4102 \ MLFE F4,F2,F2        \ Finished?
  450EQUD &EE1B5103 \ MLFE F5,F3,F3
  460EQUD &EE0C6105 \ ADFE F6,F4,F5
  470EQUD &EED6F11C \ CMFE F6,#4           \ u^2+v^2>4 ?
  480                 BCS found
  490                 ADD R11,R11,#1
  500                 ADR R3,maxit
  510                 LDR R10,[R3]
  520                 CMP R11,R10
  530                 BEQ found
  540EQUD &EE2C6105 \ SBFE F6,F4,F5                \ u=u^2-v^2+x
  550EQUD &EE0E6100 \ ADFE F6,F6,F0
  560EQUD &EE1A4103 \ MLFE F4,F2,F3                \ v=2uv+y
  570EQUD &EE0C4104 \ ADFE F4,F4,F4
  580EQUD &EE0C4101 \ ADFE F4,F4,F1
  590EQUD &EE08A106 \ MVFE F2,F6
  600EQUD &EE08B104 \ MVFE F3,F4
  610                 B pixloop
  620:
  630.found
  640MOV R0,R11
  650LDMFD R13!,{PC}
  660:
  670.setup
  680EQUD &EE088108 \ MVFE F0,#0
  690EQUD &EE28010A \ SBFE F0,F0,#2
  700                 ADR R0,xmin
  710EQUD &ECE00100 \ STFE F0,[R0]
  720                 ADR R0,ymin
  730EQUD &ECE00100 \ STFE F0,[R0]
  740EQUD &EE08910A \ MVFE F0,#2
  750EQUD &EE49010C \ DVFE F0,F0,#4
  760EQUD &EE48110C \ DVFE F0,F0,#4
  770EQUD &EE49010C \ DVFE F0,F0,#4
  780EQUD &EE48110C \ DVFE F0,F0,#4
  790EQUD &EE49010A \ DVFE F0,F0,#2
  800                 ADR R0,ystep
  810EQUD &ECE00100 \ STFE F0,[R0]
  820                 ADR R0,xstep
  830EQUD &ECE00100 \ STFE F0,[R0]
  840                 MOV PC,R14
  850:
  860.plotter         STMFD R13!,{R14}
  870                 MOV R0,#0
  880                 MOV R1,#0
  890.pltloop         ADR R2,xstr
  900                 STR R0,[R2]
  910                 ADR R2,ystr
  920                 STR R1,[R2]
  930                 BL mandpix
  940                 BL point
  950                 ADR R2,xstr
  960                 LDR R0,[R2]
  970                 ADR R2,ystr
  980                 LDR R1,[R2]
  990                 ADD R0,R0,#2
 1000                 CMP R0,#1024
 1010                 BNE pltloop
 1020                 ADD R1,R1,#4
 1030                 CMP R1,#1024
 1040                 BNE pltloop
 1050                 LDMFD R13!,{PC}
 1060:
 1070.point           ADD R10,R0,#127
 1080                 MOV R11,#&280
 1090                 ADR R2,xstr
 1100                 LDR R0,[R2]
 1110                 MOV R0,R0,LSR #1
 1120                 ADR R2,ystr
 1130                 LDR R1,[R2]
 1140                 MOV R1,R1,LSR #2
 1150                 SUB R0,R11,R0
 1160                 MOV R11,R0
 1170                 ADD R11,R11,#4
 1180                 MOV R12,#&280
 1190                 MUL R2,R1,R12
 1200                 ADD R11,R11,R2
 1210                 MOV R2,R11,LSR #2
 1220                 MOV R2,R2,ASL #2
 1230                 MOV R3,#&2000000
 1240                 SUB R2,R3,R2
 1250                 LDR R3,[R2]
 1260                 AND R6,R11,#3
 1270                 ADR R4,tabit
 1280                 LDR R4,[R4,R6]
 1290                 AND R3,R3,R4
 1300                 ADR R4,tabmul
 1310                 LDR R4,[R4,R6]
 1320                 MUL R5,R10,R4
 1330                 ADR R9,temp   \
 1340                 STR R2,[R9]   \
 1350                 STR R5,[R2]
 1360                 MOV PC,R14
 1370:
 1380.xmin EQUD 0:EQUD0:EQUD0
 1390.ymin EQUD 0:EQUD0:EQUD0
 1400.xstep EQUD 0:EQUD0:EQUD0
 1410.ystep EQUD 0:EQUD0:EQUD0
 1420.maxit EQUD 25:EQUD0:EQUD0
 1430.xstr EQUD 0
 1440.ystr EQUD 0
 1450.temp EQUD 0
 1460.tabit  EQUD %00000000111111111111111111111111
 1470        EQUD %11111111000000001111111111111111
 1480        EQUD %11111111111111110000000011111111
 1490        EQUD %11111111111111111111111100000000
 1500.tabmul EQUD %1000000000000000000000000
 1510        EQUD %10000000000000000
 1520        EQUD %100000000
 1530        EQUD 1
 1540.stack
 1550]
 1560NEXT
 1570REM OSCLI ("MEMORYI "+STR$~space+" + 100"):END
 1580ENDPROC

� temp5
� � �:�" @";�,~!temp:�

�assemble
(� setup
2� 15
<
� plotter
F	� � �
P:
Z��assemble
d� space 1024
n:
x� p=0 � 2 � 2
�P%=space
�
[OPT p
� \ MANDELBROT SET CALCULATION
�\ R1=x |R2=y
�:
�
\ F0=xpos
�
\ F1=ypos
�
\ F2=u
�
\ F3=v
�:
�%.mandpix         STMFD R13!,{R14}
�                 MOV R11,#0
�G                 ADR R0,xmin                    \ Get X co-ordinate
!EQUD &ECF00100 \ LDFE F0,[R0]
!                 ADR R0,xstep
!EQUD &ECF01100 \ LDFE F1,[R0]
"EQUD &EE0711D7 \ FLTE F7,R1
,"EQUD &EE192107 \ MLFE F2,F1,F7
6"EQUD &EE080102 \ ADFE F0,F0,F2
@:
JG                 ADR R0,ymin                    \ Get Y co-ordinate
T!EQUD &ECF01100 \ LDFE F1,[R0]
^!                 ADR R0,ystep
h!EQUD &ECF02100 \ LDFE F2,[R0]
rEQUD &EE0721D7 \ FLTE F7,R2
|"EQUD &EE1A3107 \ MLFE F3,F2,F7
�"EQUD &EE091103 \ ADFE F1,F1,F3
�:
�EQUD &EE08A100 \ MVFE F2,F0
�EQUD &EE08B101\  MVFE F3,F1
�.pixloop
�5EQUD &EE1A4102 \ MLFE F4,F2,F2        \ Finished?
�"EQUD &EE1B5103 \ MLFE F5,F3,F3
�"EQUD &EE0C6105 \ ADFE F6,F4,F5
�7EQUD &EED6F11C \ CMFE F6,#4           \ u^2+v^2>4 ?
�                 BCS found
�#                 ADD R11,R11,#1
�!                 ADR R3,maxit
�!                 LDR R10,[R3]
                  CMP R11,R10
                 BEQ found
?EQUD &EE2C6105 \ SBFE F6,F4,F5                \ u=u^2-v^2+x
&"EQUD &EE0E6100 \ ADFE F6,F6,F0
0;EQUD &EE1A4103 \ MLFE F4,F2,F3                \ v=2uv+y
:"EQUD &EE0C4104 \ ADFE F4,F4,F4
D"EQUD &EE0C4101 \ ADFE F4,F4,F1
NEQUD &EE08A106 \ MVFE F2,F6
XEQUD &EE08B104 \ MVFE F3,F4
b                 B pixloop
l:
v
.found
�MOV R0,R11
�LDMFD R13!,{PC}
�:
�
.setup
�EQUD &EE088108 \ MVFE F0,#0
�"EQUD &EE28010A \ SBFE F0,F0,#2
�                  ADR R0,xmin
�!EQUD &ECE00100 \ STFE F0,[R0]
�                  ADR R0,ymin
�!EQUD &ECE00100 \ STFE F0,[R0]
�EQUD &EE08910A \ MVFE F0,#2
�"EQUD &EE49010C \ DVFE F0,F0,#4
�"EQUD &EE48110C \ DVFE F0,F0,#4
"EQUD &EE49010C \ DVFE F0,F0,#4
"EQUD &EE48110C \ DVFE F0,F0,#4
"EQUD &EE49010A \ DVFE F0,F0,#2
 !                 ADR R0,ystep
*!EQUD &ECE00100 \ STFE F0,[R0]
4!                 ADR R0,xstep
>!EQUD &ECE00100 \ STFE F0,[R0]
H                 MOV PC,R14
R:
\%.plotter         STMFD R13!,{R14}
f                 MOV R0,#0
p                 MOV R1,#0
z .pltloop         ADR R2,xstr
�                  STR R0,[R2]
�                  ADR R2,ystr
�                  STR R1,[R2]
�                 BL mandpix
�                 BL point
�                  ADR R2,xstr
�                  LDR R0,[R2]
�                  ADR R2,ystr
�                  LDR R1,[R2]
�!                 ADD R0,R0,#2
�!                 CMP R0,#1024
�                  BNE pltloop
�!                 ADD R1,R1,#4
!                 CMP R1,#1024
                  BNE pltloop
$                 LDMFD R13!,{PC}
$:
.$.point           ADD R10,R0,#127
8"                 MOV R11,#&280
B                  ADR R2,xstr
L                  LDR R0,[R2]
V%                 MOV R0,R0,LSR #1
`                  ADR R2,ystr
j                  LDR R1,[R2]
t%                 MOV R1,R1,LSR #2
~"                 SUB R0,R11,R0
�                 MOV R11,R0
�#                 ADD R11,R11,#4
�"                 MOV R12,#&280
�"                 MUL R2,R1,R12
�#                 ADD R11,R11,R2
�&                 MOV R2,R11,LSR #2
�%                 MOV R2,R2,ASL #2
�%                 MOV R3,#&2000000
�!                 SUB R2,R3,R2
�                  LDR R3,[R2]
�                  � R6,R11,#3
�!                 ADR R4,tabit
#                 LDR R4,[R4,R6]

                 � R3,R3,R4
"                 ADR R4,tabmul
#                 LDR R4,[R4,R6]
("                 MUL R5,R10,R4
2$                 ADR R9,temp   \
<$                 STR R2,[R9]   \
F                  STR R5,[R2]
P                 MOV PC,R14
Z:
d.xmin EQUD 0:EQUD0:EQUD0
n.ymin EQUD 0:EQUD0:EQUD0
x.xstep EQUD 0:EQUD0:EQUD0
�.ystep EQUD 0:EQUD0:EQUD0
�.maxit EQUD 25:EQUD0:EQUD0
�.xstr EQUD 0
�.ystr EQUD 0
�.temp EQUD 0
�2.tabit  EQUD %00000000111111111111111111111111
�2        EQUD %11111111000000001111111111111111
�2        EQUD %11111111111111110000000011111111
�2        EQUD %11111111111111111111111100000000
�+.tabmul EQUD %1000000000000000000000000
�#        EQUD %10000000000000000
�        EQUD %100000000
�        EQUD 1

.stack
]
�
"0� OSCLI ("MEMORYI "+STR$~space+" + 100"):END
,�
�
00000000  0d 00 0a 0b f4 20 74 65  6d 70 35 0d 00 14 1a ee  |..... temp5.....|
00000010  20 85 20 f6 3a f1 22 20  40 22 3b 9e 2c 7e 21 74  | . .:." @";.,~!t|
00000020  65 6d 70 3a e0 0d 00 1e  0d f2 61 73 73 65 6d 62  |emp:......assemb|
00000030  6c 65 0d 00 28 0b d6 20  73 65 74 75 70 0d 00 32  |le..(.. setup..2|
00000040  08 eb 20 31 35 0d 00 3c  0d d6 20 70 6c 6f 74 74  |.. 15..<.. plott|
00000050  65 72 0d 00 46 09 f5 20  fd 20 a3 0d 00 50 05 3a  |er..F.. . ...P.:|
00000060  0d 00 5a 0e dd f2 61 73  73 65 6d 62 6c 65 0d 00  |..Z...assemble..|
00000070  64 10 de 20 73 70 61 63  65 20 31 30 32 34 0d 00  |d.. space 1024..|
00000080  6e 05 3a 0d 00 78 11 e3  20 70 3d 30 20 b8 20 32  |n.:..x.. p=0 . 2|
00000090  20 88 20 32 0d 00 82 0c  50 25 3d 73 70 61 63 65  | . 2....P%=space|
000000a0  0d 00 8c 0a 5b 4f 50 54  20 70 0d 00 96 20 5c 20  |....[OPT p... \ |
000000b0  4d 41 4e 44 45 4c 42 52  4f 54 20 53 45 54 20 43  |MANDELBROT SET C|
000000c0  41 4c 43 55 4c 41 54 49  4f 4e 0d 00 a0 10 5c 20  |ALCULATION....\ |
000000d0  52 31 3d 78 20 7c 52 32  3d 79 0d 00 aa 05 3a 0d  |R1=x |R2=y....:.|
000000e0  00 b4 0d 5c 20 46 30 3d  78 70 6f 73 0d 00 be 0d  |...\ F0=xpos....|
000000f0  5c 20 46 31 3d 79 70 6f  73 0d 00 c8 0a 5c 20 46  |\ F1=ypos....\ F|
00000100  32 3d 75 0d 00 d2 0a 5c  20 46 33 3d 76 0d 00 dc  |2=u....\ F3=v...|
00000110  05 3a 0d 00 e6 25 2e 6d  61 6e 64 70 69 78 20 20  |.:...%.mandpix  |
00000120  20 20 20 20 20 20 20 53  54 4d 46 44 20 52 31 33  |       STMFD R13|
00000130  21 2c 7b 52 31 34 7d 0d  00 f0 1f 20 20 20 20 20  |!,{R14}....     |
00000140  20 20 20 20 20 20 20 20  20 20 20 20 4d 4f 56 20  |            MOV |
00000150  52 31 31 2c 23 30 0d 00  fa 47 20 20 20 20 20 20  |R11,#0...G      |
00000160  20 20 20 20 20 20 20 20  20 20 20 41 44 52 20 52  |           ADR R|
00000170  30 2c 78 6d 69 6e 20 20  20 20 20 20 20 20 20 20  |0,xmin          |
00000180  20 20 20 20 20 20 20 20  20 20 5c 20 47 65 74 20  |          \ Get |
00000190  58 20 63 6f 2d 6f 72 64  69 6e 61 74 65 0d 01 04  |X co-ordinate...|
000001a0  21 45 51 55 44 20 26 45  43 46 30 30 31 30 30 20  |!EQUD &ECF00100 |
000001b0  5c 20 4c 44 46 45 20 46  30 2c 5b 52 30 5d 0d 01  |\ LDFE F0,[R0]..|
000001c0  0e 21 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.!              |
000001d0  20 20 20 41 44 52 20 52  30 2c 78 73 74 65 70 0d  |   ADR R0,xstep.|
000001e0  01 18 21 45 51 55 44 20  26 45 43 46 30 31 31 30  |..!EQUD &ECF0110|
000001f0  30 20 5c 20 4c 44 46 45  20 46 31 2c 5b 52 30 5d  |0 \ LDFE F1,[R0]|
00000200  0d 01 22 1f 45 51 55 44  20 26 45 45 30 37 31 31  |..".EQUD &EE0711|
00000210  44 37 20 5c 20 46 4c 54  45 20 46 37 2c 52 31 0d  |D7 \ FLTE F7,R1.|
00000220  01 2c 22 45 51 55 44 20  26 45 45 31 39 32 31 30  |.,"EQUD &EE19210|
00000230  37 20 5c 20 4d 4c 46 45  20 46 32 2c 46 31 2c 46  |7 \ MLFE F2,F1,F|
00000240  37 0d 01 36 22 45 51 55  44 20 26 45 45 30 38 30  |7..6"EQUD &EE080|
00000250  31 30 32 20 5c 20 41 44  46 45 20 46 30 2c 46 30  |102 \ ADFE F0,F0|
00000260  2c 46 32 0d 01 40 05 3a  0d 01 4a 47 20 20 20 20  |,F2..@.:..JG    |
00000270  20 20 20 20 20 20 20 20  20 20 20 20 20 41 44 52  |             ADR|
00000280  20 52 30 2c 79 6d 69 6e  20 20 20 20 20 20 20 20  | R0,ymin        |
00000290  20 20 20 20 20 20 20 20  20 20 20 20 5c 20 47 65  |            \ Ge|
000002a0  74 20 59 20 63 6f 2d 6f  72 64 69 6e 61 74 65 0d  |t Y co-ordinate.|
000002b0  01 54 21 45 51 55 44 20  26 45 43 46 30 31 31 30  |.T!EQUD &ECF0110|
000002c0  30 20 5c 20 4c 44 46 45  20 46 31 2c 5b 52 30 5d  |0 \ LDFE F1,[R0]|
000002d0  0d 01 5e 21 20 20 20 20  20 20 20 20 20 20 20 20  |..^!            |
000002e0  20 20 20 20 20 41 44 52  20 52 30 2c 79 73 74 65  |     ADR R0,yste|
000002f0  70 0d 01 68 21 45 51 55  44 20 26 45 43 46 30 32  |p..h!EQUD &ECF02|
00000300  31 30 30 20 5c 20 4c 44  46 45 20 46 32 2c 5b 52  |100 \ LDFE F2,[R|
00000310  30 5d 0d 01 72 1f 45 51  55 44 20 26 45 45 30 37  |0]..r.EQUD &EE07|
00000320  32 31 44 37 20 5c 20 46  4c 54 45 20 46 37 2c 52  |21D7 \ FLTE F7,R|
00000330  32 0d 01 7c 22 45 51 55  44 20 26 45 45 31 41 33  |2..|"EQUD &EE1A3|
00000340  31 30 37 20 5c 20 4d 4c  46 45 20 46 33 2c 46 32  |107 \ MLFE F3,F2|
00000350  2c 46 37 0d 01 86 22 45  51 55 44 20 26 45 45 30  |,F7..."EQUD &EE0|
00000360  39 31 31 30 33 20 5c 20  41 44 46 45 20 46 31 2c  |91103 \ ADFE F1,|
00000370  46 31 2c 46 33 0d 01 90  05 3a 0d 01 9a 1f 45 51  |F1,F3....:....EQ|
00000380  55 44 20 26 45 45 30 38  41 31 30 30 20 5c 20 4d  |UD &EE08A100 \ M|
00000390  56 46 45 20 46 32 2c 46  30 0d 01 a4 1f 45 51 55  |VFE F2,F0....EQU|
000003a0  44 20 26 45 45 30 38 42  31 30 31 5c 20 20 4d 56  |D &EE08B101\  MV|
000003b0  46 45 20 46 33 2c 46 31  0d 01 ae 0c 2e 70 69 78  |FE F3,F1.....pix|
000003c0  6c 6f 6f 70 0d 01 b8 35  45 51 55 44 20 26 45 45  |loop...5EQUD &EE|
000003d0  31 41 34 31 30 32 20 5c  20 4d 4c 46 45 20 46 34  |1A4102 \ MLFE F4|
000003e0  2c 46 32 2c 46 32 20 20  20 20 20 20 20 20 5c 20  |,F2,F2        \ |
000003f0  46 69 6e 69 73 68 65 64  3f 0d 01 c2 22 45 51 55  |Finished?..."EQU|
00000400  44 20 26 45 45 31 42 35  31 30 33 20 5c 20 4d 4c  |D &EE1B5103 \ ML|
00000410  46 45 20 46 35 2c 46 33  2c 46 33 0d 01 cc 22 45  |FE F5,F3,F3..."E|
00000420  51 55 44 20 26 45 45 30  43 36 31 30 35 20 5c 20  |QUD &EE0C6105 \ |
00000430  41 44 46 45 20 46 36 2c  46 34 2c 46 35 0d 01 d6  |ADFE F6,F4,F5...|
00000440  37 45 51 55 44 20 26 45  45 44 36 46 31 31 43 20  |7EQUD &EED6F11C |
00000450  5c 20 43 4d 46 45 20 46  36 2c 23 34 20 20 20 20  |\ CMFE F6,#4    |
00000460  20 20 20 20 20 20 20 5c  20 75 5e 32 2b 76 5e 32  |       \ u^2+v^2|
00000470  3e 34 20 3f 0d 01 e0 1e  20 20 20 20 20 20 20 20  |>4 ?....        |
00000480  20 20 20 20 20 20 20 20  20 42 43 53 20 66 6f 75  |         BCS fou|
00000490  6e 64 0d 01 ea 23 20 20  20 20 20 20 20 20 20 20  |nd...#          |
000004a0  20 20 20 20 20 20 20 41  44 44 20 52 31 31 2c 52  |       ADD R11,R|
000004b0  31 31 2c 23 31 0d 01 f4  21 20 20 20 20 20 20 20  |11,#1...!       |
000004c0  20 20 20 20 20 20 20 20  20 20 41 44 52 20 52 33  |          ADR R3|
000004d0  2c 6d 61 78 69 74 0d 01  fe 21 20 20 20 20 20 20  |,maxit...!      |
000004e0  20 20 20 20 20 20 20 20  20 20 20 4c 44 52 20 52  |           LDR R|
000004f0  31 30 2c 5b 52 33 5d 0d  02 08 20 20 20 20 20 20  |10,[R3]...      |
00000500  20 20 20 20 20 20 20 20  20 20 20 20 43 4d 50 20  |            CMP |
00000510  52 31 31 2c 52 31 30 0d  02 12 1e 20 20 20 20 20  |R11,R10....     |
00000520  20 20 20 20 20 20 20 20  20 20 20 20 42 45 51 20  |            BEQ |
00000530  66 6f 75 6e 64 0d 02 1c  3f 45 51 55 44 20 26 45  |found...?EQUD &E|
00000540  45 32 43 36 31 30 35 20  5c 20 53 42 46 45 20 46  |E2C6105 \ SBFE F|
00000550  36 2c 46 34 2c 46 35 20  20 20 20 20 20 20 20 20  |6,F4,F5         |
00000560  20 20 20 20 20 20 20 5c  20 75 3d 75 5e 32 2d 76  |       \ u=u^2-v|
00000570  5e 32 2b 78 0d 02 26 22  45 51 55 44 20 26 45 45  |^2+x..&"EQUD &EE|
00000580  30 45 36 31 30 30 20 5c  20 41 44 46 45 20 46 36  |0E6100 \ ADFE F6|
00000590  2c 46 36 2c 46 30 0d 02  30 3b 45 51 55 44 20 26  |,F6,F0..0;EQUD &|
000005a0  45 45 31 41 34 31 30 33  20 5c 20 4d 4c 46 45 20  |EE1A4103 \ MLFE |
000005b0  46 34 2c 46 32 2c 46 33  20 20 20 20 20 20 20 20  |F4,F2,F3        |
000005c0  20 20 20 20 20 20 20 20  5c 20 76 3d 32 75 76 2b  |        \ v=2uv+|
000005d0  79 0d 02 3a 22 45 51 55  44 20 26 45 45 30 43 34  |y..:"EQUD &EE0C4|
000005e0  31 30 34 20 5c 20 41 44  46 45 20 46 34 2c 46 34  |104 \ ADFE F4,F4|
000005f0  2c 46 34 0d 02 44 22 45  51 55 44 20 26 45 45 30  |,F4..D"EQUD &EE0|
00000600  43 34 31 30 31 20 5c 20  41 44 46 45 20 46 34 2c  |C4101 \ ADFE F4,|
00000610  46 34 2c 46 31 0d 02 4e  1f 45 51 55 44 20 26 45  |F4,F1..N.EQUD &E|
00000620  45 30 38 41 31 30 36 20  5c 20 4d 56 46 45 20 46  |E08A106 \ MVFE F|
00000630  32 2c 46 36 0d 02 58 1f  45 51 55 44 20 26 45 45  |2,F6..X.EQUD &EE|
00000640  30 38 42 31 30 34 20 5c  20 4d 56 46 45 20 46 33  |08B104 \ MVFE F3|
00000650  2c 46 34 0d 02 62 1e 20  20 20 20 20 20 20 20 20  |,F4..b.         |
00000660  20 20 20 20 20 20 20 20  42 20 70 69 78 6c 6f 6f  |        B pixloo|
00000670  70 0d 02 6c 05 3a 0d 02  76 0a 2e 66 6f 75 6e 64  |p..l.:..v..found|
00000680  0d 02 80 0e 4d 4f 56 20  52 30 2c 52 31 31 0d 02  |....MOV R0,R11..|
00000690  8a 13 4c 44 4d 46 44 20  52 31 33 21 2c 7b 50 43  |..LDMFD R13!,{PC|
000006a0  7d 0d 02 94 05 3a 0d 02  9e 0a 2e 73 65 74 75 70  |}....:.....setup|
000006b0  0d 02 a8 1f 45 51 55 44  20 26 45 45 30 38 38 31  |....EQUD &EE0881|
000006c0  30 38 20 5c 20 4d 56 46  45 20 46 30 2c 23 30 0d  |08 \ MVFE F0,#0.|
000006d0  02 b2 22 45 51 55 44 20  26 45 45 32 38 30 31 30  |.."EQUD &EE28010|
000006e0  41 20 5c 20 53 42 46 45  20 46 30 2c 46 30 2c 23  |A \ SBFE F0,F0,#|
000006f0  32 0d 02 bc 20 20 20 20  20 20 20 20 20 20 20 20  |2...            |
00000700  20 20 20 20 20 20 41 44  52 20 52 30 2c 78 6d 69  |      ADR R0,xmi|
00000710  6e 0d 02 c6 21 45 51 55  44 20 26 45 43 45 30 30  |n...!EQUD &ECE00|
00000720  31 30 30 20 5c 20 53 54  46 45 20 46 30 2c 5b 52  |100 \ STFE F0,[R|
00000730  30 5d 0d 02 d0 20 20 20  20 20 20 20 20 20 20 20  |0]...           |
00000740  20 20 20 20 20 20 20 41  44 52 20 52 30 2c 79 6d  |       ADR R0,ym|
00000750  69 6e 0d 02 da 21 45 51  55 44 20 26 45 43 45 30  |in...!EQUD &ECE0|
00000760  30 31 30 30 20 5c 20 53  54 46 45 20 46 30 2c 5b  |0100 \ STFE F0,[|
00000770  52 30 5d 0d 02 e4 1f 45  51 55 44 20 26 45 45 30  |R0]....EQUD &EE0|
00000780  38 39 31 30 41 20 5c 20  4d 56 46 45 20 46 30 2c  |8910A \ MVFE F0,|
00000790  23 32 0d 02 ee 22 45 51  55 44 20 26 45 45 34 39  |#2..."EQUD &EE49|
000007a0  30 31 30 43 20 5c 20 44  56 46 45 20 46 30 2c 46  |010C \ DVFE F0,F|
000007b0  30 2c 23 34 0d 02 f8 22  45 51 55 44 20 26 45 45  |0,#4..."EQUD &EE|
000007c0  34 38 31 31 30 43 20 5c  20 44 56 46 45 20 46 30  |48110C \ DVFE F0|
000007d0  2c 46 30 2c 23 34 0d 03  02 22 45 51 55 44 20 26  |,F0,#4..."EQUD &|
000007e0  45 45 34 39 30 31 30 43  20 5c 20 44 56 46 45 20  |EE49010C \ DVFE |
000007f0  46 30 2c 46 30 2c 23 34  0d 03 0c 22 45 51 55 44  |F0,F0,#4..."EQUD|
00000800  20 26 45 45 34 38 31 31  30 43 20 5c 20 44 56 46  | &EE48110C \ DVF|
00000810  45 20 46 30 2c 46 30 2c  23 34 0d 03 16 22 45 51  |E F0,F0,#4..."EQ|
00000820  55 44 20 26 45 45 34 39  30 31 30 41 20 5c 20 44  |UD &EE49010A \ D|
00000830  56 46 45 20 46 30 2c 46  30 2c 23 32 0d 03 20 21  |VFE F0,F0,#2.. !|
00000840  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000850  20 41 44 52 20 52 30 2c  79 73 74 65 70 0d 03 2a  | ADR R0,ystep..*|
00000860  21 45 51 55 44 20 26 45  43 45 30 30 31 30 30 20  |!EQUD &ECE00100 |
00000870  5c 20 53 54 46 45 20 46  30 2c 5b 52 30 5d 0d 03  |\ STFE F0,[R0]..|
00000880  34 21 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |4!              |
00000890  20 20 20 41 44 52 20 52  30 2c 78 73 74 65 70 0d  |   ADR R0,xstep.|
000008a0  03 3e 21 45 51 55 44 20  26 45 43 45 30 30 31 30  |.>!EQUD &ECE0010|
000008b0  30 20 5c 20 53 54 46 45  20 46 30 2c 5b 52 30 5d  |0 \ STFE F0,[R0]|
000008c0  0d 03 48 1f 20 20 20 20  20 20 20 20 20 20 20 20  |..H.            |
000008d0  20 20 20 20 20 4d 4f 56  20 50 43 2c 52 31 34 0d  |     MOV PC,R14.|
000008e0  03 52 05 3a 0d 03 5c 25  2e 70 6c 6f 74 74 65 72  |.R.:..\%.plotter|
000008f0  20 20 20 20 20 20 20 20  20 53 54 4d 46 44 20 52  |         STMFD R|
00000900  31 33 21 2c 7b 52 31 34  7d 0d 03 66 1e 20 20 20  |13!,{R14}..f.   |
00000910  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4d 4f  |              MO|
00000920  56 20 52 30 2c 23 30 0d  03 70 1e 20 20 20 20 20  |V R0,#0..p.     |
00000930  20 20 20 20 20 20 20 20  20 20 20 20 4d 4f 56 20  |            MOV |
00000940  52 31 2c 23 30 0d 03 7a  20 2e 70 6c 74 6c 6f 6f  |R1,#0..z .pltloo|
00000950  70 20 20 20 20 20 20 20  20 20 41 44 52 20 52 32  |p         ADR R2|
00000960  2c 78 73 74 72 0d 03 84  20 20 20 20 20 20 20 20  |,xstr...        |
00000970  20 20 20 20 20 20 20 20  20 20 53 54 52 20 52 30  |          STR R0|
00000980  2c 5b 52 32 5d 0d 03 8e  20 20 20 20 20 20 20 20  |,[R2]...        |
00000990  20 20 20 20 20 20 20 20  20 20 41 44 52 20 52 32  |          ADR R2|
000009a0  2c 79 73 74 72 0d 03 98  20 20 20 20 20 20 20 20  |,ystr...        |
000009b0  20 20 20 20 20 20 20 20  20 20 53 54 52 20 52 31  |          STR R1|
000009c0  2c 5b 52 32 5d 0d 03 a2  1f 20 20 20 20 20 20 20  |,[R2]....       |
000009d0  20 20 20 20 20 20 20 20  20 20 42 4c 20 6d 61 6e  |          BL man|
000009e0  64 70 69 78 0d 03 ac 1d  20 20 20 20 20 20 20 20  |dpix....        |
000009f0  20 20 20 20 20 20 20 20  20 42 4c 20 70 6f 69 6e  |         BL poin|
00000a00  74 0d 03 b6 20 20 20 20  20 20 20 20 20 20 20 20  |t...            |
00000a10  20 20 20 20 20 20 41 44  52 20 52 32 2c 78 73 74  |      ADR R2,xst|
00000a20  72 0d 03 c0 20 20 20 20  20 20 20 20 20 20 20 20  |r...            |
00000a30  20 20 20 20 20 20 4c 44  52 20 52 30 2c 5b 52 32  |      LDR R0,[R2|
00000a40  5d 0d 03 ca 20 20 20 20  20 20 20 20 20 20 20 20  |]...            |
00000a50  20 20 20 20 20 20 41 44  52 20 52 32 2c 79 73 74  |      ADR R2,yst|
00000a60  72 0d 03 d4 20 20 20 20  20 20 20 20 20 20 20 20  |r...            |
00000a70  20 20 20 20 20 20 4c 44  52 20 52 31 2c 5b 52 32  |      LDR R1,[R2|
00000a80  5d 0d 03 de 21 20 20 20  20 20 20 20 20 20 20 20  |]...!           |
00000a90  20 20 20 20 20 20 41 44  44 20 52 30 2c 52 30 2c  |      ADD R0,R0,|
00000aa0  23 32 0d 03 e8 21 20 20  20 20 20 20 20 20 20 20  |#2...!          |
00000ab0  20 20 20 20 20 20 20 43  4d 50 20 52 30 2c 23 31  |       CMP R0,#1|
00000ac0  30 32 34 0d 03 f2 20 20  20 20 20 20 20 20 20 20  |024...          |
00000ad0  20 20 20 20 20 20 20 20  42 4e 45 20 70 6c 74 6c  |        BNE pltl|
00000ae0  6f 6f 70 0d 03 fc 21 20  20 20 20 20 20 20 20 20  |oop...!         |
00000af0  20 20 20 20 20 20 20 20  41 44 44 20 52 31 2c 52  |        ADD R1,R|
00000b00  31 2c 23 34 0d 04 06 21  20 20 20 20 20 20 20 20  |1,#4...!        |
00000b10  20 20 20 20 20 20 20 20  20 43 4d 50 20 52 31 2c  |         CMP R1,|
00000b20  23 31 30 32 34 0d 04 10  20 20 20 20 20 20 20 20  |#1024...        |
00000b30  20 20 20 20 20 20 20 20  20 20 42 4e 45 20 70 6c  |          BNE pl|
00000b40  74 6c 6f 6f 70 0d 04 1a  24 20 20 20 20 20 20 20  |tloop...$       |
00000b50  20 20 20 20 20 20 20 20  20 20 4c 44 4d 46 44 20  |          LDMFD |
00000b60  52 31 33 21 2c 7b 50 43  7d 0d 04 24 05 3a 0d 04  |R13!,{PC}..$.:..|
00000b70  2e 24 2e 70 6f 69 6e 74  20 20 20 20 20 20 20 20  |.$.point        |
00000b80  20 20 20 41 44 44 20 52  31 30 2c 52 30 2c 23 31  |   ADD R10,R0,#1|
00000b90  32 37 0d 04 38 22 20 20  20 20 20 20 20 20 20 20  |27..8"          |
00000ba0  20 20 20 20 20 20 20 4d  4f 56 20 52 31 31 2c 23  |       MOV R11,#|
00000bb0  26 32 38 30 0d 04 42 20  20 20 20 20 20 20 20 20  |&280..B         |
00000bc0  20 20 20 20 20 20 20 20  20 41 44 52 20 52 32 2c  |         ADR R2,|
00000bd0  78 73 74 72 0d 04 4c 20  20 20 20 20 20 20 20 20  |xstr..L         |
00000be0  20 20 20 20 20 20 20 20  20 4c 44 52 20 52 30 2c  |         LDR R0,|
00000bf0  5b 52 32 5d 0d 04 56 25  20 20 20 20 20 20 20 20  |[R2]..V%        |
00000c00  20 20 20 20 20 20 20 20  20 4d 4f 56 20 52 30 2c  |         MOV R0,|
00000c10  52 30 2c 4c 53 52 20 23  31 0d 04 60 20 20 20 20  |R0,LSR #1..`    |
00000c20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 41 44  |              AD|
00000c30  52 20 52 32 2c 79 73 74  72 0d 04 6a 20 20 20 20  |R R2,ystr..j    |
00000c40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4c 44  |              LD|
00000c50  52 20 52 31 2c 5b 52 32  5d 0d 04 74 25 20 20 20  |R R1,[R2]..t%   |
00000c60  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4d 4f  |              MO|
00000c70  56 20 52 31 2c 52 31 2c  4c 53 52 20 23 32 0d 04  |V R1,R1,LSR #2..|
00000c80  7e 22 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |~"              |
00000c90  20 20 20 53 55 42 20 52  30 2c 52 31 31 2c 52 30  |   SUB R0,R11,R0|
00000ca0  0d 04 88 1f 20 20 20 20  20 20 20 20 20 20 20 20  |....            |
00000cb0  20 20 20 20 20 4d 4f 56  20 52 31 31 2c 52 30 0d  |     MOV R11,R0.|
00000cc0  04 92 23 20 20 20 20 20  20 20 20 20 20 20 20 20  |..#             |
00000cd0  20 20 20 20 41 44 44 20  52 31 31 2c 52 31 31 2c  |    ADD R11,R11,|
00000ce0  23 34 0d 04 9c 22 20 20  20 20 20 20 20 20 20 20  |#4..."          |
00000cf0  20 20 20 20 20 20 20 4d  4f 56 20 52 31 32 2c 23  |       MOV R12,#|
00000d00  26 32 38 30 0d 04 a6 22  20 20 20 20 20 20 20 20  |&280..."        |
00000d10  20 20 20 20 20 20 20 20  20 4d 55 4c 20 52 32 2c  |         MUL R2,|
00000d20  52 31 2c 52 31 32 0d 04  b0 23 20 20 20 20 20 20  |R1,R12...#      |
00000d30  20 20 20 20 20 20 20 20  20 20 20 41 44 44 20 52  |           ADD R|
00000d40  31 31 2c 52 31 31 2c 52  32 0d 04 ba 26 20 20 20  |11,R11,R2...&   |
00000d50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4d 4f  |              MO|
00000d60  56 20 52 32 2c 52 31 31  2c 4c 53 52 20 23 32 0d  |V R2,R11,LSR #2.|
00000d70  04 c4 25 20 20 20 20 20  20 20 20 20 20 20 20 20  |..%             |
00000d80  20 20 20 20 4d 4f 56 20  52 32 2c 52 32 2c 41 53  |    MOV R2,R2,AS|
00000d90  4c 20 23 32 0d 04 ce 25  20 20 20 20 20 20 20 20  |L #2...%        |
00000da0  20 20 20 20 20 20 20 20  20 4d 4f 56 20 52 33 2c  |         MOV R3,|
00000db0  23 26 32 30 30 30 30 30  30 0d 04 d8 21 20 20 20  |#&2000000...!   |
00000dc0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 53 55  |              SU|
00000dd0  42 20 52 32 2c 52 33 2c  52 32 0d 04 e2 20 20 20  |B R2,R3,R2...   |
00000de0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 4c  |               L|
00000df0  44 52 20 52 33 2c 5b 52  32 5d 0d 04 ec 20 20 20  |DR R3,[R2]...   |
00000e00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 80  |               .|
00000e10  20 52 36 2c 52 31 31 2c  23 33 0d 04 f6 21 20 20  | R6,R11,#3...!  |
00000e20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 41  |               A|
00000e30  44 52 20 52 34 2c 74 61  62 69 74 0d 05 00 23 20  |DR R4,tabit...# |
00000e40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000e50  4c 44 52 20 52 34 2c 5b  52 34 2c 52 36 5d 0d 05  |LDR R4,[R4,R6]..|
00000e60  0a 1f 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00000e70  20 20 20 80 20 52 33 2c  52 33 2c 52 34 0d 05 14  |   . R3,R3,R4...|
00000e80  22 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |"               |
00000e90  20 20 41 44 52 20 52 34  2c 74 61 62 6d 75 6c 0d  |  ADR R4,tabmul.|
00000ea0  05 1e 23 20 20 20 20 20  20 20 20 20 20 20 20 20  |..#             |
00000eb0  20 20 20 20 4c 44 52 20  52 34 2c 5b 52 34 2c 52  |    LDR R4,[R4,R|
00000ec0  36 5d 0d 05 28 22 20 20  20 20 20 20 20 20 20 20  |6]..("          |
00000ed0  20 20 20 20 20 20 20 4d  55 4c 20 52 35 2c 52 31  |       MUL R5,R1|
00000ee0  30 2c 52 34 0d 05 32 24  20 20 20 20 20 20 20 20  |0,R4..2$        |
00000ef0  20 20 20 20 20 20 20 20  20 41 44 52 20 52 39 2c  |         ADR R9,|
00000f00  74 65 6d 70 20 20 20 5c  0d 05 3c 24 20 20 20 20  |temp   \..<$    |
00000f10  20 20 20 20 20 20 20 20  20 20 20 20 20 53 54 52  |             STR|
00000f20  20 52 32 2c 5b 52 39 5d  20 20 20 5c 0d 05 46 20  | R2,[R9]   \..F |
00000f30  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000f40  20 53 54 52 20 52 35 2c  5b 52 32 5d 0d 05 50 1f  | STR R5,[R2]..P.|
00000f50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000f60  20 4d 4f 56 20 50 43 2c  52 31 34 0d 05 5a 05 3a  | MOV PC,R14..Z.:|
00000f70  0d 05 64 1c 2e 78 6d 69  6e 20 45 51 55 44 20 30  |..d..xmin EQUD 0|
00000f80  3a 45 51 55 44 30 3a 45  51 55 44 30 0d 05 6e 1c  |:EQUD0:EQUD0..n.|
00000f90  2e 79 6d 69 6e 20 45 51  55 44 20 30 3a 45 51 55  |.ymin EQUD 0:EQU|
00000fa0  44 30 3a 45 51 55 44 30  0d 05 78 1d 2e 78 73 74  |D0:EQUD0..x..xst|
00000fb0  65 70 20 45 51 55 44 20  30 3a 45 51 55 44 30 3a  |ep EQUD 0:EQUD0:|
00000fc0  45 51 55 44 30 0d 05 82  1d 2e 79 73 74 65 70 20  |EQUD0.....ystep |
00000fd0  45 51 55 44 20 30 3a 45  51 55 44 30 3a 45 51 55  |EQUD 0:EQUD0:EQU|
00000fe0  44 30 0d 05 8c 1e 2e 6d  61 78 69 74 20 45 51 55  |D0.....maxit EQU|
00000ff0  44 20 32 35 3a 45 51 55  44 30 3a 45 51 55 44 30  |D 25:EQUD0:EQUD0|
00001000  0d 05 96 10 2e 78 73 74  72 20 45 51 55 44 20 30  |.....xstr EQUD 0|
00001010  0d 05 a0 10 2e 79 73 74  72 20 45 51 55 44 20 30  |.....ystr EQUD 0|
00001020  0d 05 aa 10 2e 74 65 6d  70 20 45 51 55 44 20 30  |.....temp EQUD 0|
00001030  0d 05 b4 32 2e 74 61 62  69 74 20 20 45 51 55 44  |...2.tabit  EQUD|
00001040  20 25 30 30 30 30 30 30  30 30 31 31 31 31 31 31  | %00000000111111|
00001050  31 31 31 31 31 31 31 31  31 31 31 31 31 31 31 31  |1111111111111111|
00001060  31 31 0d 05 be 32 20 20  20 20 20 20 20 20 45 51  |11...2        EQ|
00001070  55 44 20 25 31 31 31 31  31 31 31 31 30 30 30 30  |UD %111111110000|
00001080  30 30 30 30 31 31 31 31  31 31 31 31 31 31 31 31  |0000111111111111|
00001090  31 31 31 31 0d 05 c8 32  20 20 20 20 20 20 20 20  |1111...2        |
000010a0  45 51 55 44 20 25 31 31  31 31 31 31 31 31 31 31  |EQUD %1111111111|
000010b0  31 31 31 31 31 31 30 30  30 30 30 30 30 30 31 31  |1111110000000011|
000010c0  31 31 31 31 31 31 0d 05  d2 32 20 20 20 20 20 20  |111111...2      |
000010d0  20 20 45 51 55 44 20 25  31 31 31 31 31 31 31 31  |  EQUD %11111111|
000010e0  31 31 31 31 31 31 31 31  31 31 31 31 31 31 31 31  |1111111111111111|
000010f0  30 30 30 30 30 30 30 30  0d 05 dc 2b 2e 74 61 62  |00000000...+.tab|
00001100  6d 75 6c 20 45 51 55 44  20 25 31 30 30 30 30 30  |mul EQUD %100000|
00001110  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |0000000000000000|
00001120  30 30 30 0d 05 e6 23 20  20 20 20 20 20 20 20 45  |000...#        E|
00001130  51 55 44 20 25 31 30 30  30 30 30 30 30 30 30 30  |QUD %10000000000|
00001140  30 30 30 30 30 30 0d 05  f0 1b 20 20 20 20 20 20  |000000....      |
00001150  20 20 45 51 55 44 20 25  31 30 30 30 30 30 30 30  |  EQUD %10000000|
00001160  30 0d 05 fa 12 20 20 20  20 20 20 20 20 45 51 55  |0....        EQU|
00001170  44 20 31 0d 06 04 0a 2e  73 74 61 63 6b 0d 06 0e  |D 1.....stack...|
00001180  05 5d 0d 06 18 05 ed 0d  06 22 30 f4 20 4f 53 43  |.]......."0. OSC|
00001190  4c 49 20 28 22 4d 45 4d  4f 52 59 49 20 22 2b 53  |LI ("MEMORYI "+S|
000011a0  54 52 24 7e 73 70 61 63  65 2b 22 20 2b 20 31 30  |TR$~space+" + 10|
000011b0  30 22 29 3a 45 4e 44 0d  06 2c 05 e1 0d ff        |0"):END..,....|
000011be
Server1/OldMand/temp5.m0
Server1/OldMand/temp5.m1
Server1/OldMand/temp5.m2
Server1/OldMand/temp5.m4
Server1/OldMand/temp5.m5