Home » Archimedes archive » Micro User » MU 1991-10.adf » Listings » Routines/BxOutln

Routines/BxOutln

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 » Micro User » MU 1991-10.adf » Listings
Filename: Routines/BxOutln
Read OK:
File size: 02C9 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM Box Outline
   20REM by Pete Goodliffe
   30REM (c) The Micro User
   40MODE 1:VDU 23,1,0;0;0;0;23,128,170,85,170,85,170,85,170,85:COLOUR 2:COLOUR 129:FOR N=0 TO 30:PRINT STRING$(40,CHR$128);:NEXT:COLOUR 131:COLOUR 0
   50PROCbox(100,900,1180,1000,0,3)
   60PRINT TAB(12,2)"The Box Outline"
   70PROCbox(200,400,1080,800,0,3)
   80PRINT TAB(14,10)"A simple but"TAB(12,12)"effective way of"TAB(10,14)"tidying  up displays"TAB(14,17)"Press RETURN"
   90PROCbox(300,50,980,300,0,3)
  100PRINT TAB(11,25)"by  Pete Goodliffe"TAB(11,27)"(c) The Micro User"
  110REPEAT UNTIL INKEY(-74)
  120PROCbox(150,150,1130,850,0,3)
  130VDU 28,5,26,34,6:END
  140DEFPROCbox(X1,Y1,X2,Y2,I1,I2)
  150GCOL 0,I1:MOVE X2,Y1:MOVE X1,Y1:PLOT 85,X2,Y2:PLOT 85,X1,Y2:MOVE X2+8,Y1-8:MOVE X1+16,Y1-8:PLOT 85,X2+8,Y2-16:PLOT 85,X1+16,Y2-16
  160GCOL 0,I2:MOVE X2-8,Y1+8:MOVE X1+8,Y1+8:PLOT 85,X2-8,Y2-8:PLOT 85,X1+8,Y2-8:ENDPROC

