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

!AWFeb91/Goodies/FeedBack/HalfLife

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/HalfLife
Read OK:
File size: 0140 bytes
Load address: FFFFFB42
Exec address: 74E73FD1
File contents
   20 MODE 13
  130:
  140REM GRASS
  150GCOL 4
  156FOR DN% =1000TO 100STEP-4
  157FOR GL% = 0TO1400
  158GC%=RND(128)
  159GCOL GC%
  160POINT GL%,DN%
  166NEXT GL%:NEXTDN%
  170:
  600FOR PN% =1000TO 100STEP-4
  605FOR PL% = 0TO1400
  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
	 � 13
�:
�� GRASS
�� 4
�� DN% =1000� 100�-4
�� GL% = 0�1400
�GC%=�(128)
�	� GC%
�Ȓ GL%,DN%
�� GL%:�DN%
�:
X� PN% =1000� 100�-4
]� PL% = 0�1400
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  33 0d 00 82 05 3a 0d 00  |.... . 13....:..|
00000010  8c 0b f4 20 47 52 41 53  53 0d 00 96 07 e6 20 34  |... GRASS..... 4|
00000020  0d 00 9c 17 e3 20 44 4e  25 20 3d 31 30 30 30 b8  |..... DN% =1000.|
00000030  20 31 30 30 88 2d 34 0d  00 9d 12 e3 20 47 4c 25  | 100.-4..... GL%|
00000040  20 3d 20 30 b8 31 34 30  30 0d 00 9e 0e 47 43 25  | = 0.1400....GC%|
00000050  3d b3 28 31 32 38 29 0d  00 9f 09 e6 20 47 43 25  |=.(128)..... GC%|
00000060  0d 00 a0 0e c8 92 20 47  4c 25 2c 44 4e 25 0d 00  |...... GL%,DN%..|
00000070  a6 0e ed 20 47 4c 25 3a  ed 44 4e 25 0d 00 aa 05  |... GL%:.DN%....|
00000080  3a 0d 02 58 17 e3 20 50  4e 25 20 3d 31 30 30 30  |:..X.. PN% =1000|
00000090  b8 20 31 30 30 88 2d 34  0d 02 5d 12 e3 20 50 4c  |. 100.-4..].. PL|
000000a0  25 20 3d 20 30 b8 31 34  30 30 0d 02 62 0a 4d 3d  |% = 0.1400..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