Added support for DRn and TRn instructions (although they're effectively NOPs for now)

This commit is contained in:
Jeff Parsons 2015-07-27 11:29:57 -07:00
commit 2150744668
167 changed files with 9213 additions and 2029 deletions

View file

@ -2139,6 +2139,10 @@ Disk.prototype.toJSON = function()
*/
s = s.replace(/,"[^"]*":([0-9]+|true|false)/gm, "");
s = s.replace(/(sector|length|data|pattern):/gm, "\"$1\":");
/*
* Last but not least, insert line breaks after every object definition, to ease the pain on text editors.
*/
s = s.replace(/},/gm, "},\n");
return s;
};