Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape26b_acorn_eu_1991_august.wav » GeogDT3

GeogDT3

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_tape26b_acorn_eu_1991_august.wav
Filename: GeogDT3
Read OK:
File size: 07A1 bytes
Load address: FFFF1A00
Exec address: FFFF8023
Duplicates

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

File contents
   10REM >GEOGDT3
   20REM PLOTTER PROGRAM FOR DXY-1200
   30REM 1 PLOT FOR EACH QUESTION
   40REM by R.T.POET MAY 1990 Version 1
   50REM (c) The Micro User
   60Q$="WHAT IS THE DATAFILE NAME"
   70PRINT Q$;:INPUT "",datafile$
   80fileref= OPENIN datafile$
   90INPUT#  fileref, number
  100INPUT#  fileref, areas
  110barsize = 9000/areas
  120DIM question$(number)
  130DIM ans(number,areas)
  140FOR question = 1 TO number
  150INPUT# fileref,question$(question)
  160FOR area = 1 TO areas
  170INPUT# fileref,ans(question,area)
  180NEXT area
  190NEXT question
  200CLOSE# fileref
  210D$="Data from datafile "
  220PRINT D$;datafile$
  230FOR question = 1 TO number
  240REM Check paper / pen / speed:-
  250REPEAT
  260INPUT "Paper ready? (Y)",B$
  270UNTIL ((B$="Y") OR (B$="y"))
  280REPEAT
  290INPUT"WHICH PEN? (1 to 8) ", pen
  300UNTIL ((pen<9) AND (pen>0))
  310REPEAT
  320INPUT "SPEED? (1to 42) ",speed
  330UNTIL((speed<43)AND(speed>0))
  340VDU 2:REM TURN ON OUTPUT
  350PRINT"IN;SP";pen;";VS";speed;";"
  360REM SET TEXT TERMINATOR (DEFAULT)
  370PRINT "DT":VDU1,3
  380REM ADJUST FOR A4 PAPER
  390PRINT "IP1000,0,6000,5000;"
  400REM PLOT VALUE RANGE 10000:-
  410PRINT "SC0,10000,0,10000;"
  420PRINT "PU;PA2000,9500;"
  430PRINT "SR3,3;"
  440Q$=question$(question)
  450PRINT "DI1,0;LB";Q$:VDU1,3
  460PRINT "DI1,0;"
  470PRINT "SR1,1;"
  480PRINT "PU;PA250,3500"
  490PRINT "SR1.5,1.5;"
  500L1$="ENVIRONMENTAL QUALITY"
  510PRINT "DI0,1;LB";L1$:VDU1,3
  520PRINT "PU;PA750,3500"
  530L2$=" CLASSIFICATION SCORE"
  540PRINT "DI0,1;LB";L2$:VDU1,3
  550PRINT "SR1,1;"
  560PRINT "DI1,0;"
  570PRINT "PU;PA0,2900"
  580PRINT "SR2,2;"
  590PRINT "LB0%":VDU1,3
  600PRINT "SR1,1;"
  610PRINT "PU;PA0,8900"
  620PRINT "SR2,2;"
  630PRINT "LB100":VDU1,3
  640PRINT "SR1,1;"
  650PRINT "PA;"
  660PRINT "PU1000,9000;"
  670PRINT "PD1000,3000;"
  680X=1000+barsize*areas
  690PRINT "PD";STR$(X)",3000;"
  700FOR area = 1 TO areas
  710X=1000+barsize*(area-1)
  720Y=3000+(60*ans(question,area))
  730PRINT "PU";STR$(X);",3000;"
  740PRINT "PD";STR$(X);",";STR$(Y);";"
  750X=1000+barsize*(area)
  760PRINT "PD";STR$(X);",";STR$(Y);";"
  770PRINT "PD";STR$(X);",3000;"
  780X0=1000 +barsize/2
  790X=X0++barsize*(area-1)
  800PRINT "PU";STR$(X);",500;"
  810PRINT "SR2,2;"
  820PRINT "DI0,1;LB AREA ";
  830PRINTSTR$(area):VDU1,3
  840PRINT "SR1,1;"
  850PRINT "DI1,0;"
  860NEXT area
  870PRINT "SP0;":VDU 3
  880NEXT question
  890VDU 3
  900END

