Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape20b_acorn_eu_1991_march.wav » R.Staves

R.Staves

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 » Personal collection » Acorn tapes » Electron_User » Electron_User_tape20b_acorn_eu_1991_march.wav
Filename: R.Staves
Read OK:
File size: 01F8 bytes
Load address: FFFF1A00
Exec address: FFFF8023
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10REM Music staves printer
   20REM by Thomas How
   30REM (c) The Micro User
   40REM March 1991
   50MODE 7
   60PRINT ''"MUSIC STAVES PRINTER"'':INPUT "Number of staves required",n
   70INPUT "Gap between each set",g
   80INPUT "Length of each set (1-490)",l:IF l<1 OR l>490 PRINT "  Bad number!"':GOTO 60
   90VDU 2:PRINT:FOR T=1 TO n
  100FOR L=1 TO g:PRINT:NEXT
  110FOR P=1 TO 2:VDU 1,27,1,76
  120VDU 1,(2*l) MOD 256
  130VDU 1,(2*l) DIV 256
  140FOR I=1 TO (2*l):VDU 1,132:NEXT
  150VDU 1,10:NEXT P:VDU 1,27,1,76
  160VDU 1,(2*l) MOD 256
  170VDU 1,(2*l) DIV 256
  180FOR I=1 TO (2*l):VDU 1,128:NEXT
  190VDU 1,10:NEXT:PRINT''':VDU 3:END

� Music staves printer
� by Thomas How
� (c) The Micro User
(� March 1991
2� 7
<@� ''"MUSIC STAVES PRINTER"'':� "Number of staves required",n
F� "Gap between each set",g
PL� "Length of each set (1-490)",l:� l<1 � l>490 � "  Bad number!"':� �T|@
Z� 2:�:� T=1 � n
d� L=1 � g:�:�
n� P=1 � 2:� 1,27,1,76
x� 1,(2*l) � 256
�� 1,(2*l) � 256
�� I=1 � (2*l):� 1,132:�
�� 1,10:� P:� 1,27,1,76
�� 1,(2*l) � 256
�� 1,(2*l) � 256
�� I=1 � (2*l):� 1,128:�
�� 1,10:�:�''':� 3:�
�
00000000  0d 00 0a 1a f4 20 4d 75  73 69 63 20 73 74 61 76  |..... Music stav|
00000010  65 73 20 70 72 69 6e 74  65 72 0d 00 14 13 f4 20  |es printer..... |
00000020  62 79 20 54 68 6f 6d 61  73 20 48 6f 77 0d 00 1e  |by Thomas How...|
00000030  18 f4 20 28 63 29 20 54  68 65 20 4d 69 63 72 6f  |.. (c) The Micro|
00000040  20 55 73 65 72 0d 00 28  10 f4 20 4d 61 72 63 68  | User..(.. March|
00000050  20 31 39 39 31 0d 00 32  07 eb 20 37 0d 00 3c 40  | 1991..2.. 7..<@|
00000060  f1 20 27 27 22 4d 55 53  49 43 20 53 54 41 56 45  |. ''"MUSIC STAVE|
00000070  53 20 50 52 49 4e 54 45  52 22 27 27 3a e8 20 22  |S PRINTER"'':. "|
00000080  4e 75 6d 62 65 72 20 6f  66 20 73 74 61 76 65 73  |Number of staves|
00000090  20 72 65 71 75 69 72 65  64 22 2c 6e 0d 00 46 1e  | required",n..F.|
000000a0  e8 20 22 47 61 70 20 62  65 74 77 65 65 6e 20 65  |. "Gap between e|
000000b0  61 63 68 20 73 65 74 22  2c 67 0d 00 50 4c e8 20  |ach set",g..PL. |
000000c0  22 4c 65 6e 67 74 68 20  6f 66 20 65 61 63 68 20  |"Length of each |
000000d0  73 65 74 20 28 31 2d 34  39 30 29 22 2c 6c 3a e7  |set (1-490)",l:.|
000000e0  20 6c 3c 31 20 84 20 6c  3e 34 39 30 20 f1 20 22  | l<1 . l>490 . "|
000000f0  20 20 42 61 64 20 6e 75  6d 62 65 72 21 22 27 3a  |  Bad number!"':|
00000100  e5 20 8d 54 7c 40 0d 00  5a 13 ef 20 32 3a f1 3a  |. .T|@..Z.. 2:.:|
00000110  e3 20 54 3d 31 20 b8 20  6e 0d 00 64 11 e3 20 4c  |. T=1 . n..d.. L|
00000120  3d 31 20 b8 20 67 3a f1  3a ed 0d 00 6e 19 e3 20  |=1 . g:.:...n.. |
00000130  50 3d 31 20 b8 20 32 3a  ef 20 31 2c 32 37 2c 31  |P=1 . 2:. 1,27,1|
00000140  2c 37 36 0d 00 78 13 ef  20 31 2c 28 32 2a 6c 29  |,76..x.. 1,(2*l)|
00000150  20 83 20 32 35 36 0d 00  82 13 ef 20 31 2c 28 32  | . 256..... 1,(2|
00000160  2a 6c 29 20 81 20 32 35  36 0d 00 8c 1b e3 20 49  |*l) . 256..... I|
00000170  3d 31 20 b8 20 28 32 2a  6c 29 3a ef 20 31 2c 31  |=1 . (2*l):. 1,1|
00000180  33 32 3a ed 0d 00 96 1a  ef 20 31 2c 31 30 3a ed  |32:...... 1,10:.|
00000190  20 50 3a ef 20 31 2c 32  37 2c 31 2c 37 36 0d 00  | P:. 1,27,1,76..|
000001a0  a0 13 ef 20 31 2c 28 32  2a 6c 29 20 83 20 32 35  |... 1,(2*l) . 25|
000001b0  36 0d 00 aa 13 ef 20 31  2c 28 32 2a 6c 29 20 81  |6..... 1,(2*l) .|
000001c0  20 32 35 36 0d 00 b4 1b  e3 20 49 3d 31 20 b8 20  | 256..... I=1 . |
000001d0  28 32 2a 6c 29 3a ef 20  31 2c 31 32 38 3a ed 0d  |(2*l):. 1,128:..|
000001e0  00 be 17 ef 20 31 2c 31  30 3a ed 3a f1 27 27 27  |.... 1,10:.:.'''|
000001f0  3a ef 20 33 3a e0 0d ff                           |:. 3:...|
000001f8
R.Staves.m0
R.Staves.m1
R.Staves.m2
R.Staves.m4
R.Staves.m5