� Box Outline
� by Pete Goodliffe
� (c) The Micro User
(g� 1:� 23,1,0;0;0;0;23,128,170,85,170,85,170,85,170,85:� 2:� 129:� N=0 � 30:� �40,�128);:�:� 131:� 0
2�box(100,900,1180,1000,0,3)
<� �12,2)"The Box Outline"
F�box(200,400,1080,800,0,3)
Pf� �14,10)"A simple but"�12,12)"effective way of"�10,14)"tidying  up displays"�14,17)"Press RETURN"
Z�box(300,50,980,300,0,3)
d<� �11,25)"by  Pete Goodliffe"�11,27)"(c) The Micro User"
n� � �(-74)
x�box(150,150,1130,850,0,3)
�� 28,5,26,34,6:�
���box(X1,Y1,X2,Y2,I1,I2)
�j� 0,I1:� X2,Y1:� X1,Y1:� 85,X2,Y2:� 85,X1,Y2:� X2+8,Y1-8:� X1+16,Y1-8:� 85,X2+8,Y2-16:� 85,X1+16,Y2-16
�B� 0,I2:� X2-8,Y1+8:� X1+8,Y1+8:� 85,X2-8,Y2-8:� 85,X1+8,Y2-8:�
�
00000000  0d 00 0a 11 f4 20 42 6f  78 20 4f 75 74 6c 69 6e  |..... Box Outlin|
00000010  65 0d 00 14 17 f4 20 62  79 20 50 65 74 65 20 47  |e..... by Pete G|
00000020  6f 6f 64 6c 69 66 66 65  0d 00 1e 18 f4 20 28 63  |oodliffe..... (c|
00000030  29 20 54 68 65 20 4d 69  63 72 6f 20 55 73 65 72  |) The Micro User|
00000040  0d 00 28 67 eb 20 31 3a  ef 20 32 33 2c 31 2c 30  |..(g. 1:. 23,1,0|
00000050  3b 30 3b 30 3b 30 3b 32  33 2c 31 32 38 2c 31 37  |;0;0;0;23,128,17|
00000060  30 2c 38 35 2c 31 37 30  2c 38 35 2c 31 37 30 2c  |0,85,170,85,170,|
00000070  38 35 2c 31 37 30 2c 38  35 3a fb 20 32 3a fb 20  |85,170,85:. 2:. |
00000080  31 32 39 3a e3 20 4e 3d  30 20 b8 20 33 30 3a f1  |129:. N=0 . 30:.|
00000090  20 c4 34 30 2c bd 31 32  38 29 3b 3a ed 3a fb 20  | .40,.128);:.:. |
000000a0  31 33 31 3a fb 20 30 0d  00 32 1f f2 62 6f 78 28  |131:. 0..2..box(|
000000b0  31 30 30 2c 39 30 30 2c  31 31 38 30 2c 31 30 30  |100,900,1180,100|
000000c0  30 2c 30 2c 33 29 0d 00  3c 1d f1 20 8a 31 32 2c  |0,0,3)..<.. .12,|
000000d0  32 29 22 54 68 65 20 42  6f 78 20 4f 75 74 6c 69  |2)"The Box Outli|
000000e0  6e 65 22 0d 00 46 1e f2  62 6f 78 28 32 30 30 2c  |ne"..F..box(200,|
000000f0  34 30 30 2c 31 30 38 30  2c 38 30 30 2c 30 2c 33  |400,1080,800,0,3|
00000100  29 0d 00 50 66 f1 20 8a  31 34 2c 31 30 29 22 41  |)..Pf. .14,10)"A|
00000110  20 73 69 6d 70 6c 65 20  62 75 74 22 8a 31 32 2c  | simple but".12,|
00000120  31 32 29 22 65 66 66 65  63 74 69 76 65 20 77 61  |12)"effective wa|
00000130  79 20 6f 66 22 8a 31 30  2c 31 34 29 22 74 69 64  |y of".10,14)"tid|
00000140  79 69 6e 67 20 20 75 70  20 64 69 73 70 6c 61 79  |ying  up display|
00000150  73 22 8a 31 34 2c 31 37  29 22 50 72 65 73 73 20  |s".14,17)"Press |
00000160  52 45 54 55 52 4e 22 0d  00 5a 1c f2 62 6f 78 28  |RETURN"..Z..box(|
00000170  33 30 30 2c 35 30 2c 39  38 30 2c 33 30 30 2c 30  |300,50,980,300,0|
00000180  2c 33 29 0d 00 64 3c f1  20 8a 31 31 2c 32 35 29  |,3)..d<. .11,25)|
00000190  22 62 79 20 20 50 65 74  65 20 47 6f 6f 64 6c 69  |"by  Pete Goodli|
000001a0  66 66 65 22 8a 31 31 2c  32 37 29 22 28 63 29 20  |ffe".11,27)"(c) |
000001b0  54 68 65 20 4d 69 63 72  6f 20 55 73 65 72 22 0d  |The Micro User".|
000001c0  00 6e 0e f5 20 fd 20 a6  28 2d 37 34 29 0d 00 78  |.n.. . .(-74)..x|
000001d0  1e f2 62 6f 78 28 31 35  30 2c 31 35 30 2c 31 31  |..box(150,150,11|
000001e0  33 30 2c 38 35 30 2c 30  2c 33 29 0d 00 82 14 ef  |30,850,0,3).....|
000001f0  20 32 38 2c 35 2c 32 36  2c 33 34 2c 36 3a e0 0d  | 28,5,26,34,6:..|
00000200  00 8c 1c dd f2 62 6f 78  28 58 31 2c 59 31 2c 58  |.....box(X1,Y1,X|
00000210  32 2c 59 32 2c 49 31 2c  49 32 29 0d 00 96 6a e6  |2,Y2,I1,I2)...j.|
00000220  20 30 2c 49 31 3a ec 20  58 32 2c 59 31 3a ec 20  | 0,I1:. X2,Y1:. |
00000230  58 31 2c 59 31 3a f0 20  38 35 2c 58 32 2c 59 32  |X1,Y1:. 85,X2,Y2|
00000240  3a f0 20 38 35 2c 58 31  2c 59 32 3a ec 20 58 32  |:. 85,X1,Y2:. X2|
00000250  2b 38 2c 59 31 2d 38 3a  ec 20 58 31 2b 31 36 2c  |+8,Y1-8:. X1+16,|
00000260  59 31 2d 38 3a f0 20 38  35 2c 58 32 2b 38 2c 59  |Y1-8:. 85,X2+8,Y|
00000270  32 2d 31 36 3a f0 20 38  35 2c 58 31 2b 31 36 2c  |2-16:. 85,X1+16,|
00000280  59 32 2d 31 36 0d 00 a0  42 e6 20 30 2c 49 32 3a  |Y2-16...B. 0,I2:|
00000290  ec 20 58 32 2d 38 2c 59  31 2b 38 3a ec 20 58 31  |. X2-8,Y1+8:. X1|
000002a0  2b 38 2c 59 31 2b 38 3a  f0 20 38 35 2c 58 32 2d  |+8,Y1+8:. 85,X2-|
000002b0  38 2c 59 32 2d 38 3a f0  20 38 35 2c 58 31 2b 38  |8,Y2-8:. 85,X1+8|
000002c0  2c 59 32 2d 38 3a e1 0d  ff                       |,Y2-8:...|
000002c9