diff --git a/_includes/machine-engines.html b/_includes/machine-engines.html index 50c07d087..025eb04ee 100644 --- a/_includes/machine-engines.html +++ b/_includes/machine-engines.html @@ -15,7 +15,7 @@ {% else %} {% assign machine_state = machine.state %} {% endunless %} - {% if site.pcjs_compiled %} + {% if site.pcjs_compiled == true and machine.uncompiled != true %} {% capture machine_script %}{% endcapture %} {% unless machine_scripts contains machine_script %} {{ machine_script }} diff --git a/_includes/machine-styles.html b/_includes/machine-styles.html index f9b535712..0a5c86c16 100644 --- a/_includes/machine-styles.html +++ b/_includes/machine-styles.html @@ -1,5 +1,5 @@ {% for machine in page.machines %} - {% unless site.pcjs_compiled %} + {% unless site.pcjs_compiled == true and machine.uncompiled != true %} {% capture machine_style %}{{ site.baseurl }}/modules/{{ machine.type | remove:'-dbg' }}js/templates/components.css{% endcapture %} {% else %} {% capture machine_style %}{{ site.baseurl }}/versions/{{ machine.type | remove:'-dbg' }}js/{{ site.pcjs_version }}/components.css{% endcapture %} diff --git a/blog/2013/11/README.md b/_posts/2013-11-20-a-blog-thats-not-a-blog.md similarity index 96% rename from blog/2013/11/README.md rename to _posts/2013-11-20-a-blog-thats-not-a-blog.md index 1ed6914d2..c9ecd7ee3 100644 --- a/blog/2013/11/README.md +++ b/_posts/2013-11-20-a-blog-thats-not-a-blog.md @@ -1,5 +1,11 @@ -A Blog That's Not A Blog --- +layout: post +title: "A Blog That's Not A Blog" +date: 2013-11-20 11:00:00 +category: News +permalink: /blog/2013/11/20/ +--- + As you may have noticed (or not), the [JSMachines](http://jsmachines.net/) website had a very modest makeover recently. diff --git a/blog/2014/01/README.md b/_posts/2014-01-01-new-year-new-directions.md similarity index 79% rename from blog/2014/01/README.md rename to _posts/2014-01-01-new-year-new-directions.md index 0b2ec7c08..0758c2455 100644 --- a/blog/2014/01/README.md +++ b/_posts/2014-01-01-new-year-new-directions.md @@ -1,6 +1,12 @@ -New Year, New Directions --- -Initial goals for 2014 include: +layout: post +title: New Year, New Directions +date: 2014-01-01 11:00:00 +category: Goals +permalink: /blog/2014/01/01/ +--- + +Initial goals for 2014 include - Setting up a new web server running node.js, using either AWS, Google Compute Engine or Windows Azure; - Porting this project to work with node.js, which includes rewriting all the PHP code as server-side JavaScript; diff --git a/blog/2014/03/30/README.md b/_posts/2014-03-30-running-on-azure.md similarity index 94% rename from blog/2014/03/30/README.md rename to _posts/2014-03-30-running-on-azure.md index 34633633f..de40a4958 100644 --- a/blog/2014/03/30/README.md +++ b/_posts/2014-03-30-running-on-azure.md @@ -1,5 +1,11 @@ -Running on Azure --- +layout: post +title: Running on Azure +date: 2014-03-30 11:00:00 +category: Web Servers +permalink: /blog/2014/03/30/ +--- + Publishing a Node-based site to [Azure](http://azure.com) was painless, thanks to their friendly web portal and GitHub integration. Getting a fully operational site, however, took a bit more time. @@ -42,7 +48,7 @@ would happily report: but it would NEVER display anything but deployment information. Instead, I had to browse the log files using Azure's "FTP DIAGNOSTIC LOGS" link on the web portal -- which presents the logs as one big, ugly, fragmented mess: -![Azure Logs](iisnode_logs.png) +![Azure Logs](/blog/images/iisnode_logs.png) Sigh. But at least the site is up and fully operational now. diff --git a/blog/2014/03/31/README.md b/_posts/2014-03-31-browser-compatibility-woes.md similarity index 91% rename from blog/2014/03/31/README.md rename to _posts/2014-03-31-browser-compatibility-woes.md index cb3f88690..2f29a656e 100644 --- a/blog/2014/03/31/README.md +++ b/_posts/2014-03-31-browser-compatibility-woes.md @@ -1,5 +1,11 @@ -Browser Compatibility Woes --- +layout: post +title: Browser Compatibility Woes +date: 2014-03-31 11:00:00 +category: JavaScript +permalink: /blog/2014/03/31/ +--- + While JavaScript has been doing a good job of delivering on the old "write once, run everywhere" promise that its [unrelated namesake](http://www.java.com) coined, the "hook once, deliver everywhere" promise seems less fulfilled. @@ -18,7 +24,7 @@ I've done what testing I can with the Android SDK and the "Android Virtual Devic looks fine -- you click/tap on the PC's screen, the soft keyboard pops up, and typing works. So I guess Silk is just an outlier. I'm not sure what I'll do about it yet (or even what I can do). -![PCjs in AVD](avd_tablet.png) +![PCjs in AVD](/blog/images/avd_tablet.png) --- @@ -38,4 +44,4 @@ If you're having a problem (or trouble with a device) that I've not already ment Thanks. *[@jeffpar](http://twitter.com/jeffpar)* -*March 31, 2014* \ No newline at end of file +*March 31, 2014* diff --git a/blog/2014/04/01/README.md b/_posts/2014-04-01-the-latest-in-emulator-technology.md similarity index 84% rename from blog/2014/04/01/README.md rename to _posts/2014-04-01-the-latest-in-emulator-technology.md index 75ac0b78f..a33a6b948 100644 --- a/blog/2014/04/01/README.md +++ b/_posts/2014-04-01-the-latest-in-emulator-technology.md @@ -1,5 +1,11 @@ -The Latest in Emulator Technology --- +layout: post +title: The Latest in Emulator Technology +date: 2014-04-01 11:00:00 +category: JavaScript +permalink: /blog/2014/04/01/ +--- + Announcing **InternetJS: The Internet Emulator**, the world's smallest JavaScript application capable of emulating the entire Internet. And like all PCjs applications, there's nothing to install. It runs safely and securely from any web browser. @@ -14,4 +20,4 @@ Disclaimer: InternetJS may not be suitable for everyone. Ask your doctor if Int - Inability to forget things you never wanted to remember *[@jeffpar](http://twitter.com/jeffpar)* -*April 1, 2014* \ No newline at end of file +*April 1, 2014* diff --git a/blog/2014/04/12/README.md b/_posts/2014-04-12-whats-new-in-1.13.0.md similarity index 90% rename from blog/2014/04/12/README.md rename to _posts/2014-04-12-whats-new-in-1.13.0.md index cfab94aae..85c20c901 100644 --- a/blog/2014/04/12/README.md +++ b/_posts/2014-04-12-whats-new-in-1.13.0.md @@ -1,5 +1,11 @@ -What's New in 1.13.0 --- +layout: post +title: "What's New in 1.13.0" +date: 2014-04-12 11:00:00 +category: Releases +permalink: /blog/2014/04/12/ +--- + The latest version adds support for "software manifests", which you can read more about [here](/apps/). Basically, manifests are simple XML files that describe a piece of software (an application, an operating system, whatever). They can also link to a PCjs machine configuration capable of running the software, along with a "ready-to-run" machine state file. @@ -17,4 +23,4 @@ Almost nothing has changed in the PCjs client-side code (which is where the emul the new **diskdump** API. *[@jeffpar](http://twitter.com/jeffpar)* -*April 12, 2014* \ No newline at end of file +*April 12, 2014* diff --git a/blog/2014/04/14/README.md b/_posts/2014-04-14-node-express-safari.md similarity index 96% rename from blog/2014/04/14/README.md rename to _posts/2014-04-14-node-express-safari.md index 012cb75c2..762cba759 100644 --- a/blog/2014/04/14/README.md +++ b/_posts/2014-04-14-node-express-safari.md @@ -1,14 +1,20 @@ -Node + Express != Safari --- +layout: post +title: "Node + Express != Safari" +date: 2014-04-14 11:00:00 +category: Browsers +permalink: /blog/2014/04/14/ +--- + There's something very odd going on with between Node+Express and Safari, resulting in blank web pages. Don't believe me? Just ask [Google](https://www.google.com/#q=node+express+safari+blank+page). -[pcjs.org](http://www.pcjs.org/) contains a lot of XML files that are rendered as web pages using XML +[{{ site.pcjs_domain }}]({{ site.url }}/) contains a lot of XML files that are rendered as web pages using XML stylesheets. And occasionally Safari -- and ONLY Safari -- will render those XML files as blank pages. For example, here's the [machine.xml](/devices/pc/machine/5150/mda/64kb/machine.xml) file that's also embedded on the -[pcjs.org](http://www.pcjs.org/) home page. +[{{ site.pcjs_domain }}]({{ site.url }}/) home page. When Safari fetched that XML file from an Apache web server (what I used before switching to Node), the request would look like: @@ -145,4 +151,4 @@ websites, who will probably get blank pages when they shouldn't, and other devel this problem on their own. *[@jeffpar](http://twitter.com/jeffpar)* -*April 14, 2014* \ No newline at end of file +*April 14, 2014* diff --git a/blog/2014/04/30/README.md b/_posts/2014-04-30-heading-to-new-york.md similarity index 95% rename from blog/2014/04/30/README.md rename to _posts/2014-04-30-heading-to-new-york.md index f39a9abe0..b76da214a 100644 --- a/blog/2014/04/30/README.md +++ b/_posts/2014-04-30-heading-to-new-york.md @@ -1,5 +1,11 @@ -Heading to New York --- +layout: post +title: Heading to New York +date: 2014-04-30 11:00:00 +category: JavaScript +permalink: /blog/2014/04/30/ +--- + Lots of tinkering has been going on here at pcjs.org the past couple of weeks, but with nothing substantial to show for it. Fixing lots of little problems requires only small bits of time, whereas buckling down and tackling "the next BIG thing" for PCjs requires a much more serious time commitment, with limited interruptions. @@ -36,4 +42,4 @@ Will [EmpireJS](http://2014.empirejs.org) answer any of these big questions? It and learning is fun! *[@jeffpar](http://twitter.com/jeffpar)* -*April 30, 2014* \ No newline at end of file +*April 30, 2014* diff --git a/blog/2014/05/12/README.md b/_posts/2014-05-12-chrome-kicks-butt.md similarity index 91% rename from blog/2014/05/12/README.md rename to _posts/2014-05-12-chrome-kicks-butt.md index 2cfc93755..ce7c6727d 100644 --- a/blog/2014/05/12/README.md +++ b/_posts/2014-05-12-chrome-kicks-butt.md @@ -1,5 +1,11 @@ -Chrome Kicks Butt --- +layout: post +title: Chrome Kicks Butt +date: 2014-05-12 11:00:00 +category: JavaScript +permalink: /blog/2014/05/12/ +--- + I haven't been closely monitoring the performance of PCjs across various browsers. Most of my browser testing has been limited to "Does the latest version still work in all current web browsers?" @@ -24,4 +30,4 @@ Chrome's approach to making regular JavaScript run faster seems to be a winning like PCjs. *[@jeffpar](http://twitter.com/jeffpar)* -*May 12, 2014* \ No newline at end of file +*May 12, 2014* diff --git a/blog/2014/06/14/README.md b/_posts/2014-06-14-halt-and-catch-liar.md similarity index 91% rename from blog/2014/06/14/README.md rename to _posts/2014-06-14-halt-and-catch-liar.md index 6f7403ca7..fe2dd65c6 100644 --- a/blog/2014/06/14/README.md +++ b/_posts/2014-06-14-halt-and-catch-liar.md @@ -1,5 +1,11 @@ -Halt and Catch Liar --- +layout: post +title: Halt and Catch Liar +date: 2014-06-14 11:00:00 +category: TV Shows +permalink: /blog/2014/06/14/ +--- + I had high hopes for the new AMC series "[Halt and Catch Fire](http://www.amctv.com/shows/halt-and-catch-fire)," but it has proven to be an utter disappointment. I think I can suspend my disbelief as well as anyone, but this show requires you to completely turn your brain off in order to be believed. I'm also baffled by the show's @@ -21,7 +27,7 @@ And centerpiece of this whole conceit -- the cloning of the IBM PC ROM BIOS. Wh scene from Episode 2, where Brilliant Engineer looks at Hot Programmer's whiteboard in awe. Apparently, he is easily awed, because he did the same thing when Sales Guy wrote "2x fast, 1/2 price" on an earlier whiteboard. -!["Halt and Catch Fire" Scene from Episode 2](Halt_and_Catch_Liar-thumbnail.jpg "link:Halt_and_Catch_Liar.jpg") +["Halt and Catch Fire" Scene from Episode 2](/blog/images/halt-and-catch-liar.jpg) So if you deconstruct the code on this whiteboard, you quickly notice that while it IS assembly language, it is NOT the sort of assembly language you would find in a ROM BIOS, let alone ANYTHING that would leave you in awe. @@ -66,10 +72,10 @@ This turns out to be code largely copied from a file I found online: [PCTRACE.AS Another curiosity is that searching for this resulted in a "[Googlewhack](http://en.wikipedia.org/wiki/Googlewhack)" of sorts: -![Googlewhack](googlewhack.jpg) +![Googlewhack](/blog/images/googlewhack.jpg) Technically, a Googlewhack (a two-word search that yields exactly one result) must use two words found in an actual dictionary. But dictionaries are so passé. *[@jeffpar](http://twitter.com/jeffpar)* -*June 14, 2014* \ No newline at end of file +*June 14, 2014* diff --git a/blog/2014/06/26/README.md b/_posts/2014-06-26-more-under-the-hood-changes.md similarity index 79% rename from blog/2014/06/26/README.md rename to _posts/2014-06-26-more-under-the-hood-changes.md index 0bbfe3ff6..98cb8c30b 100644 --- a/blog/2014/06/26/README.md +++ b/_posts/2014-06-26-more-under-the-hood-changes.md @@ -1,5 +1,11 @@ -More Under-The-Hood Changes --- +layout: post +title: More Under-The-Hood Changes +date: 2014-06-26 11:00:00 +category: Releases +permalink: /blog/2014/06/26/ +--- + v1.13.7 of PCjs contains a few minor improvements, mostly in terms of rendering video modes a little more efficiently. The rest of the changes to the website involved beefing up support for both "software manifests" and "document manifests." @@ -9,4 +15,4 @@ with more on the way. I have a TON of old diskette images, and it has taken mor manifests than I would like. *[@jeffpar](http://twitter.com/jeffpar)* -*June 26, 2014* \ No newline at end of file +*June 26, 2014* diff --git a/blog/2014/07/30/README.md b/_posts/2014-07-30-ega-support.md similarity index 83% rename from blog/2014/07/30/README.md rename to _posts/2014-07-30-ega-support.md index 131a9ab27..0018303f4 100644 --- a/blog/2014/07/30/README.md +++ b/_posts/2014-07-30-ega-support.md @@ -1,14 +1,20 @@ -EGA Support --- +layout: post +title: EGA Support +date: 2014-07-30 11:00:00 +category: Video +permalink: /blog/2014/07/30/ +--- + PCjs v1.14.0 now includes basic EGA support. It emulates the EGA hardware well enough to pass the IBM EGA BIOS diagnostics and run [Windows 1.01](/devices/pc/machine/5160/ega/640kb/win101/) in color. Check out our [Windows 1.01 "Server Array"](/devices/pc/machine/5160/ega/640kb/array/) demo. -![Windows 1.01 "Server Array" Demo](/blog/2014/07/30/win101-array-demo-small.jpg "link:/blog/2014/07/30/win101-array-demo.jpg") +[Windows 1.01 "Server Array" Demo](/blog/images/win101-array-demo.jpg) EGA support is added to a **machine.xml** file using two XML elements; eg: -