Home » Personal collection » Acorn DFS disks » dfs_box03_disk02_format_some_games.scp » W.INDEX

W.INDEX

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 DFS disks » dfs_box03_disk02_format_some_games.scp
Filename: W.INDEX
Read OK:
File size: 0A99 bytes
Load address: 1900
Exec address: 801F
Duplicates

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

File contents
   10 REM INDEX/Welcome Package Index
   12 REM Program by Richard G Warner of Mills and Allen Communications
   13 REM Version 1 - October 1981
   14 REM For BBC Model A Microcomputer 16K Minimum
   15 REM Minor change for disc 22/6/82
   16 REM A.R.Gordon,Acorn
   40 ON ERROR GOTO50
   50 MODE 7
   60 CLS:ON ERROR GOTO800
   70 T%=0
  100 PROCTITLEPAGE
  110 *FX 4 1
  200 CLS:PRINT''''''"  In this package you will find 16"
  210 PRINT"programs. The Welcome page was the"
  220 PRINT"first and this is the second."'
  230 PRINT"  Each program is identified by its"
  240 PRINT"program name. The program name should"
  250 PRINT"also give you an idea of what the"
  260 PRINT"program does."
  290 PROCSPACE
  300 CLS:PRINT'"   The programs are:"'
  310 COL=1
  320 READ X$:IF X$="ZZZZ" THEN 390
  330 PRINTCHR$(128+COL);"    ";X$
  340 COL=COL+1:IF COL=8 THEN COL=1
  345 IF COL=4 THEN COL=5
  350 GOTO320
  360 DATA WELCOME,INDEX,KEYBD,SKETCH,CALC,ALPHA,POEM,PHONE
  370 DATA BATBALL,MUSIC,CLOCK,PHOTO,PATTERN,KINGDOM,BIORTHM,MESSAGE,ZZZZ
  390 PRINT "Some of these names are shorter"'"than those on the cassette version"
  395 PROCSPACE
  400 CLS:PRINT'''
  410 PRINT"  Before continuing to the next"
  420 PRINT"program, please enter the time."
  430 PRINT"Use the 24 hour clock - e.g. 3.30"
  440 PRINT"in the afternoon is entered as:"
  450 PRINTTAB(12,11);"HOURS: 15"
  460 PRINTTAB(10,13);"MINUTES: 30"
  470 PRINTTAB(10,15);"SECONDS: 0"
  490 PROCSPACE
  500 CLS:PROCDBL("Please enter the time -",3,8)
  510 PRINTTAB(12,11);"HOURS: ";
  520 IF FNNUMERR(24) THEN 510 ELSE H=A
  530 PRINTTAB(10,13);"MINUTES: ";
  540 IF FNNUMERR(60) THEN 530 ELSE M=A
  550 PRINTTAB(10,15);"SECONDS: ";
  560 IF FNNUMERR(60) THEN 550 ELSE S=A
  570 TIME=100*((H*60+M)*60+S):T%=1
  590 PROCSPACE:GOTO900
  800 IF ERR<>17 THEN REPORT:PRINT" in line ";ERL:END
  810 IF T%=0 THEN 400
  900 CLS
  910 PRINTTAB(5,9);
  920 PRINT"Do you want to go on to"
  930 PRINT"     the next program (Y/N)? ";
  940 PROCYESORNO:IF Y%<0 THEN 910
  950 IF Y%=0 THEN CLEAR:GOTO100
  970 CHAIN "KEYBD"
 7000 DEFFNNUMERR(V)
 7010 PROCGPI(1,6)
 7020 A=VAL(A$):IF A<V THEN =FALSE
 7030 PRINTTAB(0,20);"Please enter a number between 0 and ";V-1
 7040 PROCSPACE
 7050 PRINTTAB(0,20);SPC(159);
 7099 =TRUE
 8000 DEFPROCDBL(X$,X,Y)
 8010 PRINTTAB(X-1,Y);CHR$(141);X$
 8020 PRINTTAB(X-1,Y+1);CHR$(141);X$
 8099 ENDPROC
 8100 DEFPROCWAIT(X)
 8110 LOCAL Z
 8120 Z=TIME
 8130 REPEAT UNTIL TIME-Z>X*100
 8199 ENDPROC
 8200 DEFPROCSPACE
 8220 PRINTTAB(3,22);"Press the SPACE BAR to continue";:PROCKCL
 8240 REPEAT UNTIL GET$=" "
 8299 ENDPROC
 8300 DEFPROCTITLEPAGE
 8310 CLS:PROCDBL("Index",15,10)
 8320 PROCOFF:Y%=INKEY(500)
 8399 ENDPROC
 8800 DEFPROCKCL
 8810 IF INKEY$(0)>"" THEN 8810
 8899 ENDPROC
 8900 DEFPROCOFF
 8910 VDU23;8202;0;0;0;:ENDPROC
 8950 DEFPROCON
 8960 VDU23;29194;0;0;0;:ENDPROC
 9000 DEFPROCGPI(F2,ML):REM General Purpose Input Routine
 9010 LOCALB,B$
 9020 A$=""
 9030 PRINTSTRING$(ML," ");STRING$(ML+1,CHR$(8));CHR$(&87);:PROCON:PROCKCL
 9040 B$=GET$:B=ASC(B$):IF B=13 THEN 9190
 9050 IF B=127 AND A$="" THEN 9040
 9060 IF B=127 THEN A$=LEFT$(A$,LEN(A$)-1):PRINTB$;:GOTO9040
 9070 IF LEN(A$)=ML OR B<32 OR B>126 THEN 9170
 9080 IF F2=0 OR B=32 OR (B>=48 AND B<=57) THEN 9180
 9090 IF B<127 AND B>32 THEN 9180
 9170 PRINTCHR$(7);:GOTO9040
 9180 PRINTB$;:A$=A$+B$:GOTO9040
 9190 PROCOFF
 9199 ENDPROC
 9200 DEFPROCYESORNO
 9210 LOCALB$
 9220 PROCGPI(0,3)
 9230 B$=LEFT$(A$,1)
 9240 Y%=-1
 9250 IF B$="Y" OR B$="y" THEN Y%=1
 9260 IF B$="N" OR B$="n" THEN Y%=0
 9299 ENDPROC

" � INDEX/Welcome Package Index
D � Program by Richard G Warner of Mills and Allen Communications

 � Version 1 - October 1981
0 � For BBC Model A Microcomputer 16K Minimum
$ � Minor change for disc 22/6/82
 � A.R.Gordon,Acorn
( � � �Tr@
2 � 7
< �:� � �T`C
F	 T%=0
d �TITLEPAGE
n *FX 4 1
�2 �:�''''''"  In this package you will find 16"
�* �"programs. The Welcome page was the"
�& �"first and this is the second."'
�+ �"  Each program is identified by its"
�- �"program name. The program name should"
�) �"also give you an idea of what the"
 �"program does."
" �SPACE
,  �:�'"   The programs are:"'
6
 COL=1
@ � X$:� X$="ZZZZ" � �tFA
J �(128+COL);"    ";X$
T COL=COL+1:� COL=8 � COL=1
Y � COL=4 � COL=5
^
 �D@A
h7 � WELCOME,INDEX,KEYBD,SKETCH,CALC,ALPHA,POEM,PHONE
rE � BATBALL,MUSIC,CLOCK,PHOTO,PATTERN,KINGDOM,BIORTHM,MESSAGE,ZZZZ
�M � "Some of these names are shorter"'"than those on the cassette version"
� �SPACE
� �:�'''
�' �"  Before continuing to the next"
�' �"program, please enter the time."
�) �"Use the 24 hour clock - e.g. 3.30"
�' �"in the afternoon is entered as:"
� �12,11);"HOURS: 15"
� �10,13);"MINUTES: 30"
� �10,15);"SECONDS: 0"
� �SPACE
�* �:�DBL("Please enter the time -",3,8)
� �12,11);"HOURS: ";
 � �NUMERR(24) � �d~A � H=A
 �10,13);"MINUTES: ";
 � �NUMERR(60) � �TRB � M=A
