Home » Archimedes archive » Archimedes World » AW-1996-01-Disc2.adf » !Go-GoDemo_Go-GoDemo » Examples/EUflag
Examples/EUflag
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-01-Disc2.adf » !Go-GoDemo_Go-GoDemo |
Filename: | Examples/EUflag |
Read OK: | ✔ |
File size: | 03A3 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
[ 12 star EU Flag ] [ Note EU not EC anymore...! ] Pointer Arrow Box 60 Blue StarCircle 40 Yellow #PROCEDURE Star size [ manoeuvre ] Pen Up Left 36 Forward size*.5 Pen Down Right 54 [ plot star ] Repeat 5 Forward size Right 180-36 Forward size Left 72 Next [ manoeuvre back ] Left 54 Pen Up Backward size*.5 Right 36 Pen Down #PROCEDURE StarCircle radius,colour turn=15 starsize=radius/10 [ manoeuvre ] Width 0 Fill colour Ink colour Pen Up Left 90 Forward radius Right 90 Pen Down [ plot circle of stars ] Repeat 12 Star starsize Pen Up Right turn Forward (Pi*radius)/6 Left turn Pen Down turn=turn+360/12 Next [ manoeuvre back ] Pen Up Right 90 Forward radius Left 90 Pen Down #PROCEDURE Box size,colour [ manoeuvre ] Left 135 Pen Up Forward Sqr( (size^2)*2 ) Pen Down Right 135 Fill colour [ plot box ] Repeat 4 Forward size*2 Right 90 Next [ manoeuvre back ] Left 135 Pen Up Backward Sqr( (size^2)*2 ) Pen Down Right 135
00000000 5b 20 31 32 20 73 74 61 72 20 45 55 20 46 6c 61 |[ 12 star EU Fla| 00000010 67 20 5d 0a 5b 20 4e 6f 74 65 20 45 55 20 6e 6f |g ].[ Note EU no| 00000020 74 20 45 43 20 61 6e 79 6d 6f 72 65 2e 2e 2e 21 |t EC anymore...!| 00000030 20 5d 0a 50 6f 69 6e 74 65 72 20 41 72 72 6f 77 | ].Pointer Arrow| 00000040 0a 42 6f 78 20 36 30 20 42 6c 75 65 0a 53 74 61 |.Box 60 Blue.Sta| 00000050 72 43 69 72 63 6c 65 20 34 30 20 59 65 6c 6c 6f |rCircle 40 Yello| 00000060 77 0a 23 50 52 4f 43 45 44 55 52 45 20 53 74 61 |w.#PROCEDURE Sta| 00000070 72 20 73 69 7a 65 0a 5b 20 6d 61 6e 6f 65 75 76 |r size.[ manoeuv| 00000080 72 65 20 5d 0a 50 65 6e 20 55 70 0a 4c 65 66 74 |re ].Pen Up.Left| 00000090 20 33 36 0a 46 6f 72 77 61 72 64 20 73 69 7a 65 | 36.Forward size| 000000a0 2a 2e 35 0a 50 65 6e 20 44 6f 77 6e 0a 52 69 67 |*.5.Pen Down.Rig| 000000b0 68 74 20 35 34 0a 0a 5b 20 70 6c 6f 74 20 73 74 |ht 54..[ plot st| 000000c0 61 72 20 5d 0a 52 65 70 65 61 74 20 35 0a 46 6f |ar ].Repeat 5.Fo| 000000d0 72 77 61 72 64 20 73 69 7a 65 0a 52 69 67 68 74 |rward size.Right| 000000e0 20 31 38 30 2d 33 36 0a 46 6f 72 77 61 72 64 20 | 180-36.Forward | 000000f0 73 69 7a 65 0a 4c 65 66 74 20 37 32 0a 4e 65 78 |size.Left 72.Nex| 00000100 74 0a 0a 5b 20 6d 61 6e 6f 65 75 76 72 65 20 62 |t..[ manoeuvre b| 00000110 61 63 6b 20 5d 0a 4c 65 66 74 20 35 34 0a 50 65 |ack ].Left 54.Pe| 00000120 6e 20 55 70 0a 42 61 63 6b 77 61 72 64 20 73 69 |n Up.Backward si| 00000130 7a 65 2a 2e 35 0a 52 69 67 68 74 20 33 36 0a 50 |ze*.5.Right 36.P| 00000140 65 6e 20 44 6f 77 6e 0a 23 50 52 4f 43 45 44 55 |en Down.#PROCEDU| 00000150 52 45 20 53 74 61 72 43 69 72 63 6c 65 20 72 61 |RE StarCircle ra| 00000160 64 69 75 73 2c 63 6f 6c 6f 75 72 0a 74 75 72 6e |dius,colour.turn| 00000170 3d 31 35 0a 73 74 61 72 73 69 7a 65 3d 72 61 64 |=15.starsize=rad| 00000180 69 75 73 2f 31 30 0a 0a 5b 20 6d 61 6e 6f 65 75 |ius/10..[ manoeu| 00000190 76 72 65 20 5d 0a 57 69 64 74 68 20 30 0a 46 69 |vre ].Width 0.Fi| 000001a0 6c 6c 20 63 6f 6c 6f 75 72 0a 49 6e 6b 20 63 6f |ll colour.Ink co| 000001b0 6c 6f 75 72 0a 50 65 6e 20 55 70 0a 4c 65 66 74 |lour.Pen Up.Left| 000001c0 20 39 30 0a 46 6f 72 77 61 72 64 20 72 61 64 69 | 90.Forward radi| 000001d0 75 73 0a 52 69 67 68 74 20 39 30 0a 50 65 6e 20 |us.Right 90.Pen | 000001e0 44 6f 77 6e 0a 0a 5b 20 70 6c 6f 74 20 63 69 72 |Down..[ plot cir| 000001f0 63 6c 65 20 6f 66 20 73 74 61 72 73 20 5d 0a 52 |cle of stars ].R| 00000200 65 70 65 61 74 20 31 32 0a 53 74 61 72 20 73 74 |epeat 12.Star st| 00000210 61 72 73 69 7a 65 0a 50 65 6e 20 55 70 0a 52 69 |arsize.Pen Up.Ri| 00000220 67 68 74 20 74 75 72 6e 0a 46 6f 72 77 61 72 64 |ght turn.Forward| 00000230 20 28 50 69 2a 72 61 64 69 75 73 29 2f 36 0a 4c | (Pi*radius)/6.L| 00000240 65 66 74 20 74 75 72 6e 0a 50 65 6e 20 44 6f 77 |eft turn.Pen Dow| 00000250 6e 0a 74 75 72 6e 3d 74 75 72 6e 2b 33 36 30 2f |n.turn=turn+360/| 00000260 31 32 0a 4e 65 78 74 0a 0a 5b 20 6d 61 6e 6f 65 |12.Next..[ manoe| 00000270 75 76 72 65 20 62 61 63 6b 20 5d 0a 50 65 6e 20 |uvre back ].Pen | 00000280 55 70 0a 52 69 67 68 74 20 39 30 0a 46 6f 72 77 |Up.Right 90.Forw| 00000290 61 72 64 20 72 61 64 69 75 73 0a 4c 65 66 74 20 |ard radius.Left | 000002a0 39 30 0a 50 65 6e 20 44 6f 77 6e 0a 23 50 52 4f |90.Pen Down.#PRO| 000002b0 43 45 44 55 52 45 20 42 6f 78 20 73 69 7a 65 2c |CEDURE Box size,| 000002c0 63 6f 6c 6f 75 72 0a 5b 20 6d 61 6e 6f 65 75 76 |colour.[ manoeuv| 000002d0 72 65 20 5d 0a 4c 65 66 74 20 31 33 35 0a 50 65 |re ].Left 135.Pe| 000002e0 6e 20 55 70 0a 46 6f 72 77 61 72 64 20 53 71 72 |n Up.Forward Sqr| 000002f0 28 20 28 73 69 7a 65 5e 32 29 2a 32 20 29 0a 50 |( (size^2)*2 ).P| 00000300 65 6e 20 44 6f 77 6e 0a 52 69 67 68 74 20 31 33 |en Down.Right 13| 00000310 35 0a 46 69 6c 6c 20 63 6f 6c 6f 75 72 0a 0a 5b |5.Fill colour..[| 00000320 20 70 6c 6f 74 20 62 6f 78 20 5d 0a 52 65 70 65 | plot box ].Repe| 00000330 61 74 20 34 0a 46 6f 72 77 61 72 64 20 73 69 7a |at 4.Forward siz| 00000340 65 2a 32 0a 52 69 67 68 74 20 39 30 0a 4e 65 78 |e*2.Right 90.Nex| 00000350 74 0a 0a 5b 20 6d 61 6e 6f 65 75 76 72 65 20 62 |t..[ manoeuvre b| 00000360 61 63 6b 20 5d 0a 4c 65 66 74 20 31 33 35 0a 50 |ack ].Left 135.P| 00000370 65 6e 20 55 70 0a 42 61 63 6b 77 61 72 64 20 53 |en Up.Backward S| 00000380 71 72 28 20 28 73 69 7a 65 5e 32 29 2a 32 20 29 |qr( (size^2)*2 )| 00000390 0a 50 65 6e 20 44 6f 77 6e 0a 52 69 67 68 74 20 |.Pen Down.Right | 000003a0 31 33 35 |135| 000003a3