Added support for DRn and TRn instructions (although they're effectively NOPs for now)
This commit is contained in:
parent
a1e3c366eb
commit
2150744668
167 changed files with 9213 additions and 2029 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue