Home » Archimedes archive » Archimedes World » AW-1996-06-Disc 1.adf » !MyWrldAps_MyWorldAps » Libraries/LuckySeven/Files/Sdice7
Libraries/LuckySeven/Files/Sdice7
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-1996-06-Disc 1.adf » !MyWrldAps_MyWorldAps |
Filename: | Libraries/LuckySeven/Files/Sdice7 |
Read OK: | ✔ |
File size: | 0104 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1 2 3Dice=INT(RND(TIME)MOD8)+1 4IF Dice = 8 Dice = 7 5D$=STR$(Dice) 6 7OSCLI("HEAR "+D$) 8CASE Dice OF 9WHEN 1: OSCLI("SET %D 1") 10WHEN 2: OSCLI("SET %D 2") 11WHEN 3: OSCLI("SET %D 3") 12WHEN 4: OSCLI("SET %D 4") 13WHEN 5: OSCLI("SET %D 5") 14WHEN 6: OSCLI("SET %D 6") 15WHEN 7: OSCLI("SET %D 7") 16ENDCASE
Dice=�(�(�)�8)+1 � Dice = 8 Dice = 7 D$=�(Dice) �("HEAR "+D$) Ȏ Dice � � 1: �("SET %D 1") � 2: �("SET %D 2") � 3: �("SET %D 3") � 4: �("SET %D 4") � 5: �("SET %D 5") � 6: �("SET %D 6") � 7: �("SET %D 7") � �
00000000 0d 00 01 04 0d 00 02 04 0d 00 03 14 44 69 63 65 |............Dice| 00000010 3d a8 28 b3 28 91 29 83 38 29 2b 31 0d 00 04 17 |=.(.(.).8)+1....| 00000020 e7 20 44 69 63 65 20 3d 20 38 20 44 69 63 65 20 |. Dice = 8 Dice | 00000030 3d 20 37 0d 00 05 0e 44 24 3d c3 28 44 69 63 65 |= 7....D$=.(Dice| 00000040 29 0d 00 06 04 0d 00 07 11 ff 28 22 48 45 41 52 |).........("HEAR| 00000050 20 22 2b 44 24 29 0d 00 08 0d c8 8e 20 44 69 63 | "+D$)...... Dic| 00000060 65 20 ca 0d 00 09 16 c9 20 31 3a 20 ff 28 22 53 |e ...... 1: .("S| 00000070 45 54 20 25 44 20 31 22 29 0d 00 0a 16 c9 20 32 |ET %D 1")..... 2| 00000080 3a 20 ff 28 22 53 45 54 20 25 44 20 32 22 29 0d |: .("SET %D 2").| 00000090 00 0b 16 c9 20 33 3a 20 ff 28 22 53 45 54 20 25 |.... 3: .("SET %| 000000a0 44 20 33 22 29 0d 00 0c 16 c9 20 34 3a 20 ff 28 |D 3")..... 4: .(| 000000b0 22 53 45 54 20 25 44 20 34 22 29 0d 00 0d 16 c9 |"SET %D 4").....| 000000c0 20 35 3a 20 ff 28 22 53 45 54 20 25 44 20 35 22 | 5: .("SET %D 5"| 000000d0 29 0d 00 0e 16 c9 20 36 3a 20 ff 28 22 53 45 54 |)..... 6: .("SET| 000000e0 20 25 44 20 36 22 29 0d 00 0f 16 c9 20 37 3a 20 | %D 6")..... 7: | 000000f0 ff 28 22 53 45 54 20 25 44 20 37 22 29 0d 00 10 |.("SET %D 7")...| 00000100 05 cb 0d ff |....| 00000104