Home » Archimedes archive » Archimedes World » AW-1991-02.adf » !AWFeb91/Goodies/FeedBack/QuatLife

!AWFeb91/Goodies/FeedBack/QuatLife

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 » Archimedes World » AW-1991-02.adf
Filename: !AWFeb91/Goodies/FeedBack/QuatLife
Read OK:
File size: 0140 bytes
Load address: FFFFFB42
Exec address: 74EA2A87
File contents
   20 MODE 15
  130:
  140REM GRASS
  150GCOL 4
  156FOR DN% =800TO 200STEP-4
  157FOR GL% =200TO800
  158GC%=RND(128)
  159GCOL GC%
  160POINT GL%,DN%
  166NEXT GL%:NEXTDN%
  170:
  600FOR PN% =800TO 200STEP-4
  605FOR PL% = 200TO1000
  610M=RND(2)
  620R=RND(4)
  630IF R=1 THEN X=X+M
  640IF R=2 THEN X=X-M
  650IF R=3 THEN Y=Y+(M/2)
  660IF R=4 THEN Y=Y-(M/2)
  670LINE 400+X,600+Y,400+X+L,600+Y+T
  680NEXTD:NEXT P:NEXT B
  690ENDPROC
	 � 15
�:
�� GRASS
�� 4
�� DN% =800� 200�-4
�� GL% =200�800
�GC%=�(128)
�	� GC%
�Ȓ GL%,DN%
�� GL%:�DN%
�:
X� PN% =800� 200�-4
]� PL% = 200�1000
b
M=�(2)
l
R=�(4)
v� R=1 � X=X+M
�� R=2 � X=X-M
�� R=3 � Y=Y+(M/2)
�� R=4 � Y=Y-(M/2)
�!� 400+X,600+Y,400+X+L,600+Y+T
��D:� P:� B
��
�
00000000  0d 00 14 09 20 eb 20 31  35 0d 00 82 05 3a 0d 00  |.... . 15....:..|
00000010  8c 0b f4 20 47 52 41 53  53 0d 00 96 07 e6 20 34  |... GRASS..... 4|
00000020  0d 00 9c 16 e3 20 44 4e  25 20 3d 38 30 30 b8 20  |..... DN% =800. |
00000030  32 30 30 88 2d 34 0d 00  9d 12 e3 20 47 4c 25 20  |200.-4..... GL% |
00000040  3d 32 30 30 b8 38 30 30  0d 00 9e 0e 47 43 25 3d  |=200.800....GC%=|
00000050  b3 28 31 32 38 29 0d 00  9f 09 e6 20 47 43 25 0d  |.(128)..... GC%.|
00000060  00 a0 0e c8 92 20 47 4c  25 2c 44 4e 25 0d 00 a6  |..... GL%,DN%...|
00000070  0e ed 20 47 4c 25 3a ed  44 4e 25 0d 00 aa 05 3a  |.. GL%:.DN%....:|
00000080  0d 02 58 16 e3 20 50 4e  25 20 3d 38 30 30 b8 20  |..X.. PN% =800. |
00000090  32 30 30 88 2d 34 0d 02  5d 14 e3 20 50 4c 25 20  |200.-4..].. PL% |
000000a0  3d 20 32 30 30 b8 31 30  30 30 0d 02 62 0a 4d 3d  |= 200.1000..b.M=|
000000b0  b3 28 32 29 0d 02 6c 0a  52 3d b3 28 34 29 0d 02  |.(2)..l.R=.(4)..|
000000c0  76 11 e7 20 52 3d 31 20  8c 20 58 3d 58 2b 4d 0d  |v.. R=1 . X=X+M.|
000000d0  02 80 11 e7 20 52 3d 32  20 8c 20 58 3d 58 2d 4d  |.... R=2 . X=X-M|
000000e0  0d 02 8a 15 e7 20 52 3d  33 20 8c 20 59 3d 59 2b  |..... R=3 . Y=Y+|
000000f0  28 4d 2f 32 29 0d 02 94  15 e7 20 52 3d 34 20 8c  |(M/2)..... R=4 .|
00000100  20 59 3d 59 2d 28 4d 2f  32 29 0d 02 9e 21 86 20  | Y=Y-(M/2)...!. |
00000110  34 30 30 2b 58 2c 36 30  30 2b 59 2c 34 30 30 2b  |400+X,600+Y,400+|
00000120  58 2b 4c 2c 36 30 30 2b  59 2b 54 0d 02 a8 0e ed  |X+L,600+Y+T.....|
00000130  44 3a ed 20 50 3a ed 20  42 0d 02 b2 05 e1 0d ff  |D:. P:. B.......|
00000140