ogmobot [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=30268 BF Edit <p> <table><tr><td> <a href="/bbs/?pid=54480#p"> <img src="/bbs/thumbs/pico54477.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=54480#p"> BF Edit 1.0</a><br><br> by <a href="/bbs/?uid=30268"> ogmobot</a> <br><br><br> <a href="/bbs/?pid=54480#p"> [Click to Play]</a> </td></tr></table> <br /> <em>For years, the development of PICO-8 cartridges has been restricted to those elite few who have knowledge of the arcane &quot;Lua&quot; programming language. Well, ladies and gentlemen, I am pleased to inform you that this is no longer the case! This PICO-8 cartridge contains within it an Integrated Development Environment for a language that anyone can learn. When the language first appeared as <strong>P''</strong> in 1964, it lacked the necessary i/o routines to become popular; but thanks to some recent extensions to the language (as well as a little re-branding) it has become instantly recognisable to programmers all over the world. The language has just eight simple commands that anyone can learn in a matter of minutes -- soon, you too could be writing software for the PICO-8!</em></p> <p>A very basic IDE for Urban M&uuml;ller's famous esoteric language.</p> <p>A few implementation quirks:</p> <ul> <li>The &quot;,&quot; command takes input from a pre-defined input string (listed as &quot;data&quot; in the IDE).</li> <li>The cartridge uses an external cartridge called &quot;bfsave.p8&quot; to save and load data. Only one set of data can be saved at a time.</li> <li>The BF virtual machine uses the PICO-8's native number type for its memory cells (not bytes).</li> <li>The BF virtual machine has memory that extends in both directions from the pointer's starting position.</li> </ul> <p>When editing code or input data, characters can only be appended to the end of the text, not inserted. (It's a horrible way to do things, but then again, so is BF.) Use the D-pad to choose a character and Z to select it. Use X to delete the last character of the text. Use &quot;line&quot; for a newline character, and &quot;space&quot; for a space character. &quot;Clear&quot; requires two Z presses and erases all text. Use &quot;finish&quot; to return to the main menu when you're done.</p> <p>When running a program, the X button causes an interrupt. After a program finishes running, or is interrupted, press any button to return to the main menu.</p> <p>When saving, code data is saved to bfsave.p8 at location 0x0000 and input data is saved at location 0x4000, but each has a maximum length of 7167 characters due to the loading mechanism of the IDE. Loading from an empty cartridge will cause a crash.</p> https://www.lexaloffle.com/bbs/?tid=31561 https://www.lexaloffle.com/bbs/?tid=31561 Sat, 28 Jul 2018 02:28:23 UTC