Home » Personal collection » Commodore disks » disk52a2_c16_progs.d64 » ages

ages

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 » disk52a2_c16_progs.d64
Filename: ages
Read OK:
File size: 02CE bytes
Load address: 1001
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
    10 COLOR 0,1
    20 COLOR 4,1
    40 SCNCLR
    50 TI$="120000"
    60 PRINT"<cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><flash on><yellow>HELLO!"
    70 IF TI$<>"120005" THEN 70 ELSE 80
    80 SCNCLR
    90 PRINT:PRINT:PRINT:PRINT:PRINT
    95 COLOR 1,6
   100 INPUT"    HOW OLD ARE YOU";A
   110 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT
   120 IF A>=120 THEN 140
   130 IF A>0 THEN 180
   140 PRINT"I DON'T BELIEVE YOU!"
   150 PRINT:PRINT:PRINT"  HIT ANY KEY"
   160 GETKEY A$
   170 GOTO 80
   180 B=A*12
   190 D=A*365
   200 C=D/7
   210 COLOR 1,14
   220 PRINT"YOU ARE ";A;" YEARS OLD."
   230 PRINT:PRINT"YOU ARE ";B;" MONTHS OLD."
   240 PRINT:PRINT"YOU ARE ";C;" WEEKS OLD."
   250 PRINT:PRINT"YOU ARE ABOUT ";D;" DAYS OLD."
   260 COLOR 1,9
   270 PRINT:PRINT:PRINT"TO HAVE ANOTHER GO PRESS SPACE"
   280 PRINT:PRINT"TO END PRESS E"
   290 Y=1
   300 GET Z$:IF Z$=" " THEN 80
   310 IF Z$<>"E" THEN 300
   320 SCNCLR
   330 TI$="120000"
   340 PRINT"<clr><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><cursor right><flash on><yellow>GOODBYE!"
   350 IF TI$<>"120005" THEN 350 ELSE 360
   360 SCNCLR


