Home » Archimedes archive » Acorn User » AU 1996-06.adf » Regulars » StarInfo/Jerome/Whitehouse/Shared/xxxx

StarInfo/Jerome/Whitehouse/Shared/xxxx

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 » Acorn User » AU 1996-06.adf » Regulars
Filename: StarInfo/Jerome/Whitehouse/Shared/xxxx
Read OK:
File size: 082D bytes
Load address: 0000
Exec address: 0000
File contents
�HEADER
     Load this file by clicking on !!ReadMe in the main folder.
�END
About these programs
--------------------
Mill and Hneftafl :
These are two desktop 'games'.  Hneftafl is derived from the April 1995 Acorn User article.  Mill is based upon the ancient game 'Mill' or 'Nine Men's Morris'.  Mill includes a computer player (quite a good one as it turned out).

Trees:
This is a version of a program that appeared on the Jan94 AU cover disc.  The program draws 3D trees.


Instructions
------------
The instructions for each program can be obtained from their icon bar menus. All three programs also provide interactive help, although this isn't much use except perhaps in Trees.

This folder should be kept together as a whole.  None of the programs will work if removed and placed alone.
The programs require RiscOS 3.  !Trees needs at least a 2MB computer.


Copyright
---------
The Tempest module and the !Browzer application remain my copyright, and cannot be used for anything except their present purpose.


     Stuart Whitehouse






Inside the programs
-------------------
The programs have all been done in very similar styles.
Each program is written in BASIC and contains some assembler.  In Mill this is used for the computer player, and in Hneftafl the armcode was used so that I could add a computer player more easily if I wanted to.

In each program the !RunImage file performs the Wimp interaction, although much of the work is performed automatically by the module.
The Mill and Hnef files (loaded as libraries) implement the rules; and the computer player in the case of Mill.  In Trees 'WTrees' does all the trees.
The 'IcnDefs' files just contain icon numbers (these were created by the template editor)

The template files contain non-window templates (including menus) as well as the windows.  Don't try to load these files into a standard template editor.  (They can be edited in the Tempest template editor only)

