home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
commodore-users-of-norman
/
CUON_03_(08-1984).d64
/
startrek.c3
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2019-04-13
|
13KB
|
494 lines
1 GOTO910
2 REM ** ML STOP KEY DISABLE **
3 PRINT"x[169]=[141][169][141]X` [234][255][169][255][133][145]L4[234]x[169]1[141][169][234][141]X`
4 [153]"xhhh+hNOThhhhhhhPRINT#HRUNHX`111"
5 [153]"hhhhhhh`1"
6 [143] ** 4 - POP ML SUBROUTINE **
10 [143]---GENERAL INPUT ROUTINE----
15 :
25 :
30 :
35 [143]-----INPUT SECTION-----
40 : UR$[178]"":UI$[178]""
42 : [139] UL[178]0[167]UL[178]80
45 [153]" CMDCMD";:[151]UC,0
50 : [161]UI$:[139]UI$[178]""[167]50
55 : [139]UI$[178][199](13)[175][195](UR$)[177][178]1[167][151]UC,1:[153]" CMD";:[137]85
60 : [139]UI$[178][199](20)[167]105
62 : [139] [195](UR$)[178][177]UL [167]50
65 : [141]120:[143] CHECK FOR VALID CHARACTER
70 : UR$[178]UR$[170]UI$
75 : [153]UI$;
80 : [137]50
85 [143]-----CHECK FOR HELP REQUEST-----
90 : [139]UR$[178]UX$[167]195:[143] EXIT TO HELP ROUTINE
95 : [139]UF[178]1[167][141]240
100 : UF[178]0:[153]:[142]
102 [143]-----CHECK DELETE-----
105 : [139][195](UR$)[179]1[167]50
110 : UR$[178][200](UR$,[195](UR$)[171]1)
115 : [153]"CMD CMDCMD";:[137]50
120 [143]-----CHECK FOR VALID CHARACTERS-----
125 : [139][195](US$)[178]0[167]150
130 : [129]US[178]1[164][195](US$)
135 : [139]UI$[178][202](US$,US,1)[167][142]
140 : [130]
145 : UI$[178]"":[142]
150 [143]-----STANDARD INPUT-----
152 : [139][198](UI$)[178]46[167] [142]
155 : [139]UI$[178][199](32)[167] [142]
160 : [139][198](UI$)[179]48 [176] [198](UI$)[177]57[167]170
165 : [142]
170 : [139][198](UI$)[179]65 [176] [198](UI$)[177]90[167]180
175 : [142]
180 : [139][198](UI$)[179]193 [176] [198](UI$)[177]218[167]UI$[178]"":[142]
185 : [139][194](UT)[178]12[176][194](UT)[178]21[167]UI$[178][199]([198](UI$)[171]128):[142]
187 : [142]
190 : UI$[178]"":[142]
195 : UF[178]1:[143]-----HELP ROUTINE EXIT-----
197 : [141]250
200 : [141]245
205 : [129]UQ[178]UB[164](U2%[172]256[170]U1%[170]U3%[171]2)
210 : UQ%(UQ[171]UB)[178][194](UQ):[130]:[153]"LOAD"
215 : UZ[178]1:UV%[178][194](UT)
216 : [137]300
217 UZ[178]0:US$[178]UJ$:UG$[178]UK$:UP[178]UJ:UL[178]UK
218 [139][194](50003)[178]0[167][151]53281,1:[153]"LOAD";:[151]53281,6:[151]53280,14:[137]220
219 [153]"LOAD";
220 UT$[178]UL$:[151]UT,UV%:[129]UQ[178]UB[164](U2%[172]256[170]U1%[170]U3%[171]3)
225 : [151]UQ,UQ%(UQ[171]UB):[130]
230 : [151]U1,U1%
232 : [151]U2,U2%
233 : [151]U4,U4%
234 : [151]U3,U3%[171]1
235 : [137]35
240 : UD%[178]((U2%[172]256[170]U1%[170]U3%)[171]UB)[173]40:[153][200](UD$,UD%[170]1):[142]
245 : [153][200](UD$,24);" HELP COMING WAIT ":[142]
250 : U1%[178][194](U1):U2%[178][194](U2):U3%[178][194](U3):U4%[178][194](U4)
251 UJ$[178]US$:UJ[178]UL
252 : UJ$[178]US$:UK$[178]UG$:UJ[178]UP:UK[178]UL
255 : [142]
300 [143]-----MENU-----
301 :
302 : [153]"LOAD":[151]UT,UU%:[139][194](50003)[178]0[167][151]53281,9:[151]53280,8
303 :
305 : [153]"LOAD MENU"
310 : [153]" --------------------------------------"
315 : [153]" 1. STARTREK"
320 : [153]" 2. STUDENT INSTRUCTIONS"
325 : [153]" 3. TEACHER INSTRUCTIONS"
335 : [153]" 4. QUIT"
340 : [153]" --------------------------------------"
345 : [153]" PRESS A NUMBER KEY (1-4) ";
350 : UL[178]1:US$[178]"1234":[141]35:[143]---INPUT ROUTINE---
352 : US$[178]""
355 : [145][197](UR$)[141]1000,400,500,396
360 : [137]300
395 [143]-----RE-ENABLE STOP KEY AND END-----
396 : [139][194](50003)[179][177]1[175][194](50003)[179][177]160[175][194](50003)[179][177]0[167]399
397 : [158]UU[170]71:[139][194](50003)[178]0[167][151]53281,6:[151]53280,14
398 : [153]"CONTLOAD":[128]
399 : [141]875:[142]
400 [143]-----STUDENT INSTRUCTIONS-----
405 : [153]"LOAD":[151]UT,UL%:[139][194](50003)[178]0[167][151]53281,0:[151]53280,0
410 UP[178]0:UG$[178]"(null)TUDENT RIGHT$NST":[141]850
412 : [153]" (null)EMEMBER TO HIT <RETURN> AFTER"
414 : [153]" TYPING YOUR ANSWER. (null)HIS TELLS"
416 : [153]" THE COMPUTER TO ACCEPT WHAT YOU"
418 : [153]" HAVE TYPED."
420 : [153]" (null)YPE <H> AT ANY TIME TO RETURN"
422 : [153]" TO THE MENU FOR HELP. (null)OU WILL"
424 : [153]" BE RETURNED TO THE PLACE IN THE"
426 : [153]" PROGRAM WHERE YOU LEFT OFF AS"
428 : [153]" SOON AS THE OPTION FROM THE MENU"
430 : [153]" IS COMPLETE."
435 : [141]835:UL[178]1:[141]850:[141]3670:[141]835
490 : [139]UZ[178]1[167][158]UP%:[137]217
499 : [142]
500 [143]-----TEACHER INSTRUCTIONS-----
501 : [153]"LOAD":[151]UT,UL%:[139][194](50003)[178]0[167][151]53281,2:[151]53280,10
502 : UP[178]0:UG$[178]"(null)EACHER RIGHT$NST.":[141]850
503 : [153]" (null)O THE BEST OF OUR KNOWLEDGE,"
504 : [153]" THIS PROGRAM IS IN THE PUBLIC"
505 : [153]" DOMAIN. RIGHT$F THIS IS NOT THE CASE"
506 : [153]" PLEASE CONTACT:"
507 : [153]" LENOMMODORE PEEKUSINESS (null)ACHINES"
508 : [153]" 3370 (null)HARMACY ATNVE.
509 : PRINT" [193]GINCOURT, [207]NTARIO"
510 : PRINT" [195]ANADA [205]1[215] 2[203]4"
511 : PRINT" (416) 499-4292"
512 UP=1:GOSUB 835:GOSUB 850:
513 PRINT" [208]ROGRAM [206]AME: [211]TAR [212]REK
514 [153]" (null)RITTEN PEEKY : (null)NKNOWN
515 PRINT" [213]PGRADED [194]Y : [205]ARK [211]TEWART
516 [153]" (null)HIS PROGRAM WILL RUN ON ANY
519 PRINT" [208][197][212] 64 [195][207][205][208][213][212][197][210]
520 [153]" LEN(null)(null)(null)(null)STR$(null)(null)VAL 64 LEN(null)(null)(null)(null)(null)VAL(null)
530 GOSUB835
590 : IFUZ=1THENSYSUP%:GOTO217
599 : RETURN
600 REM-----PROGRAM MODIFICATION INST-----
601 : PRINT"[147]":POKEUT,UL%
605 : UP=0:UG$="[208]ROGRAM [205]OD":GOSUB850
660 : GOSUB835
690 : IFUZ=1THENSYSUP%:GOTO217
699 : RETURN
700 REM-----TO USE 8032 LOAD CBM4032-----
710 PRINT"[147]BEFORE RUNNING THIS PROGRAM ON AN 8032
720 [153]" LOAD THE 'CBM 4032' PROGRAM"
730 : [158]UU[170]71
740 : [128]
800 [143] ** T I T L E P A G E **
802 [153]"LOAD";:[151]UT,UU%:[139][194](50003)[178]0[167][151]53280,14:[151]53281,6
804 [129]I[178]1[164]38:[153]"SPC(WAIT";:[130]
806 [129]I[178]1[164]22:[153]"CMDSPC(WAIT";:[130]
808 [129]I[178]1[164]37:[153]"CMDCMDSPC(WAIT";:[130]
810 [129]I[178]1[164]22:[153]"ONCMDSPC(WAIT";:[130]
812 [153]"STEP WAIT
814 PRINT" [146] [146][169]
816 [153]" WAIT TAB((null)
818 PRINT"[223] [146]
820 [153]"C O M M O D O R E
822 PRINT"EDUCATIONAL
824 [153]"SOFTWARE
826 REM ** COMMODORE LOGO **
827 PRINTLEFT$(UD$,24);"PRESS SPACE BAR OR WAIT[146]":I=0
828 GETA$:IFA$<>" "THENI=I+1:IFI<250THEN828
830 : T1$="":T2$="":T3$="":T4$="":I=0
832 : GOTO300
835 REM-----SPACE BAR PRESS-----
840 : PRINTLEFT$(UD$,24);"PRESS SPACE BAR TO CONTINUE[146]"
844 : GETUI$:IFUI$<>" "THEN844
846 : RETURN
850 REM-----PAGE DESIGN ROUTINE-----
852 : UP=UP+1
855 : PRINT"[147]"LEFT$(UT$+UP$,21);LEFT$(UG$+UP$,14);UP
860 : PRINT" --------------------------------------"
865 : PRINTLEFT$(UD$,24);LEFT$(UP$,6);"HELP - PRESS H <RETURN>"
870 : PRINT"":RETURN
875 REM-----PLEASE WAIT REMARK-----
880 : PRINTLEFT$(UD$,24);" ONE MOMENT PLEASE... "
885 : RETURN
900 REM-----SET UP VARIABLES-----
901 : UX$="H":DIMUQ%(1000):UB=32768:U1=196:U2=197:U3=198:U4=216:UC=167:UU=1024
902 : UT=59468:UU%=12:UL%=14:UP%=1146:UM=32768:POKE50003,0
903 IFPEEK(50003)=0THENUB=1024:U1=209:U2=210:U3=211:U4=214:UC=204:UU=2048
904 IFPEEK(50003)=0THENUT=53272:UU%=21:UL%=23:UP%=2139:UM=1024
905 : UD$=""
906 : UP$=" "
907 : UT$=" [211][212][193][210][212][210][197][203]":REM PLACE PROGRAM TITLE HERE!!!!!!!!!!!!!!!!!!!***
908 : RETURN
910 REM-----SET VARIABLES-----
915 : GOSUB900
916 DIMA1(140)
917 :
920 REM-----CHECK FOR 8032-----
925 : PRINT"[147]":PRINT"[160]":REM SHIFTED SPACE
930 : IFPEEK(UB+40)<>96THENGOSUB700
931 REM-----MEMORY CHECK-----
932 : IF FRE(0)>2000THEN937
933 : PRINT"[147]THIS MACHINE DOES NOT HAVE ENOUGH"
934 : PRINT"MEMORY TO RUN THIS PROGRAM !"
935 : SYSUU+71
936 : END
937 : PRINT"[147]":IFPEEK(50003)=0THEN962
940 REM-----BASIC 2.0 OR 4.0 OR C-64 SETUP-----
941 POKE1075,133:POKE1076,144:POKE1077,234:POKE1079,4:POKE1080,133:POKE1081,145
942 POKE1091,155:POKE1098,133:POKE1099,144:POKE1100,234:POKE1103,133
943 POKE1104,145:POKE1105,234:POKE1082,234
945 : IFPEEK(50003)<>160THEN955
950 : POKE1093,88:POKE1094,228:POKE1097,85:POKE1102,228:GOTO965
955 : IFPEEK(50003)<>1THEN990
960 : POKE1093,49:POKE1094,230:POKE1097,46:POKE1102,230:GOTO965
962 POKE2099,141:POKE2100,20:POKE2101,3:POKE2103,8:POKE2104,141:POKE2105,21
963 POKE2106,3:POKE2115,145:POKE2117,52:POKE2118,234:POKE2121,49:POKE2122,141
964 POKE2123,20:POKE2124,3:POKE2126,234:POKE2127,141:POKE2128,21:POKE2129,3
965 : SYSUU+48:REM DISABLE STOP KEY
970 : GOSUB800:REM TITLE
980 : GOTO300:REM MENU
990 : PRINT"[147]THE PGM WILL NOT WORK ON THIS MACHINE!":END
1000 : IFUZ=1THENSYSUP%:SYSUP%:UZ=0:REM-----PROGRAM STARTS HERE-----
1001 PRINT"[147]";:IFPEEK(50003)=0THENPOKE53281,6:POKE53280,14
1020 PRINT"[147]":GOSUB875
1030 BL$=" "
1040 LET K=0
1050 LET T=INT(RND(1)*200+1)+200
1060 LET E=2000
1070 LET R=15
1080 LET S= 0
1090 LET L= T
1100 REM ***SET UP SECTORS***
1110 FOR I = 0 TO 63
1120 LET X=0
1130 LET Y=0
1140 IF INT(RND(1)*10+1)<>8 THEN 1160
1150 LET X=INT(RND(1)*4+1)
1160 IF INT(RND(1)*100+1)>90 THEN Y=1
1170 LET Z=INT(RND(1)*5+3)
1180 LET A1(I)=X*100+Y*10+Z
1190 K=K+X
1200 NEXT I
1210 LET Q=INT(RND(1)*64+1)-1
1220 LET A=INT(RND(1)*64)
1230 IF Q<0 THEN LET Q=Q+64
1240 IF Q>63 THEN LET Q=Q-64
1250 REM ***SET UP CURRENT SECTOR***
1260 LET Z=A1(Q)
1270 LET X=INT(Z/100)
1280 LET Z=Z-X*100
1290 LET Y=INT(Z/10)
1300 LET Z=Z-Y*10
1310 FOR I= 64 TO 127
1320 LET A1(I)=0
1330 NEXT I
1340 LET A1(A+64)=4
1350 FOR I=1TO5
1360 IF I > Z THEN 1400
1370 LET J=INT(RND(1)*64+64)
1380 IF A1(J)<>0 THEN 1370
1390 LET A1(J)=3
1400 IF I>Y THEN 1440
1410 LET J=INT(64*RND(1)+64)
1420 IF A1(J)<>0 THEN 1410
1430 LET A1(J)=2
1440 IF I>X THEN 1480
1450 LET J=INT(64*RND(1)+64)
1460 IF A1(J)<>0 THEN1450
1470 LET A1(J)=-200
1480 NEXT
1490 PRINT"[147]"
1500 GOSUB 3280
1510 IF L=T THEN 1540
1520 IF 9*RND(1)<7 THEN 2670
1530 REM *** COMMAND CONTROL ***
1540 IF K>0 THEN1660
1550 PRINT
1560 PRINT" **** CONGRATULATIONS ****"
1570 PRINT
1580 PRINT" THE FEDERATION HAS BEEN SAVED!"
1590 PRINT
1600 PRINT" YOUR MEDALS WILL BE SENT VIA"
1610 PRINT" THE SUB-SPACE TRANSPORTER."
1620 PRINT
1630 PRINT
1640 PRINT
1645 GOSUB835
1650 RETURN
1660 PRINT
1670 PRINT " M[146]OVE L[146]ONG RANGE SCAN P[146]HASERS"
1680 PRINT "T[146]ORPEDOES S[146]HIELDS C[146]LOSE SCAN R[146]ESIGN"
1690 GET Q$:IF Q$="" THEN 1690
1700 IF Q$="M" THEN B=1:GOTO 1780
1710 IF Q$="L" THEN B=2:GOTO 1780
1720 IF Q$="P" THEN B=3:GOTO 1780
1730 IF Q$="T" THEN B=4:GOTO 1780
1740 IF Q$="S" THEN B=5:GOTO 1780
1750 IF Q$="C" THEN B=6:GOTO 1780
1760 IF Q$="R" THEN B=7:GOTO 1780
1770 GOTO 1690
1780 PRINT "[145][145]";BL$:PRINT BL$;"[145][145]"
1790 ON B GOTO 1810,2030,2190,2460,2700 ,2770,2790
1800 REM *** HELM CONTROL ***
1810 GOSUB 3040
1820 PRINT" WARP FACTOR (1-63) ";:US$="H1234567890":UL=2:GOSUB35:W=VAL(UR$)
1830 IF (W<1) OR (W>63) THEN 1820
1840 IF E>=W THEN 1870
1850 GOSUB 3010
1860 GOTO 1500
1870 LET A1(A+64)=0
1880 E=E-W
1890 T=T+W
1900 FOR I = 1 TO W
1910 IF (V+N<0) OR (V+N>7) OR (H+M<0) OR (H+M>7) THEN 1940
1920 LET U= (V+N)+8*(H+M)+64
1930 IFA1(U)<>0 THEN PRINT" WHERE DO YOU THINK YOU ARE GOING?":GOTO 1990
1940 V=V+N
1950 H=H+M
1960 NEXT I
1970 IF(V>=0) AND(V<8) AND (H>=0) AND (H <8) THEN 1990
1980 LET Q=Q+8*INT(H/8)+INT(V/8):GOTO 1220
1990 A=V+8*H
2000 A1(A+64)=4
2010 GOTO 1500
2020 REM *** LONG RANGE SCAN ***
2030 PRINT "[147]"
2040 H1=INT(Q/8):V1=Q-8*H1+1:H1=H1+1
2050 PRINT" LONG RANGE SCAN FOR QUADRANT ";V1;H1
2060 PRINT
2070 FOR I=-16 TO 16STEP 8
2080 FOR J=-2 TO 2
2090 U=Q+J+I
2100 IF U<0 THEN U=U+64
2110 IF U>63 THEN U=U-64
2120 PRINT TAB(10+5*J);A1(U);
2130 NEXT J
2140 PRINT
2150 PRINT
2160 NEXT I
2170 GOTO 1670
2180 REM *** PHASER CONTROL ***
2190 GOSUB 3010
2200 PRINT" PHASERS ";:US$="H0123456789":UL=4:GOSUB35:P=VAL(UR$)
2210 IF E< P THEN 2190
2220 E=E-P
2230 IF X=0 THEN 2430
2240 P= INT(P/X)
2250 H=INT(A/8)
2260 V=A-8*H
2270 FOR I = 0 TO 63
2280 LET J=I+64
2290 IF A1(J)>=0 THEN 2410
2300 F=INT(I/8)
2310 U=I-F*8
2320 GOSUB 2820
2330 G=A1(J)
2340 G=G+INT(P/D)
2350 IF G<0 THEN 2380
2360 GOSUB 2950
2370 GOTO 2410
2380 A1(J)=G
2390 IF C=3 THEN 2410
2400 G=-INT(G/D):S=S-G:PRINT" ";G;"HIT ON SHIELDS."
2410 NEXT I
2420 IF S<0 THEN 2900
2430 A1(Q)=A1(Q)-(INT(A1(Q)/100)-X)*100
2440 GOSUB 3280:GOTO 1540
2450 REM *** PHOTON TORPEDOE CONTROL ***
2460 IF R<1 THEN PRINT" NO TORPEDOES":GOTO 1540
2470 GOSUB 3040
2480 R=R-1
2490 PRINT
2500 PRINT" TORPEDO RUNNING"
2510 FOR I = 1 TO 16
2520 V=V+N
2530 H=H+M
2540 POKE UM+201+40*H+3*V, 90
2550 IF(V>=0)AND(V<8) AND (H>=0) AND (H<8) THEN 2580
2560 PRINT" MISSED!"
2570 GOTO 2670
2580 J=V+8*H+64
2590 IF A1(J)<>0 THEN 2610
2600 NEXT I
2610 IF A1(J)=2 THEN PRINT" STAR BASE DESTROYED":GOTO 3190
2620 IF A1(J)>0 THEN 2670
2630 IF INT(RND(1)*10)<5 THEN 2660
2640 GOSUB 2950
2650 GOTO 2670
2660 PRINT" KLINGONS SHIELDS HELD."
2670 LET P = 0
2680 PRINT
2690 GOTO 2220
2700 E=E+S
2710 GOSUB 3010
2720 PRINT" SHIELDS ";:US$="H0123456789":UL=4:GOSUB35:S=VAL(UR$)
2730 E=E-S
2740 IF E<1 THEN PRINT" S>E":GOTO 2700
2750 GOTO 1500
2760 REM *** JUMP TO SHORT RANGE SCAN **
2770 GOTO 1500
2780 REM *** RESIGNATION ***
2790 PRINT " ACCEPTED --- YOU CHICKEN":GOSUB835:RETURN
2800 REM *** SUBROUTINES ***
2810 REM **CALC KLINGON ENTERPRISE DIST*
2820 Z=H-F
2830 Y= V-U
2840 FOR D=1 TO 8
2850 G=D+1
2860 IF G*G>(Z*Z+Y*Y) THEN RETURN
2870 NEXT D
2880 RETURN
2890 REM ***
2900 PRINT
2910 PRINT"ENTERPRISE DEAD IN SPACE!"
2920 PRINT
2930 GOTO 3190
2940 REM ***
2950 PRINT" KLINGON DESTROYED"
2960 X=X-1
2970 K=K-1
2980 A1(J)=0
2990 RETURN
3000 REM ***
3010 PRINT"ENERGY=";E
3020 RETURN
3030 REM *** READ COURSE AND CALCULATE MOVEMENT VECTOR"
3040 [153] " COURSE ?";
3050 [161] Q$:[139] Q$[178]"" [167] 3050
3060 [136] B[178][197](Q$)
3070 [139] B[178]0 [167] [153] " 1-9WAIT";:[137] 3050
3080 [153] B
3090 M[178]0
3100 N[178]0
3110 H[178][181](A[173]8)
3120 V[178]A[171]H[172]8
3130 [139] (B[179]4) [167] M[178]1
3140 [139] (B[177]6) [167] M[178][171]1
3150 [139] B[178]1 [176] B[178]4 [176] B[178]7 [167] N[178][171]1
3160 [139] B[178]3 [176] B[178]6 [176] B[178]9 [167] N[178]1
3170 [142]
3180 [143] ***
3190 [153]" YOU ARE RELIEVED OF DUTY."
3200 [153]
3210 [153]" YOU WILL BE FED TO THE DISINTEGRATOR"
3220 [153]" AS SOON AS POSSIBLE."
3230 [153]
3240 [153]" MAY YOUR ASHES REST IN PEACE."
3250 [153]
3260 [153]
3270 [141]835:[142]
3280 [143] *** SHORT RANGE SCAN ***
3290 [136] C[178]1
3300 [153] "";
3310 [139](A1(A[170]63)[178]2) [176] (A1(A[170]65)[178]2)[167] C[178]3
3320 [139] X[179][177]0[167] C[178]2
3330 [153] BL$:[153] BL$:[153] BL$:[153] "";
3340 [139] (C[179][177]2)[176](S[179][177]0) [167] [153] "":[137] 3390
3350 [153]
3360 [153] " RED ALERT...SHIELDS ACTIVATED.":[153]
3370 [136] S[178]400:[136] E[178]E[171]400
3380 [139] E[179]0 [167] E[178]E[170]S:S[178]E:E[178]0
3390 [139] C[178]3 [167] E[178]3000:[136] S[178]0:R[178]15
3400 [136] H1[178][181](Q[173]8):[136] V1[178]Q[171]8[172]H1[170]1:H1[178]H1[170]1
3410 [153]" SHORT RANGE SCAN FOR QUADRANT";V1;H1
3420 [153] BL$
3430 [129] I [178] 0 [164] 56 [169] 8
3440 [129] J [178] 64 [164] 71
3450 [136] U[178]A1(I[170]J)
3460 [139] U[178]0 [167] [153]" . ";
3470 [139] U[179]0 [167] [153]">K<";
3480 [139] U[178]2 [167] [153]"<B>";
3490 [139] U[178]3 [167] [153]" * ";
3500 [139] U[178]4 [167] [153]"-O-";
3510 [130] J
3520 [139] I[178]0 [167] [153]"STARDATE ";T
3530 [139] (I[178]8) [176] (I[178]56) [167] [153]
3540 [139] I[179][177]16 [167] 3590
3550 [153]"COND. ";
3560 [139] C[178]1 [167] [153] " GREEN"
3570 [139] C[178]2 [167] [153] " REDWAIT "
3580 [139] C[178]3 [167] [153] " DOCKED"
3590 [139] I[178]24 [167] [153]"ENERGY= CMDCMDCMDCMDCMDCMD";E
3600 [139] I[178] 32 [167] [153]"TORPEDOES= CMDCMDCMDCMD";R
3610 [139] I[178]40 [167] [153]"SHIELDS= CMDCMDCMDCMDCMDCMD";S
3620 [139] I[178]48 [167] [153]"KLINGONS= CMDCMDCMDCMDCMDCMD";K
3630 [130] I
3640 [129] I[178]1 [164] 11:[153] BL$:[130] I
3650 [153] "":[142]
3660 [151] UT,UL%
3670 [153] "(null)ELCOME TO THE STARSHIP VAL(null)(null)VAL(null)(null)(null)RIGHT$(null)VALWAIT"
3680 [153]:[153] " LEN(null)(null)(null)VALCLOSE(null)LENATN(null)CLOSECLOSE(null)(null)(null)CHR$CLOSE(null)LENATN(null)"
3690 [153] " ========== ========="
3700 [153] "(null)LINGONS >(null)< 100 DIGIT"
3710 [153] "(null)OUR BASE <PEEK> 10 DIGIT"
3720 [153] "VALNTERPRISE -(null)-"
3730 [153] "(null)TARS * 1 DIGIT"
3740 [153]:[153] "(null)OUR COMMANDS ARE:-":[153]
3750 [153] " (null)WAITOVE (null)WAITONG RANGE SCAN (null)WAITHASERS"
3760 [153] "(null)WAITORPEDOES (null)WAITHIELDS LENWAITLOSE SCAN (null)WAITESIGN"
3770 [153]:[153] "(null)RESS THE FIRST LETTER OF THE COMMAND"
3780 [153] "TO EXECUTE. STR$IRECTIONS FOR MOVE AND"
3790 [153] "TORPEDOES ARE GIVEN BY THE (null)VAL(null)'S KEYPAD":[153]
3800 [153] "(null)O DOCK WITH BASE YOU MUST POSITION THE"
3810 [153] "VALNTERPRISE ADJACENT TO A BASE.(-(null)-<PEEK>)"
3850 [142]