� 0,1� 4,1(�,2TI$�"120000"V<�"��HELLO!"tF� TI$��"120005" � 70 � 80zP��Z�:�:�:�:��_� 1,6�d�"    HOW OLD ARE YOU";A�n�:�:�:�:�:�:��x� A��120 � 140��� A�0 � 180��"I DON'T BELIEVE YOU!"��:�:�"  HIT ANY KEY"#��� A$,�� 807�B�A�12C�D�A�365M�C�D�7X�� 1,14x��"YOU ARE ";A;" YEARS OLD."���:�"YOU ARE ";B;" MONTHS OLD."���:�"YOU ARE ";C;" WEEKS OLD."���:�"YOU ARE ABOUT ";D;" DAYS OLD."�� 1,9�:�:�"TO HAVE ANOTHER GO PRESS SPACE"0�:�"TO END PRESS E"8"Y�1O,� Z$:� Z$�" " � 80c6� Z$��"E" � 300i@�zJTI$�"120000"�T�"���GOODBYE!"�^� TI$��"120005" � 350 � 360�h�
KPJ@. 0,1@UPT@. 4,1@[P(@.@,P2@ti$."120000"@vP<@."QQQQQQQQQQQQ]]]]]]]]]]]]]]..hello!"@TPf@. ti$.."120005" . 70 . 80@ZPp@.@.Pz@.:.:.:.:.@.P.@. 1,6@.PD@."    how old are you";a@.PN@.:.:.:.:.:.:.@.PX@. a..120 . 140@.P.@. a.0 . 180@@Q.@."i don't believe you!"@YQ.@.:.:."  hit any key"@#Q.@.. a$@,Q.@. 80@7Q.@b.a.12@cQ.@d.a.365@mQ.@c.d.7@xQ.@. 1,14@XQ.@."you are ";a;" years old."@.Q.@.:."you are ";b;" months old."@.Q.@.:."you are ";c;" weeks old."@.Q.@.:."you are about ";d;" days old."@.QDA. 1,9@XRNA.:.:."to have another go press space"@0RXA.:."to end press e"@8R"Ay.1@oR,A. z$:. z$." " . 80@CR6A. z$.."e" . 300@IR@A.@ZRjAti$."120000"@.RtA.".QQQQQQQQQQQQ]]]]]]]]]]]]]]..goodbye!"@.R.A. ti$.."120005" . 350 . 360@.RHA.@@@
00000000  0b 10 0a 00 e7 20 30 2c  31 00 15 10 14 00 e7 20  |..... 0,1...... |
00000010  34 2c 31 00 1b 10 28 00  e8 00 2c 10 32 00 54 49  |4,1...(...,.2.TI|
00000020  24 b2 22 31 32 30 30 30  30 22 00 56 10 3c 00 99  |$."120000".V.<..|
00000030  22 11 11 11 11 11 11 11  11 11 11 11 11 1d 1d 1d  |"...............|
00000040  1d 1d 1d 1d 1d 1d 1d 1d  1d 1d 1d 82 9e 48 45 4c  |.............HEL|
00000050  4c 4f 21 22 00 74 10 46  00 8b 20 54 49 24 b3 b1  |LO!".t.F.. TI$..|
00000060  22 31 32 30 30 30 35 22  20 a7 20 37 30 20 d5 20  |"120005" . 70 . |
00000070  38 30 00 7a 10 50 00 e8  00 88 10 5a 00 99 3a 99  |80.z.P.....Z..:.|
00000080  3a 99 3a 99 3a 99 00 92  10 5f 00 e7 20 31 2c 36  |:.:.:...._.. 1,6|
00000090  00 af 10 64 00 85 22 20  20 20 20 48 4f 57 20 4f  |...d.."    HOW O|
000000a0  4c 44 20 41 52 45 20 59  4f 55 22 3b 41 00 c1 10  |LD ARE YOU";A...|
000000b0  6e 00 99 3a 99 3a 99 3a  99 3a 99 3a 99 3a 99 00  |n..:.:.:.:.:.:..|
000000c0  d4 10 78 00 8b 20 41 b1  b2 31 32 30 20 a7 20 31  |..x.. A..120 . 1|
000000d0  34 30 00 e4 10 82 00 8b  20 41 b1 30 20 a7 20 31  |40...... A.0 . 1|
000000e0  38 30 00 00 11 8c 00 99  22 49 20 44 4f 4e 27 54  |80......"I DON'T|
000000f0  20 42 45 4c 49 45 56 45  20 59 4f 55 21 22 00 19  | BELIEVE YOU!"..|
00000100  11 96 00 99 3a 99 3a 99  22 20 20 48 49 54 20 41  |....:.:."  HIT A|
00000110  4e 59 20 4b 45 59 22 00  23 11 a0 00 a1 f9 20 41  |NY KEY".#..... A|
00000120  24 00 2c 11 aa 00 89 20  38 30 00 37 11 b4 00 42  |$.,.... 80.7...B|
00000130  b2 41 ac 31 32 00 43 11  be 00 44 b2 41 ac 33 36  |.A.12.C...D.A.36|
00000140  35 00 4d 11 c8 00 43 b2  44 ad 37 00 58 11 d2 00  |5.M...C.D.7.X...|
00000150  e7 20 31 2c 31 34 00 78  11 dc 00 99 22 59 4f 55  |. 1,14.x...."YOU|
00000160  20 41 52 45 20 22 3b 41  3b 22 20 59 45 41 52 53  | ARE ";A;" YEARS|
00000170  20 4f 4c 44 2e 22 00 9b  11 e6 00 99 3a 99 22 59  | OLD."......:."Y|
00000180  4f 55 20 41 52 45 20 22  3b 42 3b 22 20 4d 4f 4e  |OU ARE ";B;" MON|
00000190  54 48 53 20 4f 4c 44 2e  22 00 bd 11 f0 00 99 3a  |THS OLD."......:|
000001a0  99 22 59 4f 55 20 41 52  45 20 22 3b 43 3b 22 20  |."YOU ARE ";C;" |
000001b0  57 45 45 4b 53 20 4f 4c  44 2e 22 00 e4 11 fa 00  |WEEKS OLD.".....|
000001c0  99 3a 99 22 59 4f 55 20  41 52 45 20 41 42 4f 55  |.:."YOU ARE ABOU|
000001d0  54 20 22 3b 44 3b 22 20  44 41 59 53 20 4f 4c 44  |T ";D;" DAYS OLD|
000001e0  2e 22 00 ee 11 04 01 e7  20 31 2c 39 00 18 12 0e  |."...... 1,9....|
000001f0  01 99 3a 99 3a 99 22 54  4f 20 48 41 56 45 20 41  |..:.:."TO HAVE A|
00000200  4e 4f 54 48 45 52 20 47  4f 20 50 52 45 53 53 20  |NOTHER GO PRESS |
00000210  53 50 41 43 45 22 00 30  12 18 01 99 3a 99 22 54  |SPACE".0....:."T|
00000220  4f 20 45 4e 44 20 50 52  45 53 53 20 45 22 00 38  |O END PRESS E".8|
00000230  12 22 01 59 b2 31 00 4f  12 2c 01 a1 20 5a 24 3a  |.".Y.1.O.,.. Z$:|
00000240  8b 20 5a 24 b2 22 20 22  20 a7 20 38 30 00 63 12  |. Z$." " . 80.c.|
00000250  36 01 8b 20 5a 24 b3 b1  22 45 22 20 a7 20 33 30  |6.. Z$.."E" . 30|
00000260  30 00 69 12 40 01 e8 00  7a 12 4a 01 54 49 24 b2  |0.i.@...z.J.TI$.|
00000270  22 31 32 30 30 30 30 22  00 a7 12 54 01 99 22 93  |"120000"...T..".|
00000280  11 11 11 11 11 11 11 11  11 11 11 11 1d 1d 1d 1d  |................|
00000290  1d 1d 1d 1d 1d 1d 1d 1d  1d 1d 82 9e 47 4f 4f 44  |............GOOD|
000002a0  42 59 45 21 22 00 c7 12  5e 01 8b 20 54 49 24 b3  |BYE!"...^.. TI$.|
000002b0  b1 22 31 32 30 30 30 35  22 20 a7 20 33 35 30 20  |."120005" . 350 |
000002c0  d5 20 33 36 30 00 cd 12  68 01 e8 00 00 00        |. 360...h.....|
000002ce