� >GEOGDT3
"� PLOTTER PROGRAM FOR DXY-1200
� 1 PLOT FOR EACH QUESTION
($� by R.T.POET MAY 1990 Version 1
2� (c) The Micro User
<"Q$="WHAT IS THE DATAFILE NAME"
F� Q$;:� "",datafile$
Pfileref= � datafile$
Z�#  fileref, number
d�#  fileref, areas
nbarsize = 9000/areas
x� question$(number)
�� ans(number,areas)
�� question = 1 � number
�"�# fileref,question$(question)
�� area = 1 � areas
�!�# fileref,ans(question,area)
�
� area
�� question
��# fileref
�D$="Data from datafile "
�� D$;datafile$
�� question = 1 � number
�!� Check paper / pen / speed:-
��
� "Paper ready? (Y)",B$
� ((B$="Y") � (B$="y"))
�
" �"WHICH PEN? (1 to 8) ", pen
,� ((pen<9) � (pen>0))
6�
@� "SPEED? (1to 42) ",speed
J�((speed<43)�(speed>0))
T� 2:� TURN ON OUTPUT
^ �"IN;SP";pen;";VS";speed;";"
h#� SET TEXT TERMINATOR (DEFAULT)
r� "DT":�1,3
|� ADJUST FOR A4 PAPER
�� "IP1000,0,6000,5000;"
�� PLOT VALUE RANGE 10000:-
�� "SC0,10000,0,10000;"
�� "PU;PA2000,9500;"
�� "SR3,3;"
�Q$=question$(question)
�� "DI1,0;LB";Q$:�1,3
�� "DI1,0;"
�� "SR1,1;"
�� "PU;PA250,3500"
�� "SR1.5,1.5;"
�L1$="ENVIRONMENTAL QUALITY"
�� "DI0,1;LB";L1$:�1,3
� "PU;PA750,3500"
L2$=" CLASSIFICATION SCORE"
� "DI0,1;LB";L2$:�1,3
&� "SR1,1;"
0� "DI1,0;"
:� "PU;PA0,2900"
D� "SR2,2;"
N� "LB0%":�1,3
X� "SR1,1;"
b� "PU;PA0,8900"
l� "SR2,2;"
v� "LB100":�1,3
�� "SR1,1;"
�� "PA;"
�� "PU1000,9000;"
�� "PD1000,3000;"
�X=1000+barsize*areas
�� "PD";�(X)",3000;"
�� area = 1 � areas
�X=1000+barsize*(area-1)
�"Y=3000+(60*ans(question,area))
�� "PU";�(X);",3000;"
�� "PD";�(X);",";�(Y);";"
�X=1000+barsize*(area)
�� "PD";�(X);",";�(Y);";"
� "PD";�(X);",3000;"
X0=1000 +barsize/2
X=X0++barsize*(area-1)
 � "PU";�(X);",500;"
*� "SR2,2;"
4� "DI0,1;LB AREA ";
>��(area):�1,3
H� "SR1,1;"
R� "DI1,0;"
\
� area
f� "SP0;":� 3
p� question
z� 3
��
�
00000000  0d 00 0a 0e f4 20 3e 47  45 4f 47 44 54 33 0d 00  |..... >GEOGDT3..|
00000010  14 22 f4 20 50 4c 4f 54  54 45 52 20 50 52 4f 47  |.". PLOTTER PROG|
00000020  52 41 4d 20 46 4f 52 20  44 58 59 2d 31 32 30 30  |RAM FOR DXY-1200|
00000030  0d 00 1e 1e f4 20 31 20  50 4c 4f 54 20 46 4f 52  |..... 1 PLOT FOR|
00000040  20 45 41 43 48 20 51 55  45 53 54 49 4f 4e 0d 00  | EACH QUESTION..|
00000050  28 24 f4 20 62 79 20 52  2e 54 2e 50 4f 45 54 20  |($. by R.T.POET |
00000060  4d 41 59 20 31 39 39 30  20 56 65 72 73 69 6f 6e  |MAY 1990 Version|
00000070  20 31 0d 00 32 18 f4 20  28 63 29 20 54 68 65 20  | 1..2.. (c) The |
00000080  4d 69 63 72 6f 20 55 73  65 72 0d 00 3c 22 51 24  |Micro User..<"Q$|
00000090  3d 22 57 48 41 54 20 49  53 20 54 48 45 20 44 41  |="WHAT IS THE DA|
000000a0  54 41 46 49 4c 45 20 4e  41 4d 45 22 0d 00 46 18  |TAFILE NAME"..F.|
000000b0  f1 20 51 24 3b 3a e8 20  22 22 2c 64 61 74 61 66  |. Q$;:. "",dataf|
000000c0  69 6c 65 24 0d 00 50 18  66 69 6c 65 72 65 66 3d  |ile$..P.fileref=|
000000d0  20 8e 20 64 61 74 61 66  69 6c 65 24 0d 00 5a 17  | . datafile$..Z.|
000000e0  e8 23 20 20 66 69 6c 65  72 65 66 2c 20 6e 75 6d  |.#  fileref, num|
000000f0  62 65 72 0d 00 64 16 e8  23 20 20 66 69 6c 65 72  |ber..d..#  filer|
00000100  65 66 2c 20 61 72 65 61  73 0d 00 6e 18 62 61 72  |ef, areas..n.bar|
00000110  73 69 7a 65 20 3d 20 39  30 30 30 2f 61 72 65 61  |size = 9000/area|
00000120  73 0d 00 78 17 de 20 71  75 65 73 74 69 6f 6e 24  |s..x.. question$|
00000130  28 6e 75 6d 62 65 72 29  0d 00 82 17 de 20 61 6e  |(number)..... an|
00000140  73 28 6e 75 6d 62 65 72  2c 61 72 65 61 73 29 0d  |s(number,areas).|
00000150  00 8c 1b e3 20 71 75 65  73 74 69 6f 6e 20 3d 20  |.... question = |
00000160  31 20 b8 20 6e 75 6d 62  65 72 0d 00 96 22 e8 23  |1 . number...".#|
00000170  20 66 69 6c 65 72 65 66  2c 71 75 65 73 74 69 6f  | fileref,questio|
00000180  6e 24 28 71 75 65 73 74  69 6f 6e 29 0d 00 a0 16  |n$(question)....|
00000190  e3 20 61 72 65 61 20 3d  20 31 20 b8 20 61 72 65  |. area = 1 . are|
000001a0  61 73 0d 00 aa 21 e8 23  20 66 69 6c 65 72 65 66  |as...!.# fileref|
000001b0  2c 61 6e 73 28 71 75 65  73 74 69 6f 6e 2c 61 72  |,ans(question,ar|
000001c0  65 61 29 0d 00 b4 0a ed  20 61 72 65 61 0d 00 be  |ea)..... area...|
000001d0  0e ed 20 71 75 65 73 74  69 6f 6e 0d 00 c8 0e d9  |.. question.....|
000001e0  23 20 66 69 6c 65 72 65  66 0d 00 d2 1c 44 24 3d  |# fileref....D$=|
000001f0  22 44 61 74 61 20 66 72  6f 6d 20 64 61 74 61 66  |"Data from dataf|
00000200  69 6c 65 20 22 0d 00 dc  12 f1 20 44 24 3b 64 61  |ile "..... D$;da|
00000210  74 61 66 69 6c 65 24 0d  00 e6 1b e3 20 71 75 65  |tafile$..... que|
00000220  73 74 69 6f 6e 20 3d 20  31 20 b8 20 6e 75 6d 62  |stion = 1 . numb|
00000230  65 72 0d 00 f0 21 f4 20  43 68 65 63 6b 20 70 61  |er...!. Check pa|
00000240  70 65 72 20 2f 20 70 65  6e 20 2f 20 73 70 65 65  |per / pen / spee|
00000250  64 3a 2d 0d 00 fa 05 f5  0d 01 04 1b e8 20 22 50  |d:-.......... "P|
00000260  61 70 65 72 20 72 65 61  64 79 3f 20 28 59 29 22  |aper ready? (Y)"|
00000270  2c 42 24 0d 01 0e 1b fd  20 28 28 42 24 3d 22 59  |,B$..... ((B$="Y|
00000280  22 29 20 84 20 28 42 24  3d 22 79 22 29 29 0d 01  |") . (B$="y"))..|
00000290  18 05 f5 0d 01 22 20 e8  22 57 48 49 43 48 20 50  |....." ."WHICH P|
000002a0  45 4e 3f 20 28 31 20 74  6f 20 38 29 20 22 2c 20  |EN? (1 to 8) ", |
000002b0  70 65 6e 0d 01 2c 19 fd  20 28 28 70 65 6e 3c 39  |pen..,.. ((pen<9|
000002c0  29 20 80 20 28 70 65 6e  3e 30 29 29 0d 01 36 05  |) . (pen>0))..6.|
000002d0  f5 0d 01 40 1e e8 20 22  53 50 45 45 44 3f 20 28  |...@.. "SPEED? (|
000002e0  31 74 6f 20 34 32 29 20  22 2c 73 70 65 65 64 0d  |1to 42) ",speed.|
000002f0  01 4a 1b fd 28 28 73 70  65 65 64 3c 34 33 29 80  |.J..((speed<43).|
00000300  28 73 70 65 65 64 3e 30  29 29 0d 01 54 18 ef 20  |(speed>0))..T.. |
00000310  32 3a f4 20 54 55 52 4e  20 4f 4e 20 4f 55 54 50  |2:. TURN ON OUTP|
00000320  55 54 0d 01 5e 20 f1 22  49 4e 3b 53 50 22 3b 70  |UT..^ ."IN;SP";p|
00000330  65 6e 3b 22 3b 56 53 22  3b 73 70 65 65 64 3b 22  |en;";VS";speed;"|
00000340  3b 22 0d 01 68 23 f4 20  53 45 54 20 54 45 58 54  |;"..h#. SET TEXT|
00000350  20 54 45 52 4d 49 4e 41  54 4f 52 20 28 44 45 46  | TERMINATOR (DEF|
00000360  41 55 4c 54 29 0d 01 72  0f f1 20 22 44 54 22 3a  |AULT)..r.. "DT":|
00000370  ef 31 2c 33 0d 01 7c 19  f4 20 41 44 4a 55 53 54  |.1,3..|.. ADJUST|
00000380  20 46 4f 52 20 41 34 20  50 41 50 45 52 0d 01 86  | FOR A4 PAPER...|
00000390  1b f1 20 22 49 50 31 30  30 30 2c 30 2c 36 30 30  |.. "IP1000,0,600|
000003a0  30 2c 35 30 30 30 3b 22  0d 01 90 1e f4 20 50 4c  |0,5000;"..... PL|
000003b0  4f 54 20 56 41 4c 55 45  20 52 41 4e 47 45 20 31  |OT VALUE RANGE 1|
000003c0  30 30 30 30 3a 2d 0d 01  9a 1a f1 20 22 53 43 30  |0000:-..... "SC0|
000003d0  2c 31 30 30 30 30 2c 30  2c 31 30 30 30 30 3b 22  |,10000,0,10000;"|
000003e0  0d 01 a4 17 f1 20 22 50  55 3b 50 41 32 30 30 30  |..... "PU;PA2000|
000003f0  2c 39 35 30 30 3b 22 0d  01 ae 0e f1 20 22 53 52  |,9500;"..... "SR|
00000400  33 2c 33 3b 22 0d 01 b8  1a 51 24 3d 71 75 65 73  |3,3;"....Q$=ques|
00000410  74 69 6f 6e 24 28 71 75  65 73 74 69 6f 6e 29 0d  |tion$(question).|
00000420  01 c2 18 f1 20 22 44 49  31 2c 30 3b 4c 42 22 3b  |.... "DI1,0;LB";|
00000430  51 24 3a ef 31 2c 33 0d  01 cc 0e f1 20 22 44 49  |Q$:.1,3..... "DI|
00000440  31 2c 30 3b 22 0d 01 d6  0e f1 20 22 53 52 31 2c  |1,0;"..... "SR1,|
00000450  31 3b 22 0d 01 e0 15 f1  20 22 50 55 3b 50 41 32  |1;"..... "PU;PA2|
00000460  35 30 2c 33 35 30 30 22  0d 01 ea 12 f1 20 22 53  |50,3500"..... "S|
00000470  52 31 2e 35 2c 31 2e 35  3b 22 0d 01 f4 1f 4c 31  |R1.5,1.5;"....L1|
00000480  24 3d 22 45 4e 56 49 52  4f 4e 4d 45 4e 54 41 4c  |$="ENVIRONMENTAL|
00000490  20 51 55 41 4c 49 54 59  22 0d 01 fe 19 f1 20 22  | QUALITY"..... "|
000004a0  44 49 30 2c 31 3b 4c 42  22 3b 4c 31 24 3a ef 31  |DI0,1;LB";L1$:.1|
000004b0  2c 33 0d 02 08 15 f1 20  22 50 55 3b 50 41 37 35  |,3..... "PU;PA75|
000004c0  30 2c 33 35 30 30 22 0d  02 12 1f 4c 32 24 3d 22  |0,3500"....L2$="|
000004d0  20 43 4c 41 53 53 49 46  49 43 41 54 49 4f 4e 20  | CLASSIFICATION |
000004e0  53 43 4f 52 45 22 0d 02  1c 19 f1 20 22 44 49 30  |SCORE"..... "DI0|
000004f0  2c 31 3b 4c 42 22 3b 4c  32 24 3a ef 31 2c 33 0d  |,1;LB";L2$:.1,3.|
00000500  02 26 0e f1 20 22 53 52  31 2c 31 3b 22 0d 02 30  |.&.. "SR1,1;"..0|
00000510  0e f1 20 22 44 49 31 2c  30 3b 22 0d 02 3a 13 f1  |.. "DI1,0;"..:..|
00000520  20 22 50 55 3b 50 41 30  2c 32 39 30 30 22 0d 02  | "PU;PA0,2900"..|
00000530  44 0e f1 20 22 53 52 32  2c 32 3b 22 0d 02 4e 11  |D.. "SR2,2;"..N.|
00000540  f1 20 22 4c 42 30 25 22  3a ef 31 2c 33 0d 02 58  |. "LB0%":.1,3..X|
00000550  0e f1 20 22 53 52 31 2c  31 3b 22 0d 02 62 13 f1  |.. "SR1,1;"..b..|
00000560  20 22 50 55 3b 50 41 30  2c 38 39 30 30 22 0d 02  | "PU;PA0,8900"..|
00000570  6c 0e f1 20 22 53 52 32  2c 32 3b 22 0d 02 76 12  |l.. "SR2,2;"..v.|
00000580  f1 20 22 4c 42 31 30 30  22 3a ef 31 2c 33 0d 02  |. "LB100":.1,3..|
00000590  80 0e f1 20 22 53 52 31  2c 31 3b 22 0d 02 8a 0b  |... "SR1,1;"....|
000005a0  f1 20 22 50 41 3b 22 0d  02 94 14 f1 20 22 50 55  |. "PA;"..... "PU|
000005b0  31 30 30 30 2c 39 30 30  30 3b 22 0d 02 9e 14 f1  |1000,9000;".....|
000005c0  20 22 50 44 31 30 30 30  2c 33 30 30 30 3b 22 0d  | "PD1000,3000;".|
000005d0  02 a8 18 58 3d 31 30 30  30 2b 62 61 72 73 69 7a  |...X=1000+barsiz|
000005e0  65 2a 61 72 65 61 73 0d  02 b2 17 f1 20 22 50 44  |e*areas..... "PD|
000005f0  22 3b c3 28 58 29 22 2c  33 30 30 30 3b 22 0d 02  |";.(X)",3000;"..|
00000600  bc 16 e3 20 61 72 65 61  20 3d 20 31 20 b8 20 61  |... area = 1 . a|
00000610  72 65 61 73 0d 02 c6 1b  58 3d 31 30 30 30 2b 62  |reas....X=1000+b|
00000620  61 72 73 69 7a 65 2a 28  61 72 65 61 2d 31 29 0d  |arsize*(area-1).|
00000630  02 d0 22 59 3d 33 30 30  30 2b 28 36 30 2a 61 6e  |.."Y=3000+(60*an|
00000640  73 28 71 75 65 73 74 69  6f 6e 2c 61 72 65 61 29  |s(question,area)|
00000650  29 0d 02 da 18 f1 20 22  50 55 22 3b c3 28 58 29  |)..... "PU";.(X)|
00000660  3b 22 2c 33 30 30 30 3b  22 0d 02 e4 1c f1 20 22  |;",3000;"..... "|
00000670  50 44 22 3b c3 28 58 29  3b 22 2c 22 3b c3 28 59  |PD";.(X);",";.(Y|
00000680  29 3b 22 3b 22 0d 02 ee  19 58 3d 31 30 30 30 2b  |);";"....X=1000+|
00000690  62 61 72 73 69 7a 65 2a  28 61 72 65 61 29 0d 02  |barsize*(area)..|
000006a0  f8 1c f1 20 22 50 44 22  3b c3 28 58 29 3b 22 2c  |... "PD";.(X);",|
000006b0  22 3b c3 28 59 29 3b 22  3b 22 0d 03 02 18 f1 20  |";.(Y);";"..... |
000006c0  22 50 44 22 3b c3 28 58  29 3b 22 2c 33 30 30 30  |"PD";.(X);",3000|
000006d0  3b 22 0d 03 0c 16 58 30  3d 31 30 30 30 20 2b 62  |;"....X0=1000 +b|
000006e0  61 72 73 69 7a 65 2f 32  0d 03 16 1a 58 3d 58 30  |arsize/2....X=X0|
000006f0  2b 2b 62 61 72 73 69 7a  65 2a 28 61 72 65 61 2d  |++barsize*(area-|
00000700  31 29 0d 03 20 17 f1 20  22 50 55 22 3b c3 28 58  |1).. .. "PU";.(X|
00000710  29 3b 22 2c 35 30 30 3b  22 0d 03 2a 0e f1 20 22  |);",500;"..*.. "|
00000720  53 52 32 2c 32 3b 22 0d  03 34 17 f1 20 22 44 49  |SR2,2;"..4.. "DI|
00000730  30 2c 31 3b 4c 42 20 41  52 45 41 20 22 3b 0d 03  |0,1;LB AREA ";..|
00000740  3e 11 f1 c3 28 61 72 65  61 29 3a ef 31 2c 33 0d  |>...(area):.1,3.|
00000750  03 48 0e f1 20 22 53 52  31 2c 31 3b 22 0d 03 52  |.H.. "SR1,1;"..R|
00000760  0e f1 20 22 44 49 31 2c  30 3b 22 0d 03 5c 0a ed  |.. "DI1,0;"..\..|
00000770  20 61 72 65 61 0d 03 66  10 f1 20 22 53 50 30 3b  | area..f.. "SP0;|
00000780  22 3a ef 20 33 0d 03 70  0e ed 20 71 75 65 73 74  |":. 3..p.. quest|
00000790  69 6f 6e 0d 03 7a 07 ef  20 33 0d 03 84 05 e0 0d  |ion..z.. 3......|
000007a0  ff                                                |.|
000007a1
GeogDT3.m0
GeogDT3.m1
GeogDT3.m2
GeogDT3.m4
GeogDT3.m5