<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BCPL &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/bcpl/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Sat, 27 Oct 2007 15:52:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>cintsys followup:</title>
		<link>https://virtuallyfun.com/2007/10/27/cintsys-followup/</link>
					<comments>https://virtuallyfun.com/2007/10/27/cintsys-followup/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 27 Oct 2007 15:52:00 +0000</pubDate>
				<category><![CDATA[BCPL]]></category>
		<category><![CDATA[VisualC++ 2005 Express]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=55</guid>

					<description><![CDATA[For Windows users you&#8217;ll actually need a different archive that includes Windows support. I&#8217;m using VisualC++ 2005 Express to build this out. You can find it @ http://msdn.microsoft.com/express . Don&#8217;t forget the servicepack 1 for Vista users. Retrieve http://www.cl.cam.ac.uk/users/mr/BCPL/bcpl.zip unzip &#8230; <a href="https://virtuallyfun.com/2007/10/27/cintsys-followup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>For Windows users you&#8217;ll actually need a different archive that includes Windows support.  I&#8217;m using VisualC++ 2005 Express to build this out.  You can find it @ <a href="http://msdn.microsoft.com/express">http://msdn.microsoft.com/express</a>  .  Don&#8217;t forget the servicepack 1 for Vista users.</p>
<p>Retrieve <a href="http://www.cl.cam.ac.uk/users/mr/BCPL/bcpl.zip">http://www.cl.cam.ac.uk/users/mr/BCPL/bcpl.zip</a></p>
<p>unzip the bcpl zip to somewhere eg (c:\proj\bcpl)</p>
<p>run the visual studio 2005 command promptcd to your project directory</p>
<p>edit the vc9env.bat file:  search and replace distribution with where you put your zip file (proj)Next remove all the vcvar lines (since we invoked a vc capable shell we dont need to worry here)</p>
<p>vc9env.bat</p>
<p>nmake -f MakefileVC<br />It&#8217;ll compiler the interpeter, then it&#8217;ll compile all the bcpl bits, and dump you into a shell.  From here you can type in &#8216;logout&#8217; and cd into the bcplprogs directory and play around.<br />For example</p>
<p>cd ..\bcplprogs\maze</p>
<p>..\..\cintcode\cintsys.exe</p>
<p>then we&#8217;ll compile the maze program with:</p>
<p>bcpl maze.b to maze hdrs BCPLHDRS</p>
<p>finally we can run the maze program:</p>
<p>maze</p>
<p>C:\proj\BCPL\bcplprogs\maze>..\..\cintcode\cintsys<br />BCPL Cintcode System (25 Jan 2007)</p>
<p>0> bcpl maze.b to maze hdrs BCPLHDRS<br />BCPL (3 July 2007)</p>
<p>Code size =  1164 bytes</p>
<p>40> maze</p>
<p>&#8230; the program will print the maze, as it solves it&#8230; </p>
<p>screens will fly by.</p>
<p>4965></p>
<p>From here you can play with the rest of the bcpl examples.  You can exit the interpeter with either control C or logout.  Currently there doesnt seem to be a cd command, so I just exit and move via the Vista command shell.</p>
<p>I hope this clears it up somewhat.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2007/10/27/cintsys-followup/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>TripOS / Cintsys</title>
		<link>https://virtuallyfun.com/2007/10/24/tripos-cintsys/</link>
					<comments>https://virtuallyfun.com/2007/10/24/tripos-cintsys/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 24 Oct 2007 05:24:00 +0000</pubDate>
				<category><![CDATA[Amiga]]></category>
		<category><![CDATA[BCPL]]></category>
		<category><![CDATA[Commodore]]></category>
		<category><![CDATA[TripOS]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=54</guid>

					<description><![CDATA[While I was reading the new part 4 ( http://arstechnica.com/articles/culture/amiga-history-4-commodore-years.ars ) on the history of the Commodore Amiga, it mentions that AmigaDOS was not the original Operating System that they had wanted, but due to difficulties they had to pick &#8230; <a href="https://virtuallyfun.com/2007/10/24/tripos-cintsys/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>While I was reading the new part 4 ( <a href="http://arstechnica.com/articles/culture/amiga-history-4-commodore-years.ars">http://arstechnica.com/articles/culture/amiga-history-4-commodore-years.ars</a> ) on the history of the Commodore Amiga, it mentions that AmigaDOS was not the original Operating System that they had wanted, but due to difficulties they had to pick a &#8216;plan b&#8217; as it were.. They went with TripOS a portable OS written in BCPL.</p>
<p>TripOS ran on PDP-11&#8217;s, NOVA&#8217;s, m68k&#8217;s, and probably other machine type&#8230;  What is also interesting is that BCPL heavily influenced the development of C!  Searching about I found this:</p>
<p><a href="http://www.cl.cam.ac.uk/~mr10/BCPL.html">http://www.cl.cam.ac.uk/~mr10/BCPL.html</a></p>
<p>The homepage of Martin Richards, the author of TripOS &amp; BCPL!  What&#8217;s even cooler is that he&#8217;s cooked up an interpeted version of TripOS that will run on most anything!  Downloading <a href="http://www.cl.cam.ac.uk/users/mr/Cintpos/cintpos.zip">http://www.cl.cam.ac.uk/users/mr/Cintpos/cintpos.zip</a>  I was quickly able to setup the exe&#8217;s under Vista, and run TripOS.  It&#8217;s very cool!</p>
<p>C:\temp\BCPL\cintcode>cintsys.exe -v<br />Boot tracing level is set to 1<br />Cintcode memory (upb=4000000) allocated<br />Boot&#8217;s stack allocated at 211<br />Boot&#8217;s global vector allocated at 727<br />Rootnode allocated at 100<br />syscin/boot loaded successfully<br />syscin/blib loaded successfully<br />syscin/syslib loaded successfully<br />syscin/dlib loaded successfully<br />BOOT stack is at 211<br />BOOT global vector is at 727<br />CLI stack allocated at 8551<br />CLI global vector allocated at 9067<br />BCPL Cintcode System (25 Jan 2007)<br />boot about to call the interpreter recursively<br />It should start executing the boot function: startrootboot: about to call sys(Sys_interpret,&#8230;)<br />startroot: can now use normal stream i/o<br />startroot: trying to load syscin/cli<br />startroot: loaded syscin/cli successfully<br />startroot: now entering the cli<br />cli: now entering the main CLI loop<br />0></p>
<p>From here you can build various demonstration BCPL programs, and whatnot.  Also looking at the code for TripOS it&#8217;s VERY small&#8230; But then the same could be said of UnixV6..  Things have gotten VERY complicated over the years..</p>
<p>Anyways, I thought you&#8217;d like a glimpse into the basis of AmigaDOS!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2007/10/24/tripos-cintsys/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