& �10,15);"SECONDS: ";
0 � �NUMERR(60) � �TfB � S=A
: �=100*((H*60+M)*60+S):T%=1
N �SPACE:�tDC
 ! � �<>17 � �:�" in line ";�:�
* � T%=0 � �tPA
� �
� �5,9);
� �"Do you want to go on to"
�& �"     the next program (Y/N)? ";
� �YESORNO:� Y%<0 � �tNC
� � Y%=0 � �:�Dd@
� � "KEYBD"
X ݤNUMERR(V)
b �GPI(1,6)
l A=�(A$):� A<V � =�
v7 �0,20);"Please enter a number between 0 and ";V-1
� �SPACE
� �0,20);�(159);
� =�
@ ��DBL(X$,X,Y)
J �X-1,Y);�(141);X$
T �X-1,Y+1);�(141);X$
� �
� ��WAIT(X)
� � Z
� Z=�
� � � �-Z>X*100
  �
  ��SPACE
 4 �3,22);"Press the SPACE BAR to continue";:�KCL
 0 � � �=" "
 k �
 l ��TITLEPAGE
 v �:�DBL("Index",15,10)
 � �OFF:Y%=�(500)
 � �
"`
 ��KCL
"j � �(0)>"" � �Djb
"� �
"�
 ��OFF
