Home » Personal collection » Commodore disks » disk50a2_progs1.d64 » life

life

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 » Commodore disks » disk50a2_progs1.d64
Filename: life
Read OK:
File size: 01AA bytes
Load address: 0801
Exec address: 0000
File contents
     1 REM LIFE
     2 PRINT"<clr><white>"
     5 PRINT"<cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down>      <reverse on>   <rev off>"
     6 PRINT"      <reverse on> <rev off> <reverse on> <rev off>"
     7 PRINT"      <reverse on>   <rev off>"
    10 FORR=$0400 TO $07E8
    15 L=0
    20 N=ABS(PEEK(R-1)=$A0)+ABS(PEEK(R+1)=$A0)+ABS(PEEK(R+40)=$A0)+ABS(PEEK(R-40)=$A0)
    30 N=N+ABS(PEEK(R-41)=$A0)+ABS(PEEK(R-39)=$A0)+ABS(PEEK(R+41)=$A0)+ABS(PEEK(R+39)=$A0)
    40 IF PEEK(R)=32 THEN 60
    50 IF N=2 THEN L=1
    60 IF N=3 THEN L=1
    70 POKER+49152,32+L*128
    80 NEXT
    82 FORR=$C400TO$C800:POKER-$C000,PEEK(R):NEXT
    85 POKE 53280,0
    90 GET A$:IF A$="" THEN 90
    95 POKE 53280,1
   100 GOTO 10

� LIFE�"�"3�"         �"H�"       �  �"[�"         �"p
�R�$0400 � $07E8xL�0�N��(�(R�1)�$A0)��(�(R�1)�$A0)��(�(R�40)�$A0)��(�(R�40)�$A0)�N�N��(�(R�41)�$A0)��(�(R�39)�$A0)��(�(R�41)�$A0)��(�(R�39)�$A0)	(� �(R)�32 � 60	2� N�2 � L�1/	<� N�3 � L�1E	F�R�49152,32�L�128K	P�n	R�R�$C400�$C800:�R�$C000,�(R):�|	U� 53280,0�	Z� A$:� A$�"" � 90�	_� 53280,1�	d� 10
LHA@. life@VHB@.".E"@3HE@."QQQQQQQQQQ      R   ."@hHF@."      R . R ."@[HG@."      R   ."@PHJ@.r.$0400 . $07e8@XHO@l.0@.HT@n..(.(r.1).$a0)..(.(r.1).$a0)..(.(r.40).$a0)..(.(r.40).$a0)@.H.@n.n..(.(r.41).$a0)..(.(r.39).$a0)..(.(r.41).$a0)..(.(r.39).$a0)@OI(@. .(r).32 . 60@.I2@. n.2 . l.1@/I<@. n.3 . l.1@eIf@.r.49152,32.l.128@kIp@.@NIr@.r.$c400.$c800:.r.$c000,.(r):.@.Iu@. 53280,0@.Iz@. a$:. a$."" . 90@.I.@. 53280,1@.ID@. 10@@@
00000000  0c 08 01 00 8f 20 4c 49  46 45 00 16 08 02 00 99  |..... LIFE......|
00000010  22 93 05 22 00 33 08 05  00 99 22 11 11 11 11 11  |"..".3....".....|
00000020  11 11 11 11 11 20 20 20  20 20 20 12 20 20 20 92  |.....      .   .|
00000030  22 00 48 08 06 00 99 22  20 20 20 20 20 20 12 20  |".H...."      . |
00000040  92 20 12 20 92 22 00 5b  08 07 00 99 22 20 20 20  |. . .".[...."   |
00000050  20 20 20 12 20 20 20 92  22 00 70 08 0a 00 81 52  |   .   .".p....R|
00000060  b2 24 30 34 30 30 20 a4  20 24 30 37 45 38 00 78  |.$0400 . $07E8.x|
00000070  08 0f 00 4c b2 30 00 b8  08 14 00 4e b2 b6 28 c2  |...L.0.....N..(.|
00000080  28 52 ab 31 29 b2 24 41  30 29 aa b6 28 c2 28 52  |(R.1).$A0)..(.(R|
00000090  aa 31 29 b2 24 41 30 29  aa b6 28 c2 28 52 aa 34  |.1).$A0)..(.(R.4|
000000a0  30 29 b2 24 41 30 29 aa  b6 28 c2 28 52 ab 34 30  |0).$A0)..(.(R.40|
000000b0  29 b2 24 41 30 29 00 fc  08 1e 00 4e b2 4e aa b6  |).$A0).....N.N..|
000000c0  28 c2 28 52 ab 34 31 29  b2 24 41 30 29 aa b6 28  |(.(R.41).$A0)..(|
000000d0  c2 28 52 ab 33 39 29 b2  24 41 30 29 aa b6 28 c2  |.(R.39).$A0)..(.|
000000e0  28 52 aa 34 31 29 b2 24  41 30 29 aa b6 28 c2 28  |(R.41).$A0)..(.(|
000000f0  52 aa 33 39 29 b2 24 41  30 29 00 0f 09 28 00 8b  |R.39).$A0)...(..|
00000100  20 c2 28 52 29 b2 33 32  20 a7 20 36 30 00 1f 09  | .(R).32 . 60...|
00000110  32 00 8b 20 4e b2 32 20  a7 20 4c b2 31 00 2f 09  |2.. N.2 . L.1./.|
00000120  3c 00 8b 20 4e b2 33 20  a7 20 4c b2 31 00 45 09  |<.. N.3 . L.1.E.|
00000130  46 00 97 52 aa 34 39 31  35 32 2c 33 32 aa 4c ac  |F..R.49152,32.L.|
00000140  31 32 38 00 4b 09 50 00  82 00 6e 09 52 00 81 52  |128.K.P...n.R..R|
00000150  b2 24 43 34 30 30 a4 24  43 38 30 30 3a 97 52 ab  |.$C400.$C800:.R.|
00000160  24 43 30 30 30 2c c2 28  52 29 3a 82 00 7c 09 55  |$C000,.(R):..|.U|
00000170  00 97 20 35 33 32 38 30  2c 30 00 92 09 5a 00 a1  |.. 53280,0...Z..|
00000180  20 41 24 3a 8b 20 41 24  b2 22 22 20 a7 20 39 30  | A$:. A$."" . 90|
00000190  00 a0 09 5f 00 97 20 35  33 32 38 30 2c 31 00 a9  |..._.. 53280,1..|
000001a0  09 64 00 89 20 31 30 00  00 00                    |.d.. 10...|
000001aa