Finished porting the blog posts
This commit is contained in:
parent
535f9c8d6b
commit
78ba582d4e
56 changed files with 383 additions and 131 deletions
46
_posts/2015-01-17-pcjs-uncompiled.md
Normal file
46
_posts/2015-01-17-pcjs-uncompiled.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
layout: post
|
||||
title: PCjs Uncompiled
|
||||
date: 2015-01-17 11:00:00
|
||||
category: Features
|
||||
permalink: /blog/2015/01/17/
|
||||
machines:
|
||||
- type: pc-dbg
|
||||
id: at-ega-1152k-rev3
|
||||
config: /devices/pc/machine/5170/ega/1152kb/rev3/machine.xml
|
||||
uncompiled: true
|
||||
---
|
||||
|
||||
Most machines on [{{ site.pcjs_domain }}](/) run with a compiled version of PCjs, which is produced
|
||||
by running PCjs JavaScript source code through Google's Closure Compiler, yielding a smaller (minified)
|
||||
version that loads and runs much faster than the original source code.
|
||||
|
||||
However, certain features are disabled in the compiled versions, including a new BACKTRACK feature that
|
||||
makes it possible to track the contents of memory locations and registers back to their source (eg, to a ROM
|
||||
or file location). Once the BACKTRACK feature is finished, it will be folded into the compiled code, but until
|
||||
then, the only way to experiment with it is by running the uncompiled code.
|
||||
|
||||
To make it easier to launch machines with uncompiled code, a PCjs machine definition can now set `uncompiled`
|
||||
to *true*, overriding the value of `site.pcjs_compiled` in **_config.yml**.
|
||||
|
||||
Here's what a typical Markdown file would look like:
|
||||
|
||||
{% raw %}
|
||||
---
|
||||
...
|
||||
machines:
|
||||
- type: pc-dbg
|
||||
id: at-ega-1152k-rev3
|
||||
config: /devices/pc/machine/5170/ega/1152kb/rev3/machine.xml
|
||||
uncompiled: true
|
||||
---
|
||||
...
|
||||
{% include machine.html id="at-ega-1152k-rev3" %}
|
||||
{% endraw %}
|
||||
|
||||
In fact, that's what we've done in the Markdown file you are reading right now.
|
||||
|
||||
{% include machine.html id="at-ega-1152k-rev3" %}
|
||||
|
||||
*[@jeffpar](http://twitter.com/jeffpar)*
|
||||
*January 17, 2015 (Updated December 10, 2015 to reflect the new `uncompiled` property)*
|
||||
Loading…
Reference in a new issue