Home » Archimedes archive » Acorn User » AU 1997-07 A.adf » Regulars » info/Andrews/Zinter

info/Andrews/Zinter

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 » Archimedes archive » Acorn User » AU 1997-07 A.adf » Regulars
Filename: info/Andrews/Zinter
Read OK:
File size: 01B2 bytes
Load address: 0000
Exec address: 0000
File contents
   10DIM code 1024
   20P%=code
   30[
   40OPT 0
   50MOV r12,#0
   60.loop
   70LDRB  r11,[r0,r12]
   80CMP   r11,#0
   90SUBGT r11,r11,#1
  100STRB  r11,[r0,r12]
  110ADD   r12,r12,#1
  120CMP   r12,#81920
  130BLT loop
  140MOV PC,R14
  150]
  160MODE13
  170OFF
  180a%=0
  190d=0
  200DIM blk 8
  210blk!0=149
  220blk!4=-1
  230SYS&31,blk,blk
  240base=blk!0
  250REPEAT
  260x%=620+d*SINRAD(a%)
  270y%=512+d*SINRAD(a%+90)
  280a%+=10
  290d+=1
  300GCOL3,RND(63)
  310CIRCLEFILLx%,y%,50
  320A%=base
  330CALL code
  340UNTIL 0
  350
� code 1024
P%=code
[
(	OPT 0
2MOV r12,#0
<	.loop
FLDRB  r11,[r0,r12]
PCMP   r11,#0
ZSUBGT r11,r11,#1
dSTRB  r11,[r0,r12]
nADD   r12,r12,#1
xCMP   r12,#81920
�BLT loop
�MOV PC,R14
�]
��13
��
�a%=0
�d=0
�� blk 8
�
blk!0=149
�blk!4=-1
�ș&31,blk,blk
�base=blk!0
��
x%=620+d*��(a%)
y%=512+d*��(a%+90)

a%+=10
"d+=1
,�3,�(63)
6ȏȐx%,y%,50
@A%=base
J
� code
T� 0
^
�
00000000  0d 00 0a 0f de 20 63 6f  64 65 20 31 30 32 34 0d  |..... code 1024.|
00000010  00 14 0b 50 25 3d 63 6f  64 65 0d 00 1e 05 5b 0d  |...P%=code....[.|
00000020  00 28 09 4f 50 54 20 30  0d 00 32 0e 4d 4f 56 20  |.(.OPT 0..2.MOV |
00000030  72 31 32 2c 23 30 0d 00  3c 09 2e 6c 6f 6f 70 0d  |r12,#0..<..loop.|
00000040  00 46 16 4c 44 52 42 20  20 72 31 31 2c 5b 72 30  |.F.LDRB  r11,[r0|
00000050  2c 72 31 32 5d 0d 00 50  10 43 4d 50 20 20 20 72  |,r12]..P.CMP   r|
00000060  31 31 2c 23 30 0d 00 5a  14 53 55 42 47 54 20 72  |11,#0..Z.SUBGT r|
00000070  31 31 2c 72 31 31 2c 23  31 0d 00 64 16 53 54 52  |11,r11,#1..d.STR|
00000080  42 20 20 72 31 31 2c 5b  72 30 2c 72 31 32 5d 0d  |B  r11,[r0,r12].|
00000090  00 6e 14 41 44 44 20 20  20 72 31 32 2c 72 31 32  |.n.ADD   r12,r12|
000000a0  2c 23 31 0d 00 78 14 43  4d 50 20 20 20 72 31 32  |,#1..x.CMP   r12|
000000b0  2c 23 38 31 39 32 30 0d  00 82 0c 42 4c 54 20 6c  |,#81920....BLT l|
000000c0  6f 6f 70 0d 00 8c 0e 4d  4f 56 20 50 43 2c 52 31  |oop....MOV PC,R1|
000000d0  34 0d 00 96 05 5d 0d 00  a0 07 eb 31 33 0d 00 aa  |4....].....13...|
000000e0  05 87 0d 00 b4 08 61 25  3d 30 0d 00 be 07 64 3d  |......a%=0....d=|
000000f0  30 0d 00 c8 0b de 20 62  6c 6b 20 38 0d 00 d2 0d  |0..... blk 8....|
00000100  62 6c 6b 21 30 3d 31 34  39 0d 00 dc 0c 62 6c 6b  |blk!0=149....blk|
00000110  21 34 3d 2d 31 0d 00 e6  11 c8 99 26 33 31 2c 62  |!4=-1......&31,b|
00000120  6c 6b 2c 62 6c 6b 0d 00  f0 0e 62 61 73 65 3d 62  |lk,blk....base=b|
00000130  6c 6b 21 30 0d 00 fa 05  f5 0d 01 04 13 78 25 3d  |lk!0.........x%=|
00000140  36 32 30 2b 64 2a b5 b2  28 61 25 29 0d 01 0e 16  |620+d*..(a%)....|
00000150  79 25 3d 35 31 32 2b 64  2a b5 b2 28 61 25 2b 39  |y%=512+d*..(a%+9|
00000160  30 29 0d 01 18 0a 61 25  2b 3d 31 30 0d 01 22 08  |0)....a%+=10..".|
00000170  64 2b 3d 31 0d 01 2c 0c  e6 33 2c b3 28 36 33 29  |d+=1..,..3,.(63)|
00000180  0d 01 36 10 c8 8f c8 90  78 25 2c 79 25 2c 35 30  |..6.....x%,y%,50|
00000190  0d 01 40 0b 41 25 3d 62  61 73 65 0d 01 4a 0a d6  |..@.A%=base..J..|
000001a0  20 63 6f 64 65 0d 01 54  07 fd 20 30 0d 01 5e 04  | code..T.. 0..^.|
000001b0  0d ff                                             |..|
000001b2