Home » Archimedes archive » Acorn User » AU 1994-05.adf » !Risc_Risc » !Read

!Read

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 1994-05.adf » !Risc_Risc
Filename: !Read
Read OK:
File size: 04C3 bytes
Load address: 0000
Exec address: 0000
File contents
This directory contains a few treats for those of you lucky enough to own one of Acorn's new Risc PCs. Don't run them on earlier machines, they won't!

These have all been written or adapted by *Info writer Dave Lawrence. The last three require VRam to run; the first two don't.

GCircle Simple palette switcher using a programmable 256-palette mode
Fire    Adaptation of Jan Vibe�s fire prog from March 1992
Sheet   24-bit sheet wobbling program
Sheet2  Version 2 of above that fills the screen
Sheet3  And another, this one reflects the image

Brief description of Sheet:

Random RGB values are chosen for the left, right, top and bottom edges of the sheet. The R, G and B components of each are varied randomly and sinusoidally, the image is constructed by interpolating all RGB values from top to bottom and averaging them with the interpolated RGB values from left to right. The program uses *all* the registers (including sp!), needs VRam, and doesn�t really run fast enough to display a sheet 128�128. Changing it to 64�64 will make it plot one frame in a Vsync.

Please note that, as the machines are very new, Acorn User cannot guarantee that these programs will run on all configurations.

� Acorn User 1994

