<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>1st Part: &#x22;Nostalgia&#x22; &#x22;Old&#x22; Basic Language interpreters, programs, Etc.</title>
		<link>/blogentry/52854</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/52854" rel="self" type="application/rss+xml" />
		<description>LANTERN's Blog: 1st Part: &#x22;Nostalgia&#x22; &#x22;Old&#x22; Basic Language interpreters, programs, Etc.</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Original Blog Entry: 1st Part: &#x22;Nostalgia&#x22; &#x22;Old&#x22; Basic Language interpreters, programs, Etc.</title>
			<link>/blogentry/52854</link>
			<guid isPermaLink="true">/blogentry/52854</guid>
			<pubDate>Sat, 02 Apr 2011 23:41:29 GMT</pubDate>
			<dc:creator>LANTERN</dc:creator>
			<description><![CDATA[<p>Let us start here:<br /><br />http://awsoftware.org/<br /><br />http://awsoftware.org/ajwfiles/AWSoftware.exe<br /><br />http://awsoftware.org/ajwfiles/Classic%20Basic%20Games%20v1_0.zip<br /><br />http://awsoftware.org/ajwfiles/awbasic.zip<br /><br />http://awsoftware.org/classiccomputing.htm<br /><br />http://www.atariarchives.org/basicgames/<br /><br />http://www.atariarchives.org/basicgames/showpage.php?page=i12<br /><br />http://www.atariarchives.org/basicgames/showpage.php?page=i13<br /><br />http://www.atariarchives.org/basicgames/showpage.php?page=i14<br /><br />http://www.michls.de/troedel/bascomp.html<br /><br />http://awsoftware.org/ajwfiles/<br /><br />http://www.trs-80.com/wordpress/info-level-2-basic-language/<br /><br />---------------<br /><br />There are some program&#x27;s listing there on one of the links, but they are as picture files they are too small to be of much use, at least for me, so download them and open with a program such as IrfanView they zoom in on the picture file and then you can better see the basic listings.<br /><br />Irfanview is a very nice freeware picture viewer and printer you can easily find it with Google.<br /><br />The TRS80 basic interpreter is called Trs-80 Basic.exe<br /><br />It will load a basic file program listing there called: Autorun.bas<br /><br />Stop it with the Esc Escape key and then use the File then Open and find another .bas program listing and open it.<br /><br />You can make your own basic listings with NotePad or with any text editor and then save them as Name .bas, name being the name that you will give to the basic program that you make (Made).<br /><br />For example using NotePad type:<br /><br />10 print Hello<br /><br />Now save that one line as:<br /><br />Hello.bas<br /><br />Now open it with the basic interpreter and it will print and show:<br /><br />Hello<br /><br />-----------<br /><br />Easy enough, Right?<br /><br />Next this will run so fast that you will only see the very end of it:<br /><br />10 rem Bywater Basic version of 99 Bottles of beer (Bottles.bas)<br /><br />15 rem See http://www.programmersheaven.com/zone6/cat700/15918.htm<br /><br />20 rem Philipp Winterberg, http://www.winterbergs.de<br /><br />30<br /><br />40 for b=99 to 1 step -1<br /><br />50 print str$(b) + bottle(s) of beer on the wall,<br /><br />60 print str$(b) + bottle(s) of beer.<br /><br />70 print Take one down, pass it around,<br /><br />80 print str$(b-1) + bottle(s) of beer on the wall. + chr$(13) + chr$(10)<br /><br />90 next b<br /><br />99 end<br /><br />-----------<br /><br />Use Notepad and save as Bottles.bas then open it with the basic interpreter it runs very very fast only the end shows O.K. rerun it a few times so you can better see it as it runs.<br /><br />-----------<br /><br />Maybe a better Basic sample of 99 Bottles of Beer On The Wall:<br /><br />10 FOR B=99 TO 1 STEP -1<br /><br />20 GOSUB 100<br /><br />30 T$=T$+ OF BEER ON THE WALL<br /><br />40 PRINT T$; , ;T$<br /><br />50 PRINT TAKE ONE DOWN AND PASS IT AROUND,<br /><br />60 IF B-1 =0 THEN PRINT NO MORE BOTTLES OF BEER ON THE WALL :GOTO 80<br /><br />70 GOSUB 200:PRINT OF BEER ON THE WALL<br /><br />80 PRINT:NEXT<br /><br />91 PRINT GO TO THE STORE AND BUY SOME MORE, 99 BOTTLES OF BEER ON THE WALL<br /><br />92 END<br /><br />100 T$=STR$(B)+ BOTTLE :IF B 1 THEN T$=T$+ S<br /><br />110 RETURN<br /><br />200 A=B-1:PRINT STR$(A)+ BOTTLE ;<br /><br />210 IF A 1 THEN PRINT S ;<br /><br />220 RETURN<br /><br />--------<br /><br />Also runs very very fast.<br /><br />There seems to be many ways of doing about the same thing.<br /><br />-------<br /><br />I got those Basic listings from the Internet.<br /><br />I must say that the programs that come with the interpreter are Trash, but the interpreter is good for learning how to use the basic key words and to make text and numbers programs.<br /><br />-------<br /><br />It is a bad game, but the listing can teach a little stuff, I wonder why those games are so bad, I guess that good programmers sold their games and not gave them away for free.<br /><br />10 PRINT TAB(34); STARS<br /><br />20 PRINT TAB(15); CREATIVE COMPUTING MORRISTOWN, NEW JERSEY<br /><br />30 PRINT:PRINT:PRINT<br /><br />100 REM *** STARS - PEOPLE&#x27;S COMPUTER CENTER, MENLO PARK, CA<br /><br />140 REM *** A IS LIMIT ON NUMBER, M IS NUMBER OF GUESSES<br /><br />150 A=100:M=7<br /><br />170 INPUT DO YOU WANT INSTRUCTIONS ;A$<br /><br />190 IF LEFT$(A$,1)= N THEN 280<br /><br />200 REM *** INSTRUCTIONS ON HOW TO PLAY<br /><br />210 PRINT I AM THINKING OF A WHOLE NUMBER FROM 1 TO ;A<br /><br />220 PRINT TRY TO GUESS MY NUMBER. AFTER YOU GUESS, I<br /><br />230 PRINT WILL TYPE ONE OR MORE STARS (*). THE MORE<br /><br />240 PRINT STARS I TYPE, THE CLOSER YOU ARE TO MY NUMBER.<br /><br />250 PRINT ONE STAR (*) MEANS FAR AWAY, SEVEN STARS (*******)<br /><br />260 PRINT MEANS REALLY CLOSE! YOU GET ;M; GUESSES.<br /><br />270 REM *** COMPUTER THINKS OF A NUMBER<br /><br />280 PRINT<br /><br />290 PRINT<br /><br />300 X=INT(A*RND(1)+1)<br /><br />310 PRINT OK, I AM THINKING OF A NUMBER, START GUESSING.<br /><br />320 REM *** GUESSING BEGINS, HUMAN GETS M GUESSES<br /><br />330 FOR K=1 TO M<br /><br />340 PRINT<br /><br />350 PRINT YOUR GUESS ;<br /><br />360 INPUT G<br /><br />370 IF G=X THEN 600<br /><br />380 D=ABS(G-X)<br /><br />390 IF D =64 THEN 510<br /><br />400 IF D =32 THEN 500<br /><br />410 IF D =16 THEN 490<br /><br />420 IF D =8 THEN 480<br /><br />430 IF D =4 THEN 470<br /><br />440 IF D =2 THEN 460<br /><br />450 PRINT * ;<br /><br />460 PRINT * ;<br /><br />470 PRINT * ;<br /><br />480 PRINT * ;<br /><br />490 PRINT * ;<br /><br />500 PRINT * ;<br /><br />510 PRINT * ;<br /><br />520 PRINT<br /><br />530 NEXT K<br /><br />540 REM *** DID NOT GUESS IN M GUESSES<br /><br />550 PRINT<br /><br />560 PRINT SORRY, THAT&#x27;S ;M; GUESSES. THE NUMBER WAS ;X<br /><br />580 GOTO 650<br /><br />590 REM *** WE HAVE A WINNER<br /><br />600 PRINT:FOR N=1 TO 79<br /><br />610 PRINT * ;<br /><br />620 NEXT N<br /><br />630 PRINT:PRINT<br /><br />640 PRINT YOU GOT IT IN ;K; GUESSES!!! LET&#x27;S PLAY AGAIN...<br /><br />650 GOTO 280<br /><br />660 END<br /><br />Save it as:<br /><br />stars.bas<br /><br />... &#x5b;&#xa0;<a href="/blogentry/52854">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>LANTERN</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/52854</wfw:comment>
		</item>
	</channel>
</rss>