"� �23;8202;0;0;0;:�
"�	 ��ON
# �23;29194;0;0;0;:�
#(1 ��GPI(F2,ML):� General Purpose Input Routine
#2
 �B,B$
#<
 A$=""
#F+ ��ML," ");�ML+1,�(8));�(&87);:�ON:�KCL
#P B$=�:B=�(B$):� B=13 � �dfc
#Z � B=127 � A$="" � �DPc
#d) � B=127 � A$=�A$,�(A$)-1):�B$;:�DPc
#n% � �(A$)=ML � B<32 � B>126 � �dRc
#x+ � F2=0 � B=32 � (B>=48 � B<=57) � �d\c
#� � B<127 � B>32 � �d\c
#� �(7);:�DPc
#� �B$;:A$=A$+B$:�DPc
#�	 �OFF
#� �
#� ��YESORNO
#� �B$
$ �GPI(0,3)
$ B$=�A$,1)
$
 Y%=-1
$" � B$="Y" � B$="y" � Y%=1
$, � B$="N" � B$="n" � Y%=0
$S �
�
00000000  0d 00 0a 22 20 f4 20 49  4e 44 45 58 2f 57 65 6c  |..." . INDEX/Wel|
00000010  63 6f 6d 65 20 50 61 63  6b 61 67 65 20 49 6e 64  |come Package Ind|
00000020  65 78 0d 00 0c 44 20 f4  20 50 72 6f 67 72 61 6d  |ex...D . Program|
00000030  20 62 79 20 52 69 63 68  61 72 64 20 47 20 57 61  | by Richard G Wa|
00000040  72 6e 65 72 20 6f 66 20  4d 69 6c 6c 73 20 61 6e  |rner of Mills an|
00000050  64 20 41 6c 6c 65 6e 20  43 6f 6d 6d 75 6e 69 63  |d Allen Communic|
00000060  61 74 69 6f 6e 73 0d 00  0d 1f 20 f4 20 56 65 72  |ations.... . Ver|
00000070  73 69 6f 6e 20 31 20 2d  20 4f 63 74 6f 62 65 72  |sion 1 - October|
00000080  20 31 39 38 31 0d 00 0e  30 20 f4 20 46 6f 72 20  | 1981...0 . For |
00000090  42 42 43 20 4d 6f 64 65  6c 20 41 20 4d 69 63 72  |BBC Model A Micr|
000000a0  6f 63 6f 6d 70 75 74 65  72 20 31 36 4b 20 4d 69  |ocomputer 16K Mi|
000000b0  6e 69 6d 75 6d 0d 00 0f  24 20 f4 20 4d 69 6e 6f  |nimum...$ . Mino|
000000c0  72 20 63 68 61 6e 67 65  20 66 6f 72 20 64 69 73  |r change for dis|
000000d0  63 20 32 32 2f 36 2f 38  32 0d 00 10 17 20 f4 20  |c 22/6/82.... . |
000000e0  41 2e 52 2e 47 6f 72 64  6f 6e 2c 41 63 6f 72 6e  |A.R.Gordon,Acorn|
000000f0  0d 00 28 0e 20 ee 20 85  20 e5 8d 54 72 40 0d 00  |..(. . . ..Tr@..|
00000100  32 08 20 eb 20 37 0d 00  3c 10 20 db 3a ee 20 85  |2. . 7..<. .:. .|
00000110  20 e5 8d 54 60 43 0d 00  46 09 20 54 25 3d 30 0d  | ..T`C..F. T%=0.|
00000120  00 64 0f 20 f2 54 49 54  4c 45 50 41 47 45 0d 00  |.d. .TITLEPAGE..|
00000130  6e 0c 20 2a 46 58 20 34  20 31 0d 00 c8 32 20 db  |n. *FX 4 1...2 .|
00000140  3a f1 27 27 27 27 27 27  22 20 20 49 6e 20 74 68  |:.''''''"  In th|
00000150  69 73 20 70 61 63 6b 61  67 65 20 79 6f 75 20 77  |is package you w|
00000160  69 6c 6c 20 66 69 6e 64  20 31 36 22 0d 00 d2 2a  |ill find 16"...*|
00000170  20 f1 22 70 72 6f 67 72  61 6d 73 2e 20 54 68 65  | ."programs. The|
00000180  20 57 65 6c 63 6f 6d 65  20 70 61 67 65 20 77 61  | Welcome page wa|
00000190  73 20 74 68 65 22 0d 00  dc 26 20 f1 22 66 69 72  |s the"...& ."fir|
000001a0  73 74 20 61 6e 64 20 74  68 69 73 20 69 73 20 74  |st and this is t|
000001b0  68 65 20 73 65 63 6f 6e  64 2e 22 27 0d 00 e6 2b  |he second."'...+|
000001c0  20 f1 22 20 20 45 61 63  68 20 70 72 6f 67 72 61  | ."  Each progra|
000001d0  6d 20 69 73 20 69 64 65  6e 74 69 66 69 65 64 20  |m is identified |
000001e0  62 79 20 69 74 73 22 0d  00 f0 2d 20 f1 22 70 72  |by its"...- ."pr|
000001f0  6f 67 72 61 6d 20 6e 61  6d 65 2e 20 54 68 65 20  |ogram name. The |
00000200  70 72 6f 67 72 61 6d 20  6e 61 6d 65 20 73 68 6f  |program name sho|
00000210  75 6c 64 22 0d 00 fa 29  20 f1 22 61 6c 73 6f 20  |uld"...) ."also |
00000220  67 69 76 65 20 79 6f 75  20 61 6e 20 69 64 65 61  |give you an idea|
00000230  20 6f 66 20 77 68 61 74  20 74 68 65 22 0d 01 04  | of what the"...|
00000240  15 20 f1 22 70 72 6f 67  72 61 6d 20 64 6f 65 73  |. ."program does|
00000250  2e 22 0d 01 22 0b 20 f2  53 50 41 43 45 0d 01 2c  |."..". .SPACE..,|
00000260  20 20 db 3a f1 27 22 20  20 20 54 68 65 20 70 72  |  .:.'"   The pr|
00000270  6f 67 72 61 6d 73 20 61  72 65 3a 22 27 0d 01 36  |ograms are:"'..6|
00000280  0a 20 43 4f 4c 3d 31 0d  01 40 1c 20 f3 20 58 24  |. COL=1..@. . X$|
00000290  3a e7 20 58 24 3d 22 5a  5a 5a 5a 22 20 8c 20 8d  |:. X$="ZZZZ" . .|
000002a0  74 46 41 0d 01 4a 1a 20  f1 bd 28 31 32 38 2b 43  |tFA..J. ..(128+C|
000002b0  4f 4c 29 3b 22 20 20 20  20 22 3b 58 24 0d 01 54  |OL);"    ";X$..T|
000002c0  1e 20 43 4f 4c 3d 43 4f  4c 2b 31 3a e7 20 43 4f  |. COL=COL+1:. CO|
000002d0  4c 3d 38 20 8c 20 43 4f  4c 3d 31 0d 01 59 14 20  |L=8 . COL=1..Y. |
000002e0  e7 20 43 4f 4c 3d 34 20  8c 20 43 4f 4c 3d 35 0d  |. COL=4 . COL=5.|
000002f0  01 5e 0a 20 e5 8d 44 40  41 0d 01 68 37 20 dc 20  |.^. ..D@A..h7 . |
00000300  57 45 4c 43 4f 4d 45 2c  49 4e 44 45 58 2c 4b 45  |WELCOME,INDEX,KE|
00000310  59 42 44 2c 53 4b 45 54  43 48 2c 43 41 4c 43 2c  |YBD,SKETCH,CALC,|
00000320  41 4c 50 48 41 2c 50 4f  45 4d 2c 50 48 4f 4e 45  |ALPHA,POEM,PHONE|
00000330  0d 01 72 45 20 dc 20 42  41 54 42 41 4c 4c 2c 4d  |..rE . BATBALL,M|
00000340  55 53 49 43 2c 43 4c 4f  43 4b 2c 50 48 4f 54 4f  |USIC,CLOCK,PHOTO|
00000350  2c 50 41 54 54 45 52 4e  2c 4b 49 4e 47 44 4f 4d  |,PATTERN,KINGDOM|
00000360  2c 42 49 4f 52 54 48 4d  2c 4d 45 53 53 41 47 45  |,BIORTHM,MESSAGE|
00000370  2c 5a 5a 5a 5a 0d 01 86  4d 20 f1 20 22 53 6f 6d  |,ZZZZ...M . "Som|
00000380  65 20 6f 66 20 74 68 65  73 65 20 6e 61 6d 65 73  |e of these names|
00000390  20 61 72 65 20 73 68 6f  72 74 65 72 22 27 22 74  | are shorter"'"t|
000003a0  68 61 6e 20 74 68 6f 73  65 20 6f 6e 20 74 68 65  |han those on the|
000003b0  20 63 61 73 73 65 74 74  65 20 76 65 72 73 69 6f  | cassette versio|
000003c0  6e 22 0d 01 8b 0b 20 f2  53 50 41 43 45 0d 01 90  |n".... .SPACE...|
000003d0  0b 20 db 3a f1 27 27 27  0d 01 9a 27 20 f1 22 20  |. .:.'''...' ." |
000003e0  20 42 65 66 6f 72 65 20  63 6f 6e 74 69 6e 75 69  | Before continui|
000003f0  6e 67 20 74 6f 20 74 68  65 20 6e 65 78 74 22 0d  |ng to the next".|
00000400  01 a4 27 20 f1 22 70 72  6f 67 72 61 6d 2c 20 70  |..' ."program, p|
00000410  6c 65 61 73 65 20 65 6e  74 65 72 20 74 68 65 20  |lease enter the |
00000420  74 69 6d 65 2e 22 0d 01  ae 29 20 f1 22 55 73 65  |time."...) ."Use|
00000430  20 74 68 65 20 32 34 20  68 6f 75 72 20 63 6c 6f  | the 24 hour clo|
00000440  63 6b 20 2d 20 65 2e 67  2e 20 33 2e 33 30 22 0d  |ck - e.g. 3.30".|
00000450  01 b8 27 20 f1 22 69 6e  20 74 68 65 20 61 66 74  |..' ."in the aft|
00000460  65 72 6e 6f 6f 6e 20 69  73 20 65 6e 74 65 72 65  |ernoon is entere|
00000470  64 20 61 73 3a 22 0d 01  c2 19 20 f1 8a 31 32 2c  |d as:".... ..12,|
00000480  31 31 29 3b 22 48 4f 55  52 53 3a 20 31 35 22 0d  |11);"HOURS: 15".|
00000490  01 cc 1b 20 f1 8a 31 30  2c 31 33 29 3b 22 4d 49  |... ..10,13);"MI|
000004a0  4e 55 54 45 53 3a 20 33  30 22 0d 01 d6 1a 20 f1  |NUTES: 30".... .|
000004b0  8a 31 30 2c 31 35 29 3b  22 53 45 43 4f 4e 44 53  |.10,15);"SECONDS|
000004c0  3a 20 30 22 0d 01 ea 0b  20 f2 53 50 41 43 45 0d  |: 0".... .SPACE.|
000004d0  01 f4 2a 20 db 3a f2 44  42 4c 28 22 50 6c 65 61  |..* .:.DBL("Plea|
000004e0  73 65 20 65 6e 74 65 72  20 74 68 65 20 74 69 6d  |se enter the tim|
000004f0  65 20 2d 22 2c 33 2c 38  29 0d 01 fe 18 20 f1 8a  |e -",3,8).... ..|
00000500  31 32 2c 31 31 29 3b 22  48 4f 55 52 53 3a 20 22  |12,11);"HOURS: "|
00000510  3b 0d 02 08 1f 20 e7 20  a4 4e 55 4d 45 52 52 28  |;.... . .NUMERR(|
00000520  32 34 29 20 8c 20 8d 64  7e 41 20 8b 20 48 3d 41  |24) . .d~A . H=A|
00000530  0d 02 12 1a 20 f1 8a 31  30 2c 31 33 29 3b 22 4d  |.... ..10,13);"M|
00000540  49 4e 55 54 45 53 3a 20  22 3b 0d 02 1c 1f 20 e7  |INUTES: ";.... .|
00000550  20 a4 4e 55 4d 45 52 52  28 36 30 29 20 8c 20 8d  | .NUMERR(60) . .|
00000560  54 52 42 20 8b 20 4d 3d  41 0d 02 26 1a 20 f1 8a  |TRB . M=A..&. ..|
00000570  31 30 2c 31 35 29 3b 22  53 45 43 4f 4e 44 53 3a  |10,15);"SECONDS:|
00000580  20 22 3b 0d 02 30 1f 20  e7 20 a4 4e 55 4d 45 52  | ";..0. . .NUMER|
00000590  52 28 36 30 29 20 8c 20  8d 54 66 42 20 8b 20 53  |R(60) . .TfB . S|
000005a0  3d 41 0d 02 3a 1f 20 d1  3d 31 30 30 2a 28 28 48  |=A..:. .=100*((H|
000005b0  2a 36 30 2b 4d 29 2a 36  30 2b 53 29 3a 54 25 3d  |*60+M)*60+S):T%=|
000005c0  31 0d 02 4e 11 20 f2 53  50 41 43 45 3a e5 8d 74  |1..N. .SPACE:..t|
000005d0  44 43 0d 03 20 21 20 e7  20 9f 3c 3e 31 37 20 8c  |DC.. ! . .<>17 .|
000005e0  20 f6 3a f1 22 20 69 6e  20 6c 69 6e 65 20 22 3b  | .:." in line ";|
000005f0  9e 3a e0 0d 03 2a 12 20  e7 20 54 25 3d 30 20 8c  |.:...*. . T%=0 .|
00000600  20 8d 74 50 41 0d 03 84  06 20 db 0d 03 8e 0c 20  | .tPA.... ..... |
00000610  f1 8a 35 2c 39 29 3b 0d  03 98 1f 20 f1 22 44 6f  |..5,9);.... ."Do|
00000620  20 79 6f 75 20 77 61 6e  74 20 74 6f 20 67 6f 20  | you want to go |
00000630  6f 6e 20 74 6f 22 0d 03  a2 26 20 f1 22 20 20 20  |on to"...& ."   |
00000640  20 20 74 68 65 20 6e 65  78 74 20 70 72 6f 67 72  |  the next progr|
00000650  61 6d 20 28 59 2f 4e 29  3f 20 22 3b 0d 03 ac 1b  |am (Y/N)? ";....|
00000660  20 f2 59 45 53 4f 52 4e  4f 3a e7 20 59 25 3c 30  | .YESORNO:. Y%<0|
00000670  20 8c 20 8d 74 4e 43 0d  03 b6 15 20 e7 20 59 25  | . .tNC.... . Y%|
00000680  3d 30 20 8c 20 d8 3a e5  8d 44 64 40 0d 03 ca 0e  |=0 . .:..Dd@....|
00000690  20 d7 20 22 4b 45 59 42  44 22 0d 1b 58 10 20 dd  | . "KEYBD"..X. .|
000006a0  a4 4e 55 4d 45 52 52 28  56 29 0d 1b 62 0e 20 f2  |.NUMERR(V)..b. .|
000006b0  47 50 49 28 31 2c 36 29  0d 1b 6c 17 20 41 3d bb  |GPI(1,6)..l. A=.|
000006c0  28 41 24 29 3a e7 20 41  3c 56 20 8c 20 3d a3 0d  |(A$):. A<V . =..|
000006d0  1b 76 37 20 f1 8a 30 2c  32 30 29 3b 22 50 6c 65  |.v7 ..0,20);"Ple|
000006e0  61 73 65 20 65 6e 74 65  72 20 61 20 6e 75 6d 62  |ase enter a numb|
000006f0  65 72 20 62 65 74 77 65  65 6e 20 30 20 61 6e 64  |er between 0 and|
00000700  20 22 3b 56 2d 31 0d 1b  80 0b 20 f2 53 50 41 43  | ";V-1.... .SPAC|
00000710  45 0d 1b 8a 14 20 f1 8a  30 2c 32 30 29 3b 89 28  |E.... ..0,20);.(|
00000720  31 35 39 29 3b 0d 1b bb  07 20 3d b9 0d 1f 40 12  |159);.... =...@.|
00000730  20 dd f2 44 42 4c 28 58  24 2c 58 2c 59 29 0d 1f  | ..DBL(X$,X,Y)..|
00000740  4a 17 20 f1 8a 58 2d 31  2c 59 29 3b bd 28 31 34  |J. ..X-1,Y);.(14|
00000750  31 29 3b 58 24 0d 1f 54  19 20 f1 8a 58 2d 31 2c  |1);X$..T. ..X-1,|
00000760  59 2b 31 29 3b bd 28 31  34 31 29 3b 58 24 0d 1f  |Y+1);.(141);X$..|
00000770  a3 06 20 e1 0d 1f a4 0e  20 dd f2 57 41 49 54 28  |.. ..... ..WAIT(|
00000780  58 29 0d 1f ae 08 20 ea  20 5a 0d 1f b8 08 20 5a  |X).... . Z.... Z|
00000790  3d 91 0d 1f c2 12 20 f5  20 fd 20 91 2d 5a 3e 58  |=..... . . .-Z>X|
000007a0  2a 31 30 30 0d 20 07 06  20 e1 0d 20 08 0c 20 dd  |*100. .. .. .. .|
000007b0  f2 53 50 41 43 45 0d 20  1c 34 20 f1 8a 33 2c 32  |.SPACE. .4 ..3,2|
000007c0  32 29 3b 22 50 72 65 73  73 20 74 68 65 20 53 50  |2);"Press the SP|
000007d0  41 43 45 20 42 41 52 20  74 6f 20 63 6f 6e 74 69  |ACE BAR to conti|
000007e0  6e 75 65 22 3b 3a f2 4b  43 4c 0d 20 30 0e 20 f5  |nue";:.KCL. 0. .|
000007f0  20 fd 20 be 3d 22 20 22  0d 20 6b 06 20 e1 0d 20  | . .=" ". k. .. |
00000800  6c 10 20 dd f2 54 49 54  4c 45 50 41 47 45 0d 20  |l. ..TITLEPAGE. |
00000810  76 1a 20 db 3a f2 44 42  4c 28 22 49 6e 64 65 78  |v. .:.DBL("Index|
00000820  22 2c 31 35 2c 31 30 29  0d 20 80 13 20 f2 4f 46  |",15,10). .. .OF|
00000830  46 3a 59 25 3d a6 28 35  30 30 29 0d 20 cf 06 20  |F:Y%=.(500). .. |
00000840  e1 0d 22 60 0a 20 dd f2  4b 43 4c 0d 22 6a 15 20  |.."`. ..KCL."j. |
00000850  e7 20 bf 28 30 29 3e 22  22 20 8c 20 8d 44 6a 62  |. .(0)>"" . .Djb|
00000860  0d 22 c3 06 20 e1 0d 22  c4 0a 20 dd f2 4f 46 46  |.".. ..".. ..OFF|
00000870  0d 22 ce 16 20 ef 32 33  3b 38 32 30 32 3b 30 3b  |.".. .23;8202;0;|
00000880  30 3b 30 3b 3a e1 0d 22  f6 09 20 dd f2 4f 4e 0d  |0;0;:..".. ..ON.|
00000890  23 00 17 20 ef 32 33 3b  32 39 31 39 34 3b 30 3b  |#.. .23;29194;0;|
000008a0  30 3b 30 3b 3a e1 0d 23  28 31 20 dd f2 47 50 49  |0;0;:..#(1 ..GPI|
000008b0  28 46 32 2c 4d 4c 29 3a  f4 20 47 65 6e 65 72 61  |(F2,ML):. Genera|
000008c0  6c 20 50 75 72 70 6f 73  65 20 49 6e 70 75 74 20  |l Purpose Input |
000008d0  52 6f 75 74 69 6e 65 0d  23 32 0a 20 ea 42 2c 42  |Routine.#2. .B,B|
000008e0  24 0d 23 3c 0a 20 41 24  3d 22 22 0d 23 46 2b 20  |$.#<. A$="".#F+ |
000008f0  f1 c4 4d 4c 2c 22 20 22  29 3b c4 4d 4c 2b 31 2c  |..ML," ");.ML+1,|
00000900  bd 28 38 29 29 3b bd 28  26 38 37 29 3b 3a f2 4f  |.(8));.(&87);:.O|
00000910  4e 3a f2 4b 43 4c 0d 23  50 1f 20 42 24 3d be 3a  |N:.KCL.#P. B$=.:|
00000920  42 3d 97 28 42 24 29 3a  e7 20 42 3d 31 33 20 8c  |B=.(B$):. B=13 .|
00000930  20 8d 64 66 63 0d 23 5a  1b 20 e7 20 42 3d 31 32  | .dfc.#Z. . B=12|
00000940  37 20 80 20 41 24 3d 22  22 20 8c 20 8d 44 50 63  |7 . A$="" . .DPc|
00000950  0d 23 64 29 20 e7 20 42  3d 31 32 37 20 8c 20 41  |.#d) . B=127 . A|
00000960  24 3d c0 41 24 2c a9 28  41 24 29 2d 31 29 3a f1  |$=.A$,.(A$)-1):.|
00000970  42 24 3b 3a e5 8d 44 50  63 0d 23 6e 25 20 e7 20  |B$;:..DPc.#n% . |
00000980  a9 28 41 24 29 3d 4d 4c  20 84 20 42 3c 33 32 20  |.(A$)=ML . B<32 |
00000990  84 20 42 3e 31 32 36 20  8c 20 8d 64 52 63 0d 23  |. B>126 . .dRc.#|
000009a0  78 2b 20 e7 20 46 32 3d  30 20 84 20 42 3d 33 32  |x+ . F2=0 . B=32|
000009b0  20 84 20 28 42 3e 3d 34  38 20 80 20 42 3c 3d 35  | . (B>=48 . B<=5|
000009c0  37 29 20 8c 20 8d 64 5c  63 0d 23 82 1a 20 e7 20  |7) . .d\c.#.. . |
000009d0  42 3c 31 32 37 20 80 20  42 3e 33 32 20 8c 20 8d  |B<127 . B>32 . .|
000009e0  64 5c 63 0d 23 d2 11 20  f1 bd 28 37 29 3b 3a e5  |d\c.#.. ..(7);:.|
000009f0  8d 44 50 63 0d 23 dc 18  20 f1 42 24 3b 3a 41 24  |.DPc.#.. .B$;:A$|
00000a00  3d 41 24 2b 42 24 3a e5  8d 44 50 63 0d 23 e6 09  |=A$+B$:..DPc.#..|
00000a10  20 f2 4f 46 46 0d 23 ef  06 20 e1 0d 23 f0 0e 20  | .OFF.#.. ..#.. |
00000a20  dd f2 59 45 53 4f 52 4e  4f 0d 23 fa 08 20 ea 42  |..YESORNO.#.. .B|
00000a30  24 0d 24 04 0e 20 f2 47  50 49 28 30 2c 33 29 0d  |$.$.. .GPI(0,3).|
00000a40  24 0e 0e 20 42 24 3d c0  41 24 2c 31 29 0d 24 18  |$.. B$=.A$,1).$.|
00000a50  0a 20 59 25 3d 2d 31 0d  24 22 1d 20 e7 20 42 24  |. Y%=-1.$". . B$|
00000a60  3d 22 59 22 20 84 20 42  24 3d 22 79 22 20 8c 20  |="Y" . B$="y" . |
00000a70  59 25 3d 31 0d 24 2c 1d  20 e7 20 42 24 3d 22 4e  |Y%=1.$,. . B$="N|
00000a80  22 20 84 20 42 24 3d 22  6e 22 20 8c 20 59 25 3d  |" . B$="n" . Y%=|
00000a90  30 0d 24 53 06 20 e1 0d  ff                       |0.$S. ...|
00000a99
W.INDEX.m0
W.INDEX.m1
W.INDEX.m2
W.INDEX.m4
W.INDEX.m5