Both games allow you to save the position.  The saves use the user file types 04e and 04f.  Trees saves the normal Sprite and Data file types.
00000000  a4 48 45 41 44 45 52 0a  20 20 20 20 20 4c 6f 61  |.HEADER.     Loa|
00000010  64 20 74 68 69 73 20 66  69 6c 65 20 62 79 20 63  |d this file by c|
00000020  6c 69 63 6b 69 6e 67 20  6f 6e 20 21 21 52 65 61  |licking on !!Rea|
00000030  64 4d 65 20 69 6e 20 74  68 65 20 6d 61 69 6e 20  |dMe in the main |
00000040  66 6f 6c 64 65 72 2e 0a  a4 45 4e 44 0a 41 62 6f  |folder...END.Abo|
00000050  75 74 20 74 68 65 73 65  20 70 72 6f 67 72 61 6d  |ut these program|
00000060  73 0a 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |s.--------------|
00000070  2d 2d 2d 2d 2d 2d 0a 4d  69 6c 6c 20 61 6e 64 20  |------.Mill and |
00000080  48 6e 65 66 74 61 66 6c  20 3a 0a 54 68 65 73 65  |Hneftafl :.These|
00000090  20 61 72 65 20 74 77 6f  20 64 65 73 6b 74 6f 70  | are two desktop|
000000a0  20 27 67 61 6d 65 73 27  2e 20 20 48 6e 65 66 74  | 'games'.  Hneft|
000000b0  61 66 6c 20 69 73 20 64  65 72 69 76 65 64 20 66  |afl is derived f|
000000c0  72 6f 6d 20 74 68 65 20  41 70 72 69 6c 20 31 39  |rom the April 19|
000000d0  39 35 20 41 63 6f 72 6e  20 55 73 65 72 20 61 72  |95 Acorn User ar|
000000e0  74 69 63 6c 65 2e 20 20  4d 69 6c 6c 20 69 73 20  |ticle.  Mill is |
000000f0  62 61 73 65 64 20 75 70  6f 6e 20 74 68 65 20 61  |based upon the a|
00000100  6e 63 69 65 6e 74 20 67  61 6d 65 20 27 4d 69 6c  |ncient game 'Mil|
00000110  6c 27 20 6f 72 20 27 4e  69 6e 65 20 4d 65 6e 27  |l' or 'Nine Men'|
00000120  73 20 4d 6f 72 72 69 73  27 2e 20 20 4d 69 6c 6c  |s Morris'.  Mill|
00000130  20 69 6e 63 6c 75 64 65  73 20 61 20 63 6f 6d 70  | includes a comp|
00000140  75 74 65 72 20 70 6c 61  79 65 72 20 28 71 75 69  |uter player (qui|
00000150  74 65 20 61 20 67 6f 6f  64 20 6f 6e 65 20 61 73  |te a good one as|
00000160  20 69 74 20 74 75 72 6e  65 64 20 6f 75 74 29 2e  | it turned out).|
00000170  0a 0a 54 72 65 65 73 3a  0a 54 68 69 73 20 69 73  |..Trees:.This is|
00000180  20 61 20 76 65 72 73 69  6f 6e 20 6f 66 20 61 20  | a version of a |
00000190  70 72 6f 67 72 61 6d 20  74 68 61 74 20 61 70 70  |program that app|
000001a0  65 61 72 65 64 20 6f 6e  20 74 68 65 20 4a 61 6e  |eared on the Jan|
000001b0  39 34 20 41 55 20 63 6f  76 65 72 20 64 69 73 63  |94 AU cover disc|
000001c0  2e 20 20 54 68 65 20 70  72 6f 67 72 61 6d 20 64  |.  The program d|
000001d0  72 61 77 73 20 33 44 20  74 72 65 65 73 2e 0a 0a  |raws 3D trees...|
000001e0  0a 49 6e 73 74 72 75 63  74 69 6f 6e 73 0a 2d 2d  |.Instructions.--|
000001f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 54 68 65 20 69  |----------.The i|
00000200  6e 73 74 72 75 63 74 69  6f 6e 73 20 66 6f 72 20  |nstructions for |
00000210  65 61 63 68 20 70 72 6f  67 72 61 6d 20 63 61 6e  |each program can|
00000220  20 62 65 20 6f 62 74 61  69 6e 65 64 20 66 72 6f  | be obtained fro|
00000230  6d 20 74 68 65 69 72 20  69 63 6f 6e 20 62 61 72  |m their icon bar|
00000240  20 6d 65 6e 75 73 2e 20  41 6c 6c 20 74 68 72 65  | menus. All thre|
00000250  65 20 70 72 6f 67 72 61  6d 73 20 61 6c 73 6f 20  |e programs also |
00000260  70 72 6f 76 69 64 65 20  69 6e 74 65 72 61 63 74  |provide interact|
00000270  69 76 65 20 68 65 6c 70  2c 20 61 6c 74 68 6f 75  |ive help, althou|
00000280  67 68 20 74 68 69 73 20  69 73 6e 27 74 20 6d 75  |gh this isn't mu|
00000290  63 68 20 75 73 65 20 65  78 63 65 70 74 20 70 65  |ch use except pe|
000002a0  72 68 61 70 73 20 69 6e  20 54 72 65 65 73 2e 0a  |rhaps in Trees..|
000002b0  0a 54 68 69 73 20 66 6f  6c 64 65 72 20 73 68 6f  |.This folder sho|
000002c0  75 6c 64 20 62 65 20 6b  65 70 74 20 74 6f 67 65  |uld be kept toge|
000002d0  74 68 65 72 20 61 73 20  61 20 77 68 6f 6c 65 2e  |ther as a whole.|
000002e0  20 20 4e 6f 6e 65 20 6f  66 20 74 68 65 20 70 72  |  None of the pr|
000002f0  6f 67 72 61 6d 73 20 77  69 6c 6c 20 77 6f 72 6b  |ograms will work|
00000300  20 69 66 20 72 65 6d 6f  76 65 64 20 61 6e 64 20  | if removed and |
00000310  70 6c 61 63 65 64 20 61  6c 6f 6e 65 2e 0a 54 68  |placed alone..Th|
00000320  65 20 70 72 6f 67 72 61  6d 73 20 72 65 71 75 69  |e programs requi|
00000330  72 65 20 52 69 73 63 4f  53 20 33 2e 20 20 21 54  |re RiscOS 3.  !T|
00000340  72 65 65 73 20 6e 65 65  64 73 20 61 74 20 6c 65  |rees needs at le|
00000350  61 73 74 20 61 20 32 4d  42 20 63 6f 6d 70 75 74  |ast a 2MB comput|
00000360  65 72 2e 0a 0a 0a 43 6f  70 79 72 69 67 68 74 0a  |er....Copyright.|
00000370  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 54 68 65 20 54 65  |---------.The Te|
00000380  6d 70 65 73 74 20 6d 6f  64 75 6c 65 20 61 6e 64  |mpest module and|
00000390  20 74 68 65 20 21 42 72  6f 77 7a 65 72 20 61 70  | the !Browzer ap|
000003a0  70 6c 69 63 61 74 69 6f  6e 20 72 65 6d 61 69 6e  |plication remain|
000003b0  20 6d 79 20 63 6f 70 79  72 69 67 68 74 2c 20 61  | my copyright, a|
000003c0  6e 64 20 63 61 6e 6e 6f  74 20 62 65 20 75 73 65  |nd cannot be use|
000003d0  64 20 66 6f 72 20 61 6e  79 74 68 69 6e 67 20 65  |d for anything e|
000003e0  78 63 65 70 74 20 74 68  65 69 72 20 70 72 65 73  |xcept their pres|
000003f0  65 6e 74 20 70 75 72 70  6f 73 65 2e 0a 0a 0a 20  |ent purpose.... |
00000400  20 20 20 20 53 74 75 61  72 74 20 57 68 69 74 65  |    Stuart White|
00000410  68 6f 75 73 65 0a 0a 0a  0a 0a 0a 0a 49 6e 73 69  |house.......Insi|
00000420  64 65 20 74 68 65 20 70  72 6f 67 72 61 6d 73 0a  |de the programs.|
00000430  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000440  2d 2d 2d 0a 54 68 65 20  70 72 6f 67 72 61 6d 73  |---.The programs|
00000450  20 68 61 76 65 20 61 6c  6c 20 62 65 65 6e 20 64  | have all been d|
00000460  6f 6e 65 20 69 6e 20 76  65 72 79 20 73 69 6d 69  |one in very simi|
00000470  6c 61 72 20 73 74 79 6c  65 73 2e 0a 45 61 63 68  |lar styles..Each|
00000480  20 70 72 6f 67 72 61 6d  20 69 73 20 77 72 69 74  | program is writ|
00000490  74 65 6e 20 69 6e 20 42  41 53 49 43 20 61 6e 64  |ten in BASIC and|
000004a0  20 63 6f 6e 74 61 69 6e  73 20 73 6f 6d 65 20 61  | contains some a|
000004b0  73 73 65 6d 62 6c 65 72  2e 20 20 49 6e 20 4d 69  |ssembler.  In Mi|
000004c0  6c 6c 20 74 68 69 73 20  69 73 20 75 73 65 64 20  |ll this is used |
000004d0  66 6f 72 20 74 68 65 20  63 6f 6d 70 75 74 65 72  |for the computer|
000004e0  20 70 6c 61 79 65 72 2c  20 61 6e 64 20 69 6e 20  | player, and in |
000004f0  48 6e 65 66 74 61 66 6c  20 74 68 65 20 61 72 6d  |Hneftafl the arm|
00000500  63 6f 64 65 20 77 61 73  20 75 73 65 64 20 73 6f  |code was used so|
00000510  20 74 68 61 74 20 49 20  63 6f 75 6c 64 20 61 64  | that I could ad|
00000520  64 20 61 20 63 6f 6d 70  75 74 65 72 20 70 6c 61  |d a computer pla|
00000530  79 65 72 20 6d 6f 72 65  20 65 61 73 69 6c 79 20  |yer more easily |
00000540  69 66 20 49 20 77 61 6e  74 65 64 20 74 6f 2e 0a  |if I wanted to..|
00000550  0a 49 6e 20 65 61 63 68  20 70 72 6f 67 72 61 6d  |.In each program|
00000560  20 74 68 65 20 21 52 75  6e 49 6d 61 67 65 20 66  | the !RunImage f|
00000570  69 6c 65 20 70 65 72 66  6f 72 6d 73 20 74 68 65  |ile performs the|
00000580  20 57 69 6d 70 20 69 6e  74 65 72 61 63 74 69 6f  | Wimp interactio|
00000590  6e 2c 20 61 6c 74 68 6f  75 67 68 20 6d 75 63 68  |n, although much|
000005a0  20 6f 66 20 74 68 65 20  77 6f 72 6b 20 69 73 20  | of the work is |
000005b0  70 65 72 66 6f 72 6d 65  64 20 61 75 74 6f 6d 61  |performed automa|
000005c0  74 69 63 61 6c 6c 79 20  62 79 20 74 68 65 20 6d  |tically by the m|
000005d0  6f 64 75 6c 65 2e 0a 54  68 65 20 4d 69 6c 6c 20  |odule..The Mill |
000005e0  61 6e 64 20 48 6e 65 66  20 66 69 6c 65 73 20 28  |and Hnef files (|
000005f0  6c 6f 61 64 65 64 20 61  73 20 6c 69 62 72 61 72  |loaded as librar|
00000600  69 65 73 29 20 69 6d 70  6c 65 6d 65 6e 74 20 74  |ies) implement t|
00000610  68 65 20 72 75 6c 65 73  3b 20 61 6e 64 20 74 68  |he rules; and th|
00000620  65 20 63 6f 6d 70 75 74  65 72 20 70 6c 61 79 65  |e computer playe|
00000630  72 20 69 6e 20 74 68 65  20 63 61 73 65 20 6f 66  |r in the case of|
00000640  20 4d 69 6c 6c 2e 20 20  49 6e 20 54 72 65 65 73  | Mill.  In Trees|
00000650  20 27 57 54 72 65 65 73  27 20 64 6f 65 73 20 61  | 'WTrees' does a|
00000660  6c 6c 20 74 68 65 20 74  72 65 65 73 2e 0a 54 68  |ll the trees..Th|
00000670  65 20 27 49 63 6e 44 65  66 73 27 20 66 69 6c 65  |e 'IcnDefs' file|
00000680  73 20 6a 75 73 74 20 63  6f 6e 74 61 69 6e 20 69  |s just contain i|
00000690  63 6f 6e 20 6e 75 6d 62  65 72 73 20 28 74 68 65  |con numbers (the|
000006a0  73 65 20 77 65 72 65 20  63 72 65 61 74 65 64 20  |se were created |
000006b0  62 79 20 74 68 65 20 74  65 6d 70 6c 61 74 65 20  |by the template |
000006c0  65 64 69 74 6f 72 29 0a  0a 54 68 65 20 74 65 6d  |editor)..The tem|
000006d0  70 6c 61 74 65 20 66 69  6c 65 73 20 63 6f 6e 74  |plate files cont|
000006e0  61 69 6e 20 6e 6f 6e 2d  77 69 6e 64 6f 77 20 74  |ain non-window t|
000006f0  65 6d 70 6c 61 74 65 73  20 28 69 6e 63 6c 75 64  |emplates (includ|
00000700  69 6e 67 20 6d 65 6e 75  73 29 20 61 73 20 77 65  |ing menus) as we|
00000710  6c 6c 20 61 73 20 74 68  65 20 77 69 6e 64 6f 77  |ll as the window|
00000720  73 2e 20 20 44 6f 6e 27  74 20 74 72 79 20 74 6f  |s.  Don't try to|
00000730  20 6c 6f 61 64 20 74 68  65 73 65 20 66 69 6c 65  | load these file|
00000740  73 20 69 6e 74 6f 20 61  20 73 74 61 6e 64 61 72  |s into a standar|
00000750  64 20 74 65 6d 70 6c 61  74 65 20 65 64 69 74 6f  |d template edito|
00000760  72 2e 20 20 28 54 68 65  79 20 63 61 6e 20 62 65  |r.  (They can be|
00000770  20 65 64 69 74 65 64 20  69 6e 20 74 68 65 20 54  | edited in the T|
00000780  65 6d 70 65 73 74 20 74  65 6d 70 6c 61 74 65 20  |empest template |
00000790  65 64 69 74 6f 72 20 6f  6e 6c 79 29 0a 0a 42 6f  |editor only)..Bo|
000007a0  74 68 20 67 61 6d 65 73  20 61 6c 6c 6f 77 20 79  |th games allow y|
000007b0  6f 75 20 74 6f 20 73 61  76 65 20 74 68 65 20 70  |ou to save the p|
000007c0  6f 73 69 74 69 6f 6e 2e  20 20 54 68 65 20 73 61  |osition.  The sa|
000007d0  76 65 73 20 75 73 65 20  74 68 65 20 75 73 65 72  |ves use the user|
000007e0  20 66 69 6c 65 20 74 79  70 65 73 20 30 34 65 20  | file types 04e |
000007f0  61 6e 64 20 30 34 66 2e  20 20 54 72 65 65 73 20  |and 04f.  Trees |
00000800  73 61 76 65 73 20 74 68  65 20 6e 6f 72 6d 61 6c  |saves the normal|
00000810  20 53 70 72 69 74 65 20  61 6e 64 20 44 61 74 61  | Sprite and Data|
00000820  20 66 69 6c 65 20 74 79  70 65 73 2e 0a           | file types..|
0000082d