Home » Archimedes archive » Archimedes World » AW-1995-02-Disc1.adf » Disk1Feb95 » !AWFeb95/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5
!AWFeb95/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5
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-1995-02-Disc1.adf » Disk1Feb95 |
Filename: | !AWFeb95/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5 |
Read OK: | ✔ |
File size: | 00E3 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There are 4 duplicate copies of this file in the archive:
- Archimedes archive » Archimedes World » AW-1994-12-Disc1.adf » Disk1Dec94 » !AWDec94/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5
- Archimedes archive » Archimedes World » AW-1995-01-Disc1.adf » Disk1Jan95 » !AWJan95/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5
- Archimedes archive » Archimedes World » AW-1995-05-Disc1.adf » AWMay95_1 » InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5
- Archimedes archive » Archimedes World » AW-1995-02-Disc1.adf » Disk1Feb95 » !AWFeb95/Goodies/DrawBasic/!DrawBasic/Library/Examples/Chapter/EX_5
- Archimedes archive » Archimedes World » AW-1995-02-Disc1.adf » Disk1Feb95 » !AWFeb95/Goodies/DrawBasic/Style/WindRule/Chess
File contents
�Fill(�Black) �WindingRule(0) �Chessboard �Quit DEF �Chessboard LOCAL n,path n=4 �Origin(4,4) �PathBegin(path) FOR x=-n TO n �@Rectangle(x,-n,n-x,2*n) NEXT FOR y=-n TO n �@Rectangle(-n,y,2*n,n-y) NEXT �PathEnd ENDPROC
00000000 a0 46 69 6c 6c 28 bb 42 6c 61 63 6b 29 0a a0 57 |.Fill(.Black)..W| 00000010 69 6e 64 69 6e 67 52 75 6c 65 28 30 29 0a a0 43 |indingRule(0)..C| 00000020 68 65 73 73 62 6f 61 72 64 0a a0 51 75 69 74 0a |hessboard..Quit.| 00000030 0a 44 45 46 20 a0 43 68 65 73 73 62 6f 61 72 64 |.DEF .Chessboard| 00000040 0a 4c 4f 43 41 4c 20 6e 2c 70 61 74 68 0a 20 6e |.LOCAL n,path. n| 00000050 3d 34 0a a0 4f 72 69 67 69 6e 28 34 2c 34 29 0a |=4..Origin(4,4).| 00000060 a0 50 61 74 68 42 65 67 69 6e 28 70 61 74 68 29 |.PathBegin(path)| 00000070 0a 20 46 4f 52 20 78 3d 2d 6e 20 54 4f 20 6e 0a |. FOR x=-n TO n.| 00000080 20 a0 40 52 65 63 74 61 6e 67 6c 65 28 78 2c 2d | .@Rectangle(x,-| 00000090 6e 2c 6e 2d 78 2c 32 2a 6e 29 0a 20 20 4e 45 58 |n,n-x,2*n). NEX| 000000a0 54 0a 20 46 4f 52 20 79 3d 2d 6e 20 54 4f 20 6e |T. FOR y=-n TO n| 000000b0 0a 20 a0 40 52 65 63 74 61 6e 67 6c 65 28 2d 6e |. .@Rectangle(-n| 000000c0 2c 79 2c 32 2a 6e 2c 6e 2d 79 29 0a 20 20 4e 45 |,y,2*n,n-y). NE| 000000d0 58 54 0a a0 50 61 74 68 45 6e 64 0a 45 4e 44 50 |XT..PathEnd.ENDP| 000000e0 52 4f 43 |ROC| 000000e3