00000000  54 68 69 73 20 64 69 72  65 63 74 6f 72 79 20 63  |This directory c|
00000010  6f 6e 74 61 69 6e 73 20  61 20 66 65 77 20 74 72  |ontains a few tr|
00000020  65 61 74 73 20 66 6f 72  20 74 68 6f 73 65 20 6f  |eats for those o|
00000030  66 20 79 6f 75 20 6c 75  63 6b 79 20 65 6e 6f 75  |f you lucky enou|
00000040  67 68 20 74 6f 20 6f 77  6e 20 6f 6e 65 20 6f 66  |gh to own one of|
00000050  20 41 63 6f 72 6e 27 73  20 6e 65 77 20 52 69 73  | Acorn's new Ris|
00000060  63 20 50 43 73 2e 20 44  6f 6e 27 74 20 72 75 6e  |c PCs. Don't run|
00000070  20 74 68 65 6d 20 6f 6e  20 65 61 72 6c 69 65 72  | them on earlier|
00000080  20 6d 61 63 68 69 6e 65  73 2c 20 74 68 65 79 20  | machines, they |
00000090  77 6f 6e 27 74 21 0a 0a  54 68 65 73 65 20 68 61  |won't!..These ha|
000000a0  76 65 20 61 6c 6c 20 62  65 65 6e 20 77 72 69 74  |ve all been writ|
000000b0  74 65 6e 20 6f 72 20 61  64 61 70 74 65 64 20 62  |ten or adapted b|
000000c0  79 20 2a 49 6e 66 6f 20  77 72 69 74 65 72 20 44  |y *Info writer D|
000000d0  61 76 65 20 4c 61 77 72  65 6e 63 65 2e 20 54 68  |ave Lawrence. Th|
000000e0  65 20 6c 61 73 74 20 74  68 72 65 65 20 72 65 71  |e last three req|
000000f0  75 69 72 65 20 56 52 61  6d 20 74 6f 20 72 75 6e  |uire VRam to run|
00000100  3b 20 74 68 65 20 66 69  72 73 74 20 74 77 6f 20  |; the first two |
00000110  64 6f 6e 27 74 2e 0a 0a  47 43 69 72 63 6c 65 20  |don't...GCircle |
00000120  53 69 6d 70 6c 65 20 70  61 6c 65 74 74 65 20 73  |Simple palette s|
00000130  77 69 74 63 68 65 72 20  75 73 69 6e 67 20 61 20  |witcher using a |
00000140  70 72 6f 67 72 61 6d 6d  61 62 6c 65 20 32 35 36  |programmable 256|
00000150  2d 70 61 6c 65 74 74 65  20 6d 6f 64 65 0a 46 69  |-palette mode.Fi|
00000160  72 65 20 20 20 20 41 64  61 70 74 61 74 69 6f 6e  |re    Adaptation|
00000170  20 6f 66 20 4a 61 6e 20  56 69 62 65 91 73 20 66  | of Jan Vibe.s f|
00000180  69 72 65 20 70 72 6f 67  20 66 72 6f 6d 20 4d 61  |ire prog from Ma|
00000190  72 63 68 20 31 39 39 32  0a 53 68 65 65 74 20 20  |rch 1992.Sheet  |
000001a0  20 32 34 2d 62 69 74 20  73 68 65 65 74 20 77 6f  | 24-bit sheet wo|
000001b0  62 62 6c 69 6e 67 20 70  72 6f 67 72 61 6d 0a 53  |bbling program.S|
000001c0  68 65 65 74 32 20 20 56  65 72 73 69 6f 6e 20 32  |heet2  Version 2|
000001d0  20 6f 66 20 61 62 6f 76  65 20 74 68 61 74 20 66  | of above that f|
000001e0  69 6c 6c 73 20 74 68 65  20 73 63 72 65 65 6e 0a  |ills the screen.|
000001f0  53 68 65 65 74 33 20 20  41 6e 64 20 61 6e 6f 74  |Sheet3  And anot|
00000200  68 65 72 2c 20 74 68 69  73 20 6f 6e 65 20 72 65  |her, this one re|
00000210  66 6c 65 63 74 73 20 74  68 65 20 69 6d 61 67 65  |flects the image|
00000220  0a 0a 42 72 69 65 66 20  64 65 73 63 72 69 70 74  |..Brief descript|
00000230  69 6f 6e 20 6f 66 20 53  68 65 65 74 3a 0a 0a 52  |ion of Sheet:..R|
00000240  61 6e 64 6f 6d 20 52 47  42 20 76 61 6c 75 65 73  |andom RGB values|
00000250  20 61 72 65 20 63 68 6f  73 65 6e 20 66 6f 72 20  | are chosen for |
00000260  74 68 65 20 6c 65 66 74  2c 20 72 69 67 68 74 2c  |the left, right,|
00000270  20 74 6f 70 20 61 6e 64  20 62 6f 74 74 6f 6d 20  | top and bottom |
00000280  65 64 67 65 73 20 6f 66  20 74 68 65 20 73 68 65  |edges of the she|
00000290  65 74 2e 20 54 68 65 20  52 2c 20 47 20 61 6e 64  |et. The R, G and|
000002a0  20 42 20 63 6f 6d 70 6f  6e 65 6e 74 73 20 6f 66  | B components of|
000002b0  20 65 61 63 68 20 61 72  65 20 76 61 72 69 65 64  | each are varied|
000002c0  20 72 61 6e 64 6f 6d 6c  79 20 61 6e 64 20 73 69  | randomly and si|
000002d0  6e 75 73 6f 69 64 61 6c  6c 79 2c 20 74 68 65 20  |nusoidally, the |
000002e0  69 6d 61 67 65 20 69 73  20 63 6f 6e 73 74 72 75  |image is constru|
000002f0  63 74 65 64 20 62 79 20  69 6e 74 65 72 70 6f 6c  |cted by interpol|
00000300  61 74 69 6e 67 20 61 6c  6c 20 52 47 42 20 76 61  |ating all RGB va|
00000310  6c 75 65 73 20 66 72 6f  6d 20 74 6f 70 20 74 6f  |lues from top to|
00000320  20 62 6f 74 74 6f 6d 20  61 6e 64 20 61 76 65 72  | bottom and aver|
00000330  61 67 69 6e 67 20 74 68  65 6d 20 77 69 74 68 20  |aging them with |
00000340  74 68 65 20 69 6e 74 65  72 70 6f 6c 61 74 65 64  |the interpolated|
00000350  20 52 47 42 20 76 61 6c  75 65 73 20 66 72 6f 6d  | RGB values from|
00000360  20 6c 65 66 74 20 74 6f  20 72 69 67 68 74 2e 20  | left to right. |
00000370  54 68 65 20 70 72 6f 67  72 61 6d 20 75 73 65 73  |The program uses|
00000380  20 2a 61 6c 6c 2a 20 74  68 65 20 72 65 67 69 73  | *all* the regis|
00000390  74 65 72 73 20 28 69 6e  63 6c 75 64 69 6e 67 20  |ters (including |
000003a0  73 70 21 29 2c 20 6e 65  65 64 73 20 56 52 61 6d  |sp!), needs VRam|
000003b0  2c 20 61 6e 64 20 64 6f  65 73 6e 91 74 20 72 65  |, and doesn.t re|
000003c0  61 6c 6c 79 20 72 75 6e  20 66 61 73 74 20 65 6e  |ally run fast en|
000003d0  6f 75 67 68 20 74 6f 20  64 69 73 70 6c 61 79 20  |ough to display |
000003e0  61 20 73 68 65 65 74 20  31 32 38 d7 31 32 38 2e  |a sheet 128.128.|
000003f0  20 43 68 61 6e 67 69 6e  67 20 69 74 20 74 6f 20  | Changing it to |
00000400  36 34 d7 36 34 20 77 69  6c 6c 20 6d 61 6b 65 20  |64.64 will make |
00000410  69 74 20 70 6c 6f 74 20  6f 6e 65 20 66 72 61 6d  |it plot one fram|
00000420  65 20 69 6e 20 61 20 56  73 79 6e 63 2e 0a 0a 50  |e in a Vsync...P|
00000430  6c 65 61 73 65 20 6e 6f  74 65 20 74 68 61 74 2c  |lease note that,|
00000440  20 61 73 20 74 68 65 20  6d 61 63 68 69 6e 65 73  | as the machines|
00000450  20 61 72 65 20 76 65 72  79 20 6e 65 77 2c 20 41  | are very new, A|
00000460  63 6f 72 6e 20 55 73 65  72 20 63 61 6e 6e 6f 74  |corn User cannot|
00000470  20 67 75 61 72 61 6e 74  65 65 20 74 68 61 74 20  | guarantee that |
00000480  74 68 65 73 65 20 70 72  6f 67 72 61 6d 73 20 77  |these programs w|
00000490  69 6c 6c 20 72 75 6e 20  6f 6e 20 61 6c 6c 20 63  |ill run on all c|
000004a0  6f 6e 66 69 67 75 72 61  74 69 6f 6e 73 2e 0a 0a  |onfigurations...|
000004b0  a9 20 41 63 6f 72 6e 20  55 73 65 72 20 31 39 39  |. Acorn User 199|
000004c0  34 0a 0a                                          |4..|
000004c3