Factored out mapVirtualToPhysical() calls when MMU not enabled, and fixed HALT (it actually halts the CPU now)
This commit is contained in:
parent
e24d507aa2
commit
c69ebb7bcb
13 changed files with 8149 additions and 566 deletions
|
|
@ -1,4 +1,443 @@
|
|||
(function(){var f;function p(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var e=a&15,e=e+(0<=e&&9>=e?48:55),d=String.fromCharCode(e)+d;a>>=4}return(c?"0x":"")+d}function q(a){return p(a,2,!0)}function r(a){return p(a,4,!0)}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0<c&&(b=b.substr(0,c));return b}function ba(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var f;function p(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var e=a&15,e=e+(0<=e&&9>=e?48:55),d=String.fromCharCode(e)+d;a>>=4}return(c?"0x":"")+d}function q(a){return p(a,2,!0)}function r(a){return p(a,4,!0)}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0<c&&(b=b.substr(0,c));return b}function ba(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}
|
||||
var ca={"&":"&","<":"<",">":">",'"':""","'":"'"};function da(a){return a.replace(/[&<>"']/g,function(a){return ca[a]})}var ea=Date.now||function(){return+new Date};
|
||||
function t(a,b){var c=0,d=null;if("object"==typeof resources&&(d=resources[a]))b&&b(a,d,c);else if("function"==typeof resources)resources(a,function(c,d){b&&b(a,c,d)});else{var e=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");e.onreadystatechange=function(){4===e.readyState&&(d=e.responseText,200==e.status||!e.status&&d.length&&"file:"==(window?window.location.protocol:"file:")||(c=e.status||-1),b&&b(a,d,c))};e.open("GET",a,!0);e.send()}}
|
||||
function u(a){window&&window.alert(a)}function v(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}function fa(a,b,c){function d(){--a;0<=a&&(b()||(a=0));0<a?setTimeout(d,0):c()}d()}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,443 @@
|
|||
(function(){var e;function p(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var f=a&15,f=f+(0<=f&&9>=f?48:55),d=String.fromCharCode(f)+d;a>>=4}return(c?"0x":"")+d}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0<c&&(b=b.substr(0,c));return b}function ba(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}var ca={"&":"&","<":"<",">":">",'"':""","'":"'"};
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var e;function p(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var f=a&15,f=f+(0<=f&&9>=f?48:55),d=String.fromCharCode(f)+d;a>>=4}return(c?"0x":"")+d}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0<c&&(b=b.substr(0,c));return b}function ba(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}var ca={"&":"&","<":"<",">":">",'"':""","'":"'"};
|
||||
function da(a){return a.replace(/[&<>"']/g,function(a){return ca[a]})}var q=Date.now||function(){return+new Date};
|
||||
function r(a,b){var c=0,d=null;if("object"==typeof resources&&(d=resources[a]))b&&b(a,d,c);else if("function"==typeof resources)resources(a,function(c,d){b&&b(a,c,d)});else{var f=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");f.onreadystatechange=function(){4===f.readyState&&(d=f.responseText,200==f.status||!f.status&&d.length&&"file:"==(window?window.location.protocol:"file:")||(c=f.status||-1),b&&b(a,d,c))};f.open("GET",a,!0);f.send()}}
|
||||
function t(a){window&&window.alert(a)}function u(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var v={init:[],show:[],exit:[]},ea=!1,fa=!1,w=!0;function ga(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function x(a){v.init.push(a)}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,673 @@
|
|||
(function(){var l,m={me:1,ne:3,oe:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,Ub:65,Hc:66,Jc:67,Xb:68,E:69,Mc:70,Nc:71,Oc:72,Pc:73,Wc:74,Xc:75,Zb:76,dd:77,ed:78,gd:79,hd:80,Q:81,od:82,rd:83,xd:84,yd:85,zd:86,Ad:87,Cd:88,Dd:89,Ed:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Ve:97,We:98,Xe:99,d:100,e:101,Ye:102,Ze:103,$e:104,af:105,bf:106,k:107,cf:108,
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var l,m={me:1,ne:3,oe:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,Ub:65,Hc:66,Jc:67,Xb:68,E:69,Mc:70,Nc:71,Oc:72,Pc:73,Wc:74,Xc:75,Zb:76,dd:77,ed:78,gd:79,hd:80,Q:81,od:82,rd:83,xd:84,yd:85,zd:86,Ad:87,Cd:88,Dd:89,Ed:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Ve:97,We:98,Xe:99,d:100,e:101,Ye:102,Ze:103,$e:104,af:105,bf:106,k:107,cf:108,
|
||||
df:109,n:110,ef:111,p:112,q:113,r:114,ff:115,t:116,hf:117,jf:118,kf:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126};
|
||||
function aa(a,b){var c;if(a){b||(b=10);var d=a.charAt(0),e=0<a.indexOf(",");e&&(a=a.replace(/,/g,""));"#"==d?(b=8,d=null):"$"==d&&(b=16,d=null);null==d?a=a.substr(1):("0"==d&&(d=a.charAt(1),"b"==d&&e&&(b=2,d=null),"o"==d?(b=8,d=null):"x"==d&&(b=16,d=null)),null==d?a=a.substr(2):(d=a.charAt(a.length-1).toLowerCase(),"y"==d?(b=2,d=null):"."==d?(b=10,d=null):"h"==d&&(b=16,d=null),null==d&&(a=a.substr(0,a.length-1))));var f,d=a;((e=b)&&10!=e?16==e?d.match(/^[0-9a-f]+$/i):8==e?d.match(/^[0-7]+$/):2==e&&
|
||||
d.match(/^[01]+$/):d.match(/^[0-9]+$/))&&!isNaN(f=parseInt(a,b))&&(c=f|0)}return c}function ba(a,b,c){var d="";b?11<b&&(b=11):b=a&-65536?11:6;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;)d=String.fromCharCode((a&7)+48)+d,a>>=3;return(c?"0o":"")+d}function t(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var e=a&15,e=e+(0<=e&&9>=e?48:55),d=String.fromCharCode(e)+d;a>>=4}return(c?"0x":"")+d}function ca(a){return t(a,2,!0)}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,673 @@
|
|||
(function(){var k,m={pd:1,qd:3,rd:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,jb:65,Mb:66,Ob:67,mb:68,E:69,Rb:70,Sb:71,Tb:72,Ub:73,ac:74,bc:75,ob:76,ic:77,jc:78,mc:79,nc:80,Q:81,tc:82,wc:83,Bc:84,Cc:85,Dc:86,Ec:87,Gc:88,Hc:89,Ic:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Zd:97,$d:98,ae:99,d:100,e:101,be:102,ce:103,de:104,ee:105,fe:106,k:107,ge:108,
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var k,m={pd:1,qd:3,rd:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,jb:65,Mb:66,Ob:67,mb:68,E:69,Rb:70,Sb:71,Tb:72,Ub:73,ac:74,bc:75,ob:76,ic:77,jc:78,mc:79,nc:80,Q:81,tc:82,wc:83,Bc:84,Cc:85,Dc:86,Ec:87,Gc:88,Hc:89,Ic:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Zd:97,$d:98,ae:99,d:100,e:101,be:102,ce:103,de:104,ee:105,fe:106,k:107,ge:108,
|
||||
he:109,n:110,ie:111,p:112,q:113,r:114,je:115,t:116,ke:117,le:118,me:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126};
|
||||
function aa(a){var b=16,c;if(a){b||(b=10);var d=a.charAt(0),e=0<a.indexOf(",");e&&(a=a.replace(/,/g,""));"#"==d?(b=8,d=null):"$"==d&&(b=16,d=null);null==d?a=a.substr(1):("0"==d&&(d=a.charAt(1),"b"==d&&e&&(b=2,d=null),"o"==d?(b=8,d=null):"x"==d&&(b=16,d=null)),null==d?a=a.substr(2):(d=a.charAt(a.length-1).toLowerCase(),"y"==d?(b=2,d=null):"."==d?(b=10,d=null):"h"==d&&(b=16,d=null),null==d&&(a=a.substr(0,a.length-1))));var f,d=a;((e=b)&&10!=e?16==e?d.match(/^[0-9a-f]+$/i):8==e?d.match(/^[0-7]+$/):2==
|
||||
e&&d.match(/^[01]+$/):d.match(/^[0-9]+$/))&&!isNaN(f=parseInt(a,b))&&(c=f|0)}return c}function p(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var e=a&15,e=e+(0<=e&&9>=e?48:55),d=String.fromCharCode(e)+d;a>>=4}return(c?"0x":"")+d}function ba(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0<c&&(b=b.substr(0,c));return b}function ca(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,998 @@
|
|||
(function(){var l,aa,ba={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36],21368320:[615,4,17]},p={uo:1,dl:3,vo:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,ue:65,Bi:66,Ci:67,Di:68,E:69,Ei:70,Fi:71,Gi:72,Hi:73,Ii:74,Ji:75,Ki:76,Li:77,Mi:78,Ni:79,Oi:80,Q:81,Pi:82,
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
|
||||
FPU instruction description excerpts from the PC Magazine "Programmer's Technical Reference:
|
||||
The Processor and Coprocessor," Copyright 1992 by Ziff-Davis Press (ISBN 1-56276-016-5).
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var l,aa,ba={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36],21368320:[615,4,17]},p={uo:1,dl:3,vo:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,ue:65,Bi:66,Ci:67,Di:68,E:69,Ei:70,Fi:71,Gi:72,Hi:73,Ii:74,Ji:75,Ki:76,Li:77,Mi:78,Ni:79,Oi:80,Q:81,Pi:82,
|
||||
Qi:83,Ri:84,Si:85,Ti:86,Ui:87,Vi:88,Wi:89,ng:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,ve:97,ol:98,ql:99,d:100,e:101,Al:102,Bl:103,Cl:104,Dl:105,Tm:106,k:107,Um:108,Ym:109,n:110,en:111,p:112,q:113,r:114,lo:115,t:116,oo:117,po:118,qo:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},ca={};ca[186]=p[";"];ca[187]=p["="];ca[188]=p[","];ca[189]=p["-"];ca[190]=p["."];ca[191]=p["/"];ca[192]=p["`"];ca[219]=p["["];ca[220]=p["\\"];ca[221]=p["]"];ca[222]=p["'"];ca[173]=p["-"];var da={};da[p["1"]]=p["!"];
|
||||
da[p["2"]]=p["@"];da[p["3"]]=p["#"];da[p["4"]]=p.$;da[p["5"]]=p["%"];da[p["6"]]=p["^"];da[p["7"]]=p["&"];da[p["8"]]=p["*"];da[p["9"]]=p["("];da[p["0"]]=p[")"];da[186]=p[":"];da[187]=p["+"];da[188]=p["<"];da[189]=p._;da[190]=p[">"];da[191]=p["?"];da[192]=p["~"];da[219]=p["{"];da[220]=p["|"];da[221]=p["}"];da[222]=p['"'];da[173]=p._;da[61]=p["+"];da[59]=p[":"];
|
||||
function ea(a,b){var c;if(a){b||(b=10);var d=a.charAt(0),e=0<a.indexOf(",");e&&(a=a.replace(/,/g,""));"#"==d?(b=8,d=null):"$"==d&&(b=16,d=null);null==d?a=a.substr(1):("0"==d&&(d=a.charAt(1),"b"==d&&e&&(b=2,d=null),"o"==d?(b=8,d=null):"x"==d&&(b=16,d=null)),null==d?a=a.substr(2):(d=a.charAt(a.length-1).toLowerCase(),"y"==d?(b=2,d=null):"."==d?(b=10,d=null):"h"==d&&(b=16,d=null),null==d&&(a=a.substr(0,a.length-1))));var f,d=a;((e=b)&&10!=e?16==e?d.match(/^[0-9a-f]+$/i):8==e?d.match(/^[0-7]+$/):2==e&&
|
||||
|
|
|
|||
|
|
@ -1,4 +1,998 @@
|
|||
(function(){var l,ba,ca={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36],21368320:[615,4,17]},n={Tm:1,Sj:3,Um:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,Jd:65,wh:66,xh:67,yh:68,E:69,zh:70,Ah:71,Bh:72,Ch:73,Dh:74,Eh:75,Fh:76,Gh:77,Ih:78,Kh:79,Mh:80,Q:81,Ph:82,
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
|
||||
FPU instruction description excerpts from the PC Magazine "Programmer's Technical Reference:
|
||||
The Processor and Coprocessor," Copyright 1992 by Ziff-Davis Press (ISBN 1-56276-016-5).
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var l,ba,ca={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36],21368320:[615,4,17]},n={Tm:1,Sj:3,Um:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,Jd:65,wh:66,xh:67,yh:68,E:69,zh:70,Ah:71,Bh:72,Ch:73,Dh:74,Eh:75,Fh:76,Gh:77,Ih:78,Kh:79,Mh:80,Q:81,Ph:82,
|
||||
Rh:83,Th:84,Vh:85,Xh:86,Zh:87,ai:88,ci:89,vf:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Ld:97,bk:98,ck:99,d:100,e:101,mk:102,nk:103,pk:104,qk:105,Bl:106,k:107,Cl:108,Fl:109,n:110,Kl:111,p:112,q:113,r:114,Mm:115,t:116,Pm:117,Qm:118,Rm:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},da={};da[186]=n[";"];da[187]=n["="];da[188]=n[","];da[189]=n["-"];da[190]=n["."];da[191]=n["/"];da[192]=n["`"];da[219]=n["["];da[220]=n["\\"];da[221]=n["]"];da[222]=n["'"];da[173]=n["-"];var p={};p[n["1"]]=n["!"];
|
||||
p[n["2"]]=n["@"];p[n["3"]]=n["#"];p[n["4"]]=n.$;p[n["5"]]=n["%"];p[n["6"]]=n["^"];p[n["7"]]=n["&"];p[n["8"]]=n["*"];p[n["9"]]=n["("];p[n["0"]]=n[")"];p[186]=n[":"];p[187]=n["+"];p[188]=n["<"];p[189]=n._;p[190]=n[">"];p[191]=n["?"];p[192]=n["~"];p[219]=n["{"];p[220]=n["|"];p[221]=n["}"];p[222]=n['"'];p[173]=n._;p[61]=n["+"];p[59]=n[":"];
|
||||
function ea(a,b){var c;if(a){b||(b=10);var d=a.charAt(0),e=0<a.indexOf(",");e&&(a=a.replace(/,/g,""));"#"==d?(b=8,d=null):"$"==d&&(b=16,d=null);null==d?a=a.substr(1):("0"==d&&(d=a.charAt(1),"b"==d&&e&&(b=2,d=null),"o"==d?(b=8,d=null):"x"==d&&(b=16,d=null)),null==d?a=a.substr(2):(d=a.charAt(a.length-1).toLowerCase(),"y"==d?(b=2,d=null):"."==d?(b=10,d=null):"h"==d&&(b=16,d=null),null==d&&(a=a.substr(0,a.length-1))));var f,d=a;((e=b)&&10!=e?16==e?d.match(/^[0-9a-f]+$/i):8==e?d.match(/^[0-7]+$/):2==e&&
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +1,687 @@
|
|||
(function(){var k;
|
||||
(function(){/*
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
It has been adapted from the JavaScript PDP 11/70 Emulator v1.3 written by Paul Nankervis
|
||||
(paulnank@hotmail.com) as of August 2016 from http://skn.noip.me/pdp11/pdp11.html. This code
|
||||
may be used freely provided the original author name is acknowledged in any modified source code.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
Jeff Parsons 2012-2016
|
||||
|
||||
This file is part of PCjs, a computer emulation software project at <http://pcjs.org/>.
|
||||
|
||||
PCjs is free software: you can redistribute it and/or modify it under the terms of the
|
||||
GNU General Public License as published by the Free Software Foundation, either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
PCjs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with PCjs. If not,
|
||||
see <http://www.gnu.org/licenses/gpl.html>.
|
||||
|
||||
You are required to include the above copyright notice in every source code file of every
|
||||
copy or modified version of this work, and to display that copyright notice on every screen
|
||||
that loads or runs any version of this software (see COPYRIGHT in /modules/shared/lib/defines.js).
|
||||
|
||||
Some PCjs files also attempt to load external resource files, such as character-image files,
|
||||
ROM files, and disk image files. Those external resource files are not considered part of PCjs
|
||||
for purposes of the GNU General Public License, and the author does not claim any copyright
|
||||
as to their contents.
|
||||
*/
|
||||
var k;
|
||||
function aa(a){var b=16,c;if(a){b||(b=10);var d=a.charAt(0),e=0<a.indexOf(",");e&&(a=a.replace(/,/g,""));"#"==d?(b=8,d=null):"$"==d&&(b=16,d=null);null==d?a=a.substr(1):("0"==d&&(d=a.charAt(1),"b"==d&&e&&(b=2,d=null),"o"==d?(b=8,d=null):"x"==d&&(b=16,d=null)),null==d?a=a.substr(2):(d=a.charAt(a.length-1).toLowerCase(),"y"==d?(b=2,d=null):"."==d?(b=10,d=null):"h"==d&&(b=16,d=null),null==d&&(a=a.substr(0,a.length-1))));var f,d=a;((e=b)&&10!=e?16==e?d.match(/^[0-9a-f]+$/i):8==e?d.match(/^[0-7]+$/):2==
|
||||
e&&d.match(/^[01]+$/):d.match(/^[0-9]+$/))&&!isNaN(f=parseInt(a,b))&&(c=f|0)}return c}function n(a,b,c){var d="";b?8<b&&(b=8):b=a&-65536?8:4;if(null==a||isNaN(a))for(;0<b--;)d="?"+d;else for(;0<b--;){var e=a&15,e=e+(0<=e&&9>=e?48:55),d=String.fromCharCode(e)+d;a>>=4}return(c?"0x":"")+d}function ba(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0<c&&(b=b.substr(0,c));return b}function ca(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}
|
||||
function da(){var a=ea();return-1!==a.indexOf("pcjs.org",a.length-8)}var fa={"&":"&","<":"<",">":">",'"':""","'":"'"};function ga(a){return a.replace(/[&<>"']/g,function(a){return fa[a]})}function ha(a){return String.prototype.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}
|
||||
|
|
@ -9,151 +692,151 @@ typeof b){var l="",m;for(m in b)b.hasOwnProperty(m)&&(l&&(l+="&"),l+=m+"="+encod
|
|||
function r(a){window&&window.alert(a)}function la(a){var b=!1;window&&(b=window.confirm(a));return b}var ma=null;function na(){if(null==ma){var a=!1;if(window)try{window.localStorage.setItem("PCjs.localStorage","PCjs.localStorage"),a="PCjs.localStorage"==window.localStorage.getItem("PCjs.localStorage"),window.localStorage.removeItem("PCjs.localStorage")}catch(b){a=!1}ma=a}return ma}function oa(a){var b;if(window)try{b=window.localStorage.getItem(a)}catch(c){}return b}
|
||||
function pa(a,b){try{return window.localStorage.setItem(a,b),!0}catch(c){}return!1}function qa(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var t={init:[],show:[],exit:[]},ra=!1,sa=!1,ta=!0;function ua(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function u(a){t.init.push(a)}
|
||||
function va(a){if(ta)try{for(var b=0;b<a.length;b++)a[b]()}catch(c){r(""+("An unexpected exception occurred:\n\n"+c.message+"\n\nPlease send this information to support@pcjs.org. Thanks."))}}function wa(a){!ta&&a?(ta=!0,ra&&xa("init"),sa&&xa("show")):ta=a}function xa(a){t[a]&&va(t[a])}ua("onload",function(){ra=!0;va(t.init)});ua("onpageshow",function(){sa=!0;va(t.show)});ua(qa("Opera")||qa("iOS")?"onunload":"onbeforeunload",function(){va(t.exit)});
|
||||
function v(a,b,c){this.type=a;b||(b={id:"",name:""});this.id=b.id||"";this.name=b.name;this.Mb=b.comment;this.fc=b;b=this.id.indexOf(".");0>b?this.cb=this.id:(this.wb=this.id.substr(0,b),this.cb=this.id.substr(b+1));this[a]=c;this.i={ready:!1,Lc:!1,Mc:!1,P:!1,error:!1};this.lb=null;this.i.error=!1;this.A={};this.K=null;x.push(this)}var ya=void 0,za={};
|
||||
function v(a,b,c){this.type=a;b||(b={id:"",name:""});this.id=b.id||"";this.name=b.name;this.Pb=b.comment;this.qc=b;b=this.id.indexOf(".");0>b?this.hb=this.id:(this.Cb=this.id.substr(0,b),this.hb=this.id.substr(b+1));this[a]=c;this.i={ready:!1,Vc:!1,Wc:!1,P:!1,error:!1};this.pb=null;this.i.error=!1;this.A={};this.K=null;x.push(this)}var ya=void 0,za={};
|
||||
if(window){ya||(ya=window.location.search.substr(1));for(var Aa,Ba=/\+/g,Ca=/([^&=]+)=?([^&]*)/g;Aa=Ca.exec(ya);)za[decodeURIComponent(Aa[1].replace(Ba," "))]=decodeURIComponent(Aa[2].replace(Ba," "))}function Da(a){function b(){}if(window){if(!a)throw new TypeError;if(Object.create)return Object.create(a);var c=typeof a;if("object"!==c&&"function"!==c)throw new TypeError;}b.prototype=a;return new b}
|
||||
function y(a,b){b||(b=v);a.prototype=Da(b.prototype);a.prototype.constructor=a;a.prototype.parent=b.prototype}if(window){window.PCjs||(window.PCjs={});var Ea=window.PCjs.Machines||(window.PCjs.Machines={}),x=window.PCjs.Components||(window.PCjs.Components=[])}else Ea={},x=[];function Fa(a,b,c){Ea[a]&&b&&(Ea[a][b]=c)}function z(a){var b,c=[];a&&(a=0<(b=a.indexOf("."))?a.substr(0,b+1):"");for(b=0;b<x.length;b++){var d=x[b];a&&d.id.indexOf(a)||c.push(d)}return c}
|
||||
function Ga(a){if(void 0!==a){var b;for(b=0;b<x.length;b++)if(x[b].id===a)return x[b]}return null}function A(a,b){var c;if(void 0!==a){var d;b&&(b=0<(d=b.indexOf("."))?b.substr(0,d+1):"");for(d=0;d<x.length;d++)if(c)c==x[d]&&(c=null);else if(!(a!=x[d].type||b&&x[d].id.indexOf(b)))return x[d]}return null}function B(a){var b=null;if(a=a.getAttribute("data-value"))try{b=eval("("+a+")")}catch(c){r(c.message+" ("+a+")")}return b}
|
||||
function C(a,b){b=D(b.parentNode,"pdp11-control");for(var c=0;c<b.length;c++)for(var d=b[c].childNodes,e=0;e<d.length;e++){var f=d[e];if(1===f.nodeType){var g=f.getAttribute("class");if(g)for(var h=g.split(" "),l=0;l<h.length;l++)switch(g=h[l],g){case "pdp11-binding":(g=B(f))&&g.binding&&a.Y(g.type,g.binding,f,g.value),l=h.length}}}}
|
||||
function C(a,b){b=D(b.parentNode,"pdp11-control");for(var c=0;c<b.length;c++)for(var d=b[c].childNodes,e=0;e<d.length;e++){var f=d[e];if(1===f.nodeType){var g=f.getAttribute("class");if(g)for(var h=g.split(" "),l=0;l<h.length;l++)switch(g=h[l],g){case "pdp11-binding":(g=B(f))&&g.binding&&a.X(g.type,g.binding,f,g.value),l=h.length}}}}
|
||||
function D(a,b,c){c&&(b+="-"+c+"-object");if(a.getElementsByClassName)return a.getElementsByClassName(b);var d;c=[];a=a.getElementsByTagName("*");var e=new RegExp("(^| )"+b+"( |$)");b=0;for(d=a.length;b<d;b++)e.test(a[b].className)&&c.push(a[b]);return c}
|
||||
v.prototype={constructor:v,parent:null,toString:function(){return this.name?this.name:this.id||this.type},Y:function(a,b,c){switch(b){case "clear":return this.A[b]||(this.A[b]=c,c.onclick=function(a){return function(){a.A.print&&(a.A.print.value="")}}(this)),!0;case "print":return this.A[b]||(this.yb=this.A[b]=c,c.value="",this.U=function(a){return function(b,c){8192<a.value.length&&(a.value=a.value.substr(a.value.length-4096));a.value+=(void 0!==c?c+": ":"")+(b||"")+"\n";a.scrollTop=a.scrollHeight}}(c),
|
||||
this.O=function(a){this.U(a,this.cb)}),!0;default:return!1}},log:function(){},U:function(){},status:function(a){this.U(this.cb+": "+a)},O:function(a,b,c){c=c||this.type;b||r((c?c+": ":"")+a)},la:function(){return this.i.P=!0},ka:function(a,b){b&&(this.i.P=!1);return!0}};function F(a){if(!a.i.error&&(a.i.ready=!0,a.i.ready)){var b=a.lb;a.lb=null;b&&b()}}function Ha(a,b){b&&(a.i.ready?b():a.lb=b);return a.i.ready}
|
||||
v.prototype={constructor:v,parent:null,toString:function(){return this.name?this.name:this.id||this.type},X:function(a,b,c){switch(b){case "clear":return this.A[b]||(this.A[b]=c,c.onclick=function(a){return function(){a.A.print&&(a.A.print.value="")}}(this)),!0;case "print":return this.A[b]||(this.zb=this.A[b]=c,c.value="",this.T=function(a){return function(b,c){8192<a.value.length&&(a.value=a.value.substr(a.value.length-4096));a.value+=(void 0!==c?c+": ":"")+(b||"")+"\n";a.scrollTop=a.scrollHeight}}(c),
|
||||
this.O=function(a){this.T(a,this.hb)}),!0;default:return!1}},log:function(){},T:function(){},status:function(a){this.T(this.hb+": "+a)},O:function(a,b,c){c=c||this.type;b||r((c?c+": ":"")+a)},na:function(){return this.i.P=!0},ma:function(a,b){b&&(this.i.P=!1);return!0}};function F(a){if(!a.i.error&&(a.i.ready=!0,a.i.ready)){var b=a.pb;a.pb=null;b&&b()}}function Ha(a,b){b&&(a.i.ready?b():a.pb=b);return a.i.ready}
|
||||
Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){b=b||0;for(var c=this.length;b<c;b++)if(this[b]===a)return b;return-1});
|
||||
Function.prototype.bind||(Function.prototype.bind=function(a){function b(){return e.apply(this instanceof c&&a?this:a,d.concat(Array.prototype.slice.call(arguments)))}function c(){}if("function"!=typeof this)throw new TypeError("Function.prototype.bind: non-callable object");var d=Array.prototype.slice.call(arguments,1),e=this;c.prototype=this.prototype;b.prototype=new c;return b});var Ia="undefined"!==typeof ArrayBuffer;function Ja(a){v.call(this,"Panel",a,Ja)}y(Ja);k=Ja.prototype;
|
||||
k.Y=function(a,b,c,d){return this.B&&this.B.Y(a,b,c,d)||this.a&&this.a.Y(a,b,c,d)?!0:this.parent.Y.call(this,a,b,c,d)};k.va=function(a,b,c,d){this.B=a;this.u=b;this.a=c;this.K=d};k.la=function(a,b){b||Ka();return!0};k.ka=function(){return!0};k.Qa=function(){};function Ka(){for(var a=!1,b=D(document,"pdp11","panel"),c=0;c<b.length;c++){var d=b[c],e=B(d),f=Ga(e.id);f||(a=!0,f=new Ja(e));C(f,d);a&&F(f)}}u(Ka);
|
||||
function La(a,b,c){v.call(this,"Bus",a,La);this.a=b;this.K=c;this.B=a.busWidth||16;this.l=Math.pow(2,this.B);this.u=this.l-1|0;this.c=(this.B>>1)+2;10>this.c&&(this.c=10);15<this.c&&(this.c=15);this.g=1<<this.c;this.w=this.g>>2;this.h=this.g-1;this.o=this.l/this.g|0;this.qa=[];this.m=null;this.Wa=this.G;a=new G;Ma(a,this.K);this.b=Array(this.o);for(b=0;b<this.o;b++)this.b[b]=a;this.Ta=Array(4);this.Ta[0]=Na;this.Ta[1]=Oa;this.Ta[2]=Pa;this.Ta[3]=Qa;Ra(this,this.l-8192,8192,Sa,this);Ra(this,57344,
|
||||
8192,Sa,this);F(this)}y(La);function Na(a,b){var c=-1,d=this.controller,e=d.qa[a];e?e[0]?c=e[0](b):e[2]&&(c=b&1?e[2](b&-2)>>8:e[2](b)&255):b&1&&(e=d.qa[a&-2])&&e[2]&&(c=e[2](b&-2)>>8);return 0<=c?c:c=d.Wa(b|4186112,-1,1)}function Oa(a,b,c){var d=!1,e=this.controller,f=e.qa[a];if(f)if(f[1])f[1](b,c),d=!0;else{if(f[3]){a=f[2]?f[2](c):0;if(c&1)f[3](a&255|b<<8,c&-2);else f[3](a&-256|b,c);d=!0}}else c&1&&(f=e.qa[a&-2])&&f[3]&&(c&=-2,a=f[2]?f[2](c):0,f[3](a&255|b<<8,c),d=!0);d||e.Wa(c|4186112,b,1)}
|
||||
function Pa(a,b){var c=-1,d=this.controller;(a=d.qa[a])&&(a[2]?c=a[2](b):a[0]&&(c=a[0](b)|a[0](b+1)<<8));return 0<=c?c:c=d.Wa(b|4186112,-1,0)}function Qa(a,b,c){var d=!1,e=this.controller;if(a=e.qa[a])a[3]?(a[3](b,c),d=!0):a[1]&&(a[1](b&255,c),a[1](b>>8,c+1),d=!0);d||e.Wa(c|4186112,b,0)}La.prototype.reset=function(){this.m&&this.m()};La.prototype.G=function(){return 0};La.prototype.la=function(a,b){b||this.reset();return!0};
|
||||
function Ra(a,b,c,d,e){for(var f=b,g=c,h=f>>>a.c;0<g&&h<a.b.length;){var l=a.b[h],m=h*a.g,q=a.g-(f-m);q>g&&(q=g);if(l&&l.size){if(l.type==d&&l.controller==e){if(f+g<=l.Sa)return l.sb+=l.Sa-f,l.Sa=f,!0;if(f>=l.Sa+l.sb){q=l.size-(f-m);q>g&&(q=g);l.sb=f-l.Sa+q;f=m+a.g;g-=q;h++;continue}}return Ta(1,f,g)}f=new G(f,q,a.g,d,e);Ma(f,a.K,l);a.b[h++]=f;f=m+a.g;g-=q}return 0>=g?(a.status(Math.floor(c/1024)+"Kb "+Ua[d]+" at "+n(b,8,!0)),!0):Ta(2,b,c)}function Va(a,b){return a.b[(b&a.u)>>>a.c].Cb(b&a.h,b)}
|
||||
function Wa(a){for(var b=0,c=[],d=0;d<a.o;d++){var e=a.b[d];if(e.ta||e.cc){c[b++]=d;var f=b++;if(e=e.save()){for(var g=0,h=0,l=[];g<e.length;){for(var m=e[g],q=g+1;q<e.length&&e[q]===m;)q++;l[h++]=q-g;l[h++]=m;g=q}l.length<e.length&&(e=l)}c[f]=e}}return c}
|
||||
function Xa(a,b,c){for(var d in c)for(var e=c[d],f=e[0]?e[0].bind(b):null,g=e[1]?e[1].bind(b):null,h=e[2]?e[2].bind(b):null,l=e[3]?e[3].bind(b):null,m=a,q=+d,e=e[4],w=+d;w<=q;w+=2){var E=w&8191;void 0!==m.qa[E]?r("I/O address already registered: "+n(w,8,!0)):m.qa[E]=[f,g,h,l,!1,e||"unknown"]}}function Ya(a,b,c){a.m=b;a.Wa=c}function Ta(a,b,c){r("Memory block error ("+a+": "+n(b)+","+n(c)+")");return!1}
|
||||
function H(a){v.call(this,"Device",a,H);this.c={data:0,Kc:0,Ma:20,Bc:0};this.b={v:0,Gb:-1};this.g={Za:2496,S:0,D:128,$a:0,Ya:0,X:0,Sb:0,T:[],Ha:[406,406,406,406],J:[12,12,12,12]};this.h={v:129,Va:0,L:0,xa:0,ra:0,Ba:0,T:[],J:[40,40,40,40],Ha:[1024,1024,512,512],$b:[157,157,29,29]};this.l={a:[8210,8208,8210,8226],J:[22,22,22,50],Ga:[19,19,19,32],ub:[815,411,815,630],T:[],F:2176,Pa:0,Na:0,ba:[0,0,0,0,0,0,0,0],aa:0,V:[4544,4544,4544,4544,4544,4544,4544,4544],Oa:[0,0,0,0,0,0,0,0],La:0,yc:[0,0,0,0,0,0,
|
||||
0,0],Tb:0,Ub:[0,0,0,0,0,0,0,0],b:[0,0,0,0,0,0,0,0],zc:[1,2,3,4,5,6,7,8],Vb:[0,0,0,0,0,0,0,0],ma:[0,0,0,0,0,0,0,0],rb:[0,0,0,0,0,0,0,0],wc:[0,0,0,0,0,0,0,0],xc:[0,0,0,0,0,0,0,0],uc:[0,0,0,0,0,0,0,0],vc:[0,0,0,0,0,0,0,0],Aa:0,Fb:0}}y(H);
|
||||
k.X=function(a,b,c,d){return this.B&&this.B.X(a,b,c,d)||this.a&&this.a.X(a,b,c,d)?!0:this.parent.X.call(this,a,b,c,d)};k.xa=function(a,b,c,d){this.B=a;this.u=b;this.a=c;this.K=d};k.na=function(a,b){b||Ka();return!0};k.ma=function(){return!0};k.Ra=function(){};function Ka(){for(var a=!1,b=D(document,"pdp11","panel"),c=0;c<b.length;c++){var d=b[c],e=B(d),f=Ga(e.id);f||(a=!0,f=new Ja(e));C(f,d);a&&F(f)}}u(Ka);
|
||||
function La(a,b,c){v.call(this,"Bus",a,La);this.a=b;this.K=c;this.B=a.busWidth||16;this.l=Math.pow(2,this.B);this.u=this.l-1|0;this.c=(this.B>>1)+2;10>this.c&&(this.c=10);15<this.c&&(this.c=15);this.g=1<<this.c;this.w=this.g>>2;this.h=this.g-1;this.o=this.l/this.g|0;this.sa=[];this.m=null;this.$a=this.G;a=new G;Ma(a,this.K);this.b=Array(this.o);for(b=0;b<this.o;b++)this.b[b]=a;this.Xa=Array(4);this.Xa[0]=Na;this.Xa[1]=Oa;this.Xa[2]=Pa;this.Xa[3]=Qa;Ra(this,this.l-8192,8192,Sa,this);Ra(this,57344,
|
||||
8192,Sa,this);F(this)}y(La);function Na(a,b){var c=-1,d=this.controller,e=d.sa[a];e?e[0]?c=e[0](b):e[2]&&(c=b&1?e[2](b&-2)>>8:e[2](b)&255):b&1&&(e=d.sa[a&-2])&&e[2]&&(c=e[2](b&-2)>>8);return 0<=c?c:c=d.$a(b|4186112,-1,1)}function Oa(a,b,c){var d=!1,e=this.controller,f=e.sa[a];if(f)if(f[1])f[1](b,c),d=!0;else{if(f[3]){a=f[2]?f[2](c):0;if(c&1)f[3](a&255|b<<8,c&-2);else f[3](a&-256|b,c);d=!0}}else c&1&&(f=e.sa[a&-2])&&f[3]&&(c&=-2,a=f[2]?f[2](c):0,f[3](a&255|b<<8,c),d=!0);d||e.$a(c|4186112,b,1)}
|
||||
function Pa(a,b){var c=-1,d=this.controller;(a=d.sa[a])&&(a[2]?c=a[2](b):a[0]&&(c=a[0](b)|a[0](b+1)<<8));return 0<=c?c:c=d.$a(b|4186112,-1,0)}function Qa(a,b,c){var d=!1,e=this.controller;if(a=e.sa[a])a[3]?(a[3](b,c),d=!0):a[1]&&(a[1](b&255,c),a[1](b>>8,c+1),d=!0);d||e.$a(c|4186112,b,0)}La.prototype.reset=function(){this.m&&this.m()};La.prototype.G=function(){return 0};La.prototype.na=function(a,b){b||this.reset();return!0};
|
||||
function Ra(a,b,c,d,e){for(var f=b,g=c,h=f>>>a.c;0<g&&h<a.b.length;){var l=a.b[h],m=h*a.g,q=a.g-(f-m);q>g&&(q=g);if(l&&l.size){if(l.type==d&&l.controller==e){if(f+g<=l.Wa)return l.vb+=l.Wa-f,l.Wa=f,!0;if(f>=l.Wa+l.vb){q=l.size-(f-m);q>g&&(q=g);l.vb=f-l.Wa+q;f=m+a.g;g-=q;h++;continue}}return Ta(1,f,g)}f=new G(f,q,a.g,d,e);Ma(f,a.K,l);a.b[h++]=f;f=m+a.g;g-=q}return 0>=g?(a.status(Math.floor(c/1024)+"Kb "+Ua[d]+" at "+n(b,8,!0)),!0):Ta(2,b,c)}function Va(a,b){return a.b[(b&a.u)>>>a.c].Gb(b&a.h,b)}
|
||||
function Wa(a){for(var b=0,c=[],d=0;d<a.o;d++){var e=a.b[d];if(e.va||e.jc){c[b++]=d;var f=b++;if(e=e.save()){for(var g=0,h=0,l=[];g<e.length;){for(var m=e[g],q=g+1;q<e.length&&e[q]===m;)q++;l[h++]=q-g;l[h++]=m;g=q}l.length<e.length&&(e=l)}c[f]=e}}return c}
|
||||
function Xa(a,b,c){for(var d in c)for(var e=c[d],f=e[0]?e[0].bind(b):null,g=e[1]?e[1].bind(b):null,h=e[2]?e[2].bind(b):null,l=e[3]?e[3].bind(b):null,m=a,q=+d,e=e[4],w=+d;w<=q;w+=2){var E=w&8191;void 0!==m.sa[E]?r("I/O address already registered: "+n(w,8,!0)):m.sa[E]=[f,g,h,l,!1,e||"unknown"]}}function Ya(a,b,c){a.m=b;a.$a=c}function Ta(a,b,c){r("Memory block error ("+a+": "+n(b)+","+n(c)+")");return!1}
|
||||
function H(a){v.call(this,"Device",a,H);this.c={data:0,Uc:0,Ma:20,Kc:0};this.b={v:0,Kb:-1};this.g={cb:2496,R:0,D:128,eb:0,bb:0,W:0,Zb:0,S:[],Ia:[406,406,406,406],J:[12,12,12,12]};this.h={v:129,Za:0,L:0,za:0,ta:0,Ea:0,S:[],J:[40,40,40,40],Ia:[1024,1024,512,512],gc:[157,157,29,29]};this.l={a:[8210,8208,8210,8226],J:[22,22,22,50],Ha:[19,19,19,32],xb:[815,411,815,630],S:[],F:2176,Qa:0,Oa:0,ba:[0,0,0,0,0,0,0,0],aa:0,U:[4544,4544,4544,4544,4544,4544,4544,4544],Pa:[0,0,0,0,0,0,0,0],La:0,Gc:[0,0,0,0,0,0,
|
||||
0,0],$b:0,ac:[0,0,0,0,0,0,0,0],b:[0,0,0,0,0,0,0,0],Hc:[1,2,3,4,5,6,7,8],bc:[0,0,0,0,0,0,0,0],oa:[0,0,0,0,0,0,0,0],ub:[0,0,0,0,0,0,0,0],Ec:[0,0,0,0,0,0,0,0],Fc:[0,0,0,0,0,0,0,0],Cc:[0,0,0,0,0,0,0,0],Dc:[0,0,0,0,0,0,0,0],Da:0,Jb:0}}y(H);
|
||||
var Za=[4127,448,4191,450,4383,452,2591,454,21983,32768,65534,13791,16384,65534,770,2719,454,2591,65534,257,0,2566,33028,34051,33282,1281,33537,0,2758,32771,770,1025,1793,0,3078,33794,34305,513,0,5574,43690,4480,4097,4162,4227,4292,4357,57665,1281,769,0,3138,34305,1281,0,24707,2691,2627,24769,34561,1793,0,3076,20739,24899,2691,34562,2753,1281,0,2624,33537,0,16385,24641,1537,1793,0,193,8279,21589,516,12549,1538,2629,513,0,38336,65281,32769,0,32258,2561,2689,32258,3008,514,3009,769,0,5574,510,2551,
|
||||
2,0,9678,208,769,0,5582,226,135,0,2598,5606,236,2,0,95,242,128,5573,57344,2591,6,5599,256,4,5574,510,3045,5599,460,76,2591,78,5571,65510,5579,12,5570,512,4224,4104,3024,8197,33788,4224,4609,8193,769,0,2640,8197,33785,6145,2625,8193,769,0,8194,761,2574,5572,43690,5579,24,5568,2048,5570,512,2628,4360,2632,2632,8708,769,0,3103,65514,34562,0,305,35406,754,258,119,65160,3024,32403,5579,36,5568,3072,35446,1,740,5570,512,4224,4104,3024,8197,33788,5569,3,2574,3039,454,528,5582,24,4224,2632,2632,8200,769,
|
||||
0,3024,3103,65514,34562,0,264,8197,33779,5003,2574,32337,260,0,258,5579,12,6080,448,6081,450,6084,452,116,2,6084,65400,17860,65024,21956,62976,38848,65401,3200,161,76,0,16944,10797];k=H.prototype;k.va=function(a,b,c,d){this.u=b;this.a=c;this.K=d;var e=this;this.b.Gb=$a(this.a,function(){e.b.wa|=128;e.b.wa&64&&(I(e.a,0,6,64),ab(e.a,e.b.Gb,1E3/60))});Xa(b,this,bb);Ya(b,this.reset.bind(this),this.ac.bind(this));F(this)};k.jc=function(){var a=this.b.wa;this.b.wa&=-129;return a};
|
||||
k.Cc=function(a){this.b.wa=a;a&64&&ab(this.a,this.b.Gb,1E3/60);this.b.wa=a&-129};k.kc=function(){var a=this.a;return a.G&62337|a.eb<<5|a.fb<<1};k.Dc=function(a){var b=4,c=this.a;c.G=a&=62337;c.eb=a>>5&3;c.fb=a>>1&15;c.mb=a&257?a&1?6:4:0;cb(c);a=c.G;a&1|256&&(b=this.a.Ja&16?1:2);this.c.Ma=this.c.Ma&-8|b};k.lc=function(){return db(this.a)};k.Ec=function(a){eb(this.a,a&-1809|db(this.a)&1808);this.a.j|=128};
|
||||
function fb(a){var b=a.g,c,d,e,f=b.X>>13&7;"undefined"===typeof b.T[f]&&(b.T[f]={cache:[],postProcess:a.rc,drive:f,blocksize:256,mapped:0,maxblock:b.Ha[f]*b.J[f],url:"rk"+f+".dsk"});b.D&=-129;switch(b.D>>1&7){case 0:b.Za=2496;b.S=0;b.D=128;b.X=0;break;case 1:if((b.X>>4&511)>=b.Ha[f]){b.S|=32832;b.D|=49152;break}if((b.X&15)>=b.J[f]){b.S|=32800;b.D|=49152;break}c=(b.X>>4&511)*b.J[f]+(b.X&15);d=(b.D&48)<<12|b.Ya;e=65536-b.$a&65535;gb(a,b.T[f],c,d,e);return;case 2:if((b.X>>4&511)>=b.Ha[f])b.S|=32832,
|
||||
b.D|=49152;else if((b.X&15)>=b.J[f])b.S|=32800,b.D|=49152;else{c=(b.X>>4&511)*b.J[f]+(b.X&15);d=(b.D&48)<<12|b.Ya;e=65536-b.$a&65535;a.pb(b.T[f],c,d,e);return}}b.Za=f<<13|b.Za&8176|b.X%9&15;I(a.a,20,5,144,function(){b.D=b.D&65534|128;return!!(b.D&64)})}k.rc=function(a,b,c,d,e){var f=this.g;f.Ya=d&65535;f.D=f.D&-49|d>>12&48;f.$a=65536-e&65535;switch(a){case 1:f.S|=33024;f.D|=49152;break;case 2:f.S|=33792,f.D|=49152}I(this.a,20,5,144,function(){f.D=f.D&65534|128;return!!(f.D&64)})};
|
||||
function hb(a){var b=a.h,c,d,e,f=b.v>>8&3;b.v&=-2;"undefined"===typeof b.T[f]&&(b.T[f]={cache:[],postProcess:a.sc,drive:f,blocksize:128,mapped:1,maxblock:b.Ha[f]*b.J[f],url:"rl"+f+".dsk"});switch(b.v>>1&7){case 2:b.xa&8&&(b.v&=63);b.xa=b.$b[f]|b.Ba&64;break;case 3:1==(b.L&3)&&(b.Ba=b.L&4?b.Ba+(b.L&65408)&65408|b.L<<2&64:b.Ba-(b.L&65408)&65408|b.L<<2&64,b.L=b.Ba);break;case 4:b.xa=b.Ba;break;case 5:if(b.L>>6>=b.Ha[f]){b.v|=37888;break}if((b.L&63)>=b.J[f]){b.v|=37888;break}c=(b.L>>6)*b.J[f]+(b.L&63);
|
||||
d=(b.ra&63)<<16|b.Va;e=65536-b.xa&65535;gb(a,b.T[f],c,d,e);return;case 6:if(b.L>>6>=b.Ha[f])b.v|=37888;else if((b.L&63)>=b.J[f])b.v|=37888;else{c=(b.L>>6)*b.J[f]+(b.L&63);d=(b.ra&63)<<16|b.Va;e=65536-b.xa&65535;a.pb(b.T[f],c,d,e);return}}I(a.a,20,5,112,function(){b.v|=129;return!!(b.v&64)})}
|
||||
k.sc=function(a,b,c,d,e){var f=this.h;f.Va=d&65535;f.v=f.v&-49|d>>12&48;f.ra=d>>16&63;f.L=~~(c/f.J[b.ja])<<6|c%f.J[b.ja];f.Ba=f.L;f.xa=65536-e&65535;switch(a){case 1:f.v|=33792;break;case 2:f.v|=40960}I(this.a,20,5,112,function(){f.v|=129;return!!(f.v&64)})};function ib(a){a=a.l;a.F=2176;a.aa=0;a.V=[4544,4544,4544,4544,4544,4544,4544,4544];a.Oa=[0,0,0,0,0,0,0,0];a.La=a.Pa=a.Na=a.Aa=a.Fb=0}
|
||||
function jb(a,b){var c=a.l,d,e,f;c.F&=-16513;c.aa&=-2049;c.V[b]&=-1153;I(a.a,-1,0,172);"undefined"===typeof c.T[b]&&(c.T[b]={cache:[],postProcess:a.tc,drive:b,blocksize:256,mapped:0,maxblock:c.ub[0]*c.Ga[0]*c.J[0],url:"rp"+b+".dsk"});switch(c.F&63){case 5:c.rb[b]=c.ma[b];c.F|=32896;c.V[b]|=32896;c.La|=1<<b;break;case 9:ib(a);break;case 19:c.V[b]|=64;break;case 49:if(c.ma[b]>=c.ub[0]||c.ba[b]>>8>=c.Ga[0]||(c.ba[b]&255)>=c.J[0]){c.Oa[b]|=1024;c.F|=49152;break}d=(c.ma[b]*c.Ga[0]+(c.ba[b]>>8))*c.J[0]+
|
||||
(c.ba[b]&255);e=(c.Aa&63)<<16|c.Na;f=65536-c.Pa&65535;gb(a,c.T[b],d,e,f);return;case 57:if(c.ma[b]>=c.ub[0]||c.ba[b]>>8>=c.Ga[0]||(c.ba[b]&255)>=c.J[0])c.Oa[b]|=1024,c.F|=49152;else{d=(c.ma[b]*c.Ga[0]+(c.ba[b]>>8))*c.J[0]+(c.ba[b]&255);e=(c.Aa&63)<<16|c.Na;f=65536-c.Pa&65535;a.pb(c.T[b],d,e,f);return}}I(a.a,3,5,172,function(){c.F=c.F&65534|128;c.V[b]|=128;return!!(c.F&64)})}
|
||||
k.tc=function(a,b,c,d,e){var f=this.l;f.Pa=65536-e&65535;f.Na=d&65535;f.F=f.F&-769|d>>8&768;f.Aa=d>>16&63;e=~~(c/f.J[0]);d=~~(e/f.Ga[0]);f.ba[b.ja]=e%f.Ga[0]<<8|c%f.J[0];f.rb[b.ja]=f.ma[b.ja]=d;f.La|=1<<b.ja;c>=b.ic-1&&(f.V[b.ja]|=1024);switch(a){case 1:f.aa|=512;f.F|=49152;break;case 2:f.aa|=2048,f.F|=49152}I(this.a,20,5,172,function(){f.V[b.ja]|=128;f.F=f.F&65534|128;return!!(f.F&64)})};
|
||||
function kb(a,b,c,d,e,f){var g=~~((f+c.sa-1)/c.sa),h=new XMLHttpRequest;2048>g&&d+2048<c.ic&&(g=2048);h.open("GET",c.url,!0);h.setRequestHeader("Range","bytes="+(d*c.sa<<1)+"-"+(((d+g)*c.sa<<1)-1));h.responseType="arraybuffer";h.onreadystatechange=function(){if(4==h.readyState){var g=b.bind(a),m,q,w,E;m=h.response;if(h.status&&206!=h.status||!m)c.ob(1,c,d,e,f);else{m=new Uint8Array(m);q=d;for(E=0;E<m.length;){if("undefined"===typeof c.cache[q])for(c.cache[q]=[],w=0;w<c.sa;w++)c.cache[q][w]=E<m.length?
|
||||
m[E]&255|m[E+1]<<8&65280:0,E+=2;else E+=c.sa<<1;q++}g(c,d,e,f)}}};h.send(null)}function J(a,b,c,d,e){c&1?e?d=0<=d?d<<8&65280|b&255:b:K(a.a,4):0<=d?e&&(d=b&65280|d&255):d=b;return d}k.pb=function(a,b,c,d){for(var e;0<d;){if("undefined"===typeof a.cache[b]){kb(this,this.pb,a,b,c,d);return}for(e=0;e<a.sa&&0<d;e++){if(0>lb(this.a,a.hc?mb(this.a,c):c,a.cache[b][e])){a.ob(2,a,b,c,d);return}c+=2;--d}b++}a.ob(0,a,b,c,d)};
|
||||
function gb(a,b,c,d,e){for(var f,g;0<e;){if("undefined"===typeof b.cache[c])for(b.cache[c]=[],f=0;f<b.sa;f++)b.cache[c][f]=0;for(f=0;f<b.sa&&0<e;f++){g=nb(a.a,b.hc?mb(a.a,d):d);if(0>g){b.ob(2,b,c,d,e);return}b.cache[c][f]=g;d+=2;--e}c++}b.ob(0,b,c,d,e)}k.reset=function(){this.c.Ma=this.c.Ma&-120|20;this.b.wa=0;this.g.D=128;this.h.v=128;ib(this)};
|
||||
k.ac=function(a,b,c){var d,e,f=this.a;switch(a&-64){case 4194240:switch(a&-2){case 4194300:0>b?d=f.za&65280:(a&1&&(b<<=8),f.za=b|255,d=0);break;case 4194298:if(0>b)d=f.Eb;else{a&1&&(b<<=8);if(d=b&65024){e=d>>9;do d+=34;while(e>>=1)}f.Eb=d;f.j|=2}break;case 4194294:if(70!==f.Ia)return K(f,4);0>b?d=f.s:d=f.s=0;break;case 4194292:if(70!==f.Ia)return K(f,4);d=1;break;case 4194290:if(70!==f.Ia)return K(f,4);d=0;break;case 4194288:if(70!==f.Ia)return K(f,4);d=61183;break;case 4194296:0<=b&&!(a&1)&&(b&=
|
||||
255);case 4194286:case 4194284:case 4194282:case 4194280:case 4194278:case 4194276:case 4194274:case 4194272:if(70!==f.Ia)return K(f,4);e=a-4194272>>1;0>b?d=f.zb[e]:(d=J(this,f.zb[e],a,b,c),0<=d&&(f.zb[e]=d));break;case 4194254:return a&1?f.C>>14&1?(0<=b&&(f.f[6]=b),d=f.f[6]):(0<=b&&(f.da[3]=b),d=f.da[3]):f.C>>14&0?(0<=b&&(f.f[6]=b),d=f.f[6]):(0<=b&&(f.da[1]=b),d=f.da[1]),d;case 4194252:case 4194250:case 4194248:return e=a&7,f.C&2048?(0<=b&&(f.f[e]=b),d=f.f[e]):(0<=b&&(f.Ka[e]=b),d=f.Ka[e]),d;case 4194246:return a&
|
||||
1?(0<=b&&(f.f[7]=b),d=f.f[7]):f.C>>14&0?(0<=b&&(f.f[6]=b),d=f.f[6]):(0<=b&&(f.da[0]=b),d=f.da[0]),d;case 4194244:case 4194242:case 4194240:return e=a&7,f.C&2048?(0<=b&&(f.Ka[e]=b),d=f.Ka[e]):(0<=b&&(f.f[e]=b),d=f.f[e]),d;default:return f.s|=16,K(f,4)}break;case 4194176:e=a>>1&31;d=J(this,f.R[3][e],a,b,c);0<=d&&(f.R[3][e]=d,f.R[3][e&15]&=65295);break;case 4194112:switch(a&-2){case 4194174:d=J(this,f.qb,a,b,c);0<=d&&(f.qb=d);break;case 4194172:d=f.ya;d&65280&&(d=(d<<8|d>>8)&65535);break;case 4194168:0>
|
||||
b?d=this.c.Bc&65535:(d=J(this,this.c.data,a,b,c),0<=d&&(this.c.data=d));break;default:return f.s|=16,K(f,4)}break;case 4194048:e=this.g;switch(a&-2){case 4194048:d=J(this,e.Za,a,b,c);0<=d&&(e.Za=d);break;case 4194050:d=J(this,e.S,a,b,c);0<=d&&(e.S=d);break;case 4194052:d=J(this,e.D,a,b,c);0<=b&&0<=d&&(e.D=d&-36993|e.D&36992,e.D&1&&fb(this));break;case 4194054:d=J(this,e.$a,a,b,c);0<=d&&(e.$a=d);break;case 4194056:d=J(this,e.Ya,a,b,c);0<=d&&(e.Ya=d);break;case 4194058:d=J(this,e.X,a,b,c);0<=d&&(e.X=
|
||||
d);break;case 4194060:break;case 4194062:d=J(this,e.Sb,a,b,c);0<=d&&(e.Sb=d);break;default:return f.s|=16,K(f,4)}break;case 4193728:var g=this.l;e=g.aa&7;switch(a&-2){case 4193728:d=J(this,g.F,a,b,c);0<=b&&0<=d&&(g.Aa=g.Aa&60|d>>8&3,g.F=d&17279|g.F&34944|2048,d&1&&g.F&128?jb(this,e):192==(d&192)&&I(f,0,5,172));break;case 4193730:d=J(this,g.Pa,a,b,c);0<=d&&(g.Pa=d);break;case 4193732:d=J(this,g.Na,a,b,c);0<=d&&(g.Na=d&65534);break;case 4193734:d=J(this,g.ba[e],a,b,c);0<=d&&(g.ba[e]=d&7967);break;case 4193736:d=
|
||||
J(this,g.aa,a,b,c);0<=d&&(g.aa=d&63|g.aa&65472,d&128&&ib(this));break;case 4193738:d=g.V[e];break;case 4193740:d=g.Oa[e];break;case 4193742:d=J(this,g.La,a,b,c);0<=d&&(g.La=d&255);break;case 4193744:d=g.yc[e];break;case 4193746:d=J(this,g.Tb,a,b,c);0<=d&&(g.Tb=d);break;case 4193748:d=J(this,g.Ub[e],a,b,c);0<=d&&(g.Ub[e]=d&1023);break;case 4193750:d=8210;break;case 4193752:d=g.zc[e];break;case 4193754:d=J(this,g.Vb[e],a,b,c);0<=d&&(g.Vb[e]=d);break;case 4193756:d=J(this,g.ma[e],a,b,c);0<=d&&(g.ma[e]=
|
||||
d&511);break;case 4193758:g.rb[e]=g.ma[e];d=g.rb[e];break;case 4193760:d=g.wc[e];break;case 4193762:d=g.xc[e];break;case 4193764:d=g.uc[e];break;case 4193766:d=g.vc[e];break;case 4193768:d=J(this,g.Aa,a,b,c);0<=d&&(g.Aa=d&63,g.F=g.F&-769|(d&3)<<8);break;case 4193770:d=J(this,g.Fb,a,b,c);0<=d&&(g.Fb=d);break;default:return f.s|=16,K(f,4)}break;case 4192512:e=this.h;switch(a&-2){case 4192512:d=J(this,e.v,a,b,c);0<=b&&0<=d&&(e.ra=e.ra&60|d>>4&3,e.v=e.v&-1023|d&1022,e.v&128||hb(this));break;case 4192514:d=
|
||||
J(this,e.Va,a,b,c);0<=d&&(e.Va=d&65534);break;case 4192516:d=J(this,e.L,a,b,c);0<=d&&(e.L=d);break;case 4192518:d=J(this,e.xa,a,b,c);0<=d&&(e.xa=d);break;case 4192520:d=J(this,e.ra,a,b,c);0<=d&&(e.ra=d&63,e.v=e.v&-49|(e.ra&3)<<4);break;default:return f.s|=16,K(f,4)}break;case 4191552:switch(a&-2){case 4191566:0>b?d=f.Ja:(d=J(this,f.Ja,a,b,c),0<=d&&(70!==f.Ia&&(d&=-49),f.Ja=d,f.nb[0]=d&4?15:7,f.nb[1]=d&2?15:7,f.nb[3]=d&1?15:7,f.mb&&(e=2,f.Ja&16&&(e=1),this.c.Ma=this.c.Ma&-8|e)));break;default:return f.s|=
|
||||
16,K(f,4)}break;case 4191424:e=a>>1&31;d=J(this,f.R[0][e],a,b,c);0<=d&&(f.R[0][e]=d,f.R[0][e&15]&=65295);break;case 4191360:e=a>>1&31;d=J(this,f.R[1][e],a,b,c);0<=d&&(f.R[1][e]=d,f.R[1][e&15]&=65295);break;case 4190400:case 4190336:if(70!==f.Ia)return K(f,4);e=a>>2&31;d=f.ab[e];a&2&&(d>>=16);d&=65535;0<=b&&(d=J(this,d,a,b,c),0<=d&&(f.ab[e]=a&2?d<<16|f.ab[e]&65535:f.ab[e]&4294901760|d&65534));break;case 4188672:case 4188736:case 4188800:case 4188864:case 4188928:case 4188992:case 4189056:case 4189120:if(0>
|
||||
b)d=Za[a>>1&255];else return f.s|=16,K(f,4);break;default:return f.s|=16,K(f,4)}c&&0<=d&&(a&1?d>>=8:d&=255);"undefined"===typeof d&&console.log("panic(76)");return d};var ob={},bb=(ob[65382]=[null,null,H.prototype.jc,H.prototype.Cc,"LKS"],ob[65402]=[null,null,H.prototype.kc,H.prototype.Dc,"MMR0"],ob[65534]=[null,null,H.prototype.lc,H.prototype.Ec,"PSW"],ob);u(function(){for(var a=D(document,"pdp11","device"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new H(d);C(d,c)}});var pb;
|
||||
if(Ia){var qb=new ArrayBuffer(2);(new DataView(qb)).setUint16(0,256,!0);pb=256===(new Uint16Array(qb))[0]}else pb=!1;var rb=pb;
|
||||
function G(a,b,c,d,e){this.id=sb+=2;this.a=null;this.Sa=a;this.sb=b;this.size=c||0;this.type=d||tb;this.A=d==ub;this.controller=null;Ma(this);this.ta=this.cc=!1;if(c)if(e)this.controller=e,this.a=null,vb(this,e.Ta);else if(Ia)this.b=new ArrayBuffer(c),this.g=new DataView(this.b,0,c),this.c=new Uint8Array(this.b,0,c),this.l=new Uint16Array(this.b,0,c>>1),this.a=new Int32Array(this.b,0,c>>2),vb(this,rb?wb:xb);else{this.a=Array(c>>2);for(a=0;a<this.a.length;a++)this.a[a]=0;vb(this,yb)}else vb(this)}
|
||||
var tb=0,ub=2,Sa=4,Ua=["NONE","RAM","ROM","VID","H/W"],sb=0;
|
||||
G.prototype={constructor:G,parent:null,save:function(){var a,b;if(this.controller)a=null;else if(Ia)for(a=Array(this.size>>2),b=0;b<a.length;b++)a[b]=this.g.getInt32(b<<2,!0);else a=this.a;return a},restore:function(a){if(this.controller)return!a;if(a&&this.size==a.length<<2){var b;if(Ia)for(b=0;b<a.length;b++)this.g.setInt32(b<<2,a[b],!0);else this.a=a;return this.ta=!0}return!1},m:function(){return 255},B:function(){},o:function(a,b){return this.Cb(a++,b++)|this.Cb(a,b)<<8},w:function(a,b,c){this.tb(a++,
|
||||
b&255,c++);this.tb(a,b>>8,c)},N:function(a){return this.a[a>>2]>>>((a&3)<<3)&255},fa:function(a){var b=a>>2;a=(a&3)<<3;var c=this.a[b]>>a;return 24>a?c&65535:c&255|(this.a[b+1]&255)<<8},oa:function(a,b){var c=a>>2;a=(a&3)<<3;this.a[c]=this.a[c]&~(255<<a)|b<<a;this.ta=!0},Fa:function(a,b){var c=a>>2;a=(a&3)<<3;24>a?this.a[c]=this.a[c]&~(65535<<a)|b<<a:(this.a[c]=this.a[c]&16777215|b<<24,c++,this.a[c]=this.a[c]&-256|b>>8);this.ta=!0},H:function(a,b){return this.I(a,b)},Z:function(a,b){return this.ca(a,
|
||||
b)},ha:function(a,b,c){this.A||this.Zb(a,b,c)},Ca:function(a,b,c){this.A||this.Da(a,b,c)},G:function(a){return this.c[a]},M:function(a){return this.c[a]},W:function(a){return this.g.getUint16(a,!0)},ea:function(a){return this.l[a>>1]},ga:function(a,b){this.c[a]=b;this.ta=!0},na:function(a,b){this.c[a]=b;this.ta=!0},pa:function(a,b){this.g.setUint16(a,b,!0);this.ta=!0},Ea:function(a,b){this.l[a>>1]=b;this.ta=!0}};
|
||||
function Ma(a,b,c){a.K=b;a.h=a.u=0;c&&((a.h=c.h)&&zb(a,Ab,!1),(a.u=c.u)&&Bb(a,Ab,!1))}function Bb(a,b,c){c&&a.u||(a.tb=!a.A&&b[1]||a.B,a.Hc=!a.A&&b[3]||a.w);if(c||void 0===c)a.Zb=b[1]||a.B,a.Da=b[3]||a.w}function zb(a,b,c){c&&a.h||(a.Cb=b[0]||a.m,a.oc=b[2]||a.o);if(c||void 0===c)a.I=b[0]||a.m,a.ca=b[2]||a.o}function vb(a,b){b||(b=Cb);zb(a,b,void 0);Bb(a,b,void 0)}var Cb=[],yb=[G.prototype.N,G.prototype.oa,G.prototype.fa,G.prototype.Fa],Ab=[G.prototype.H,G.prototype.ha,G.prototype.Z,G.prototype.Ca];
|
||||
if(Ia)var xb=[G.prototype.G,G.prototype.ga,G.prototype.W,G.prototype.pa],wb=[G.prototype.M,G.prototype.na,G.prototype.ea,G.prototype.Ea];function Db(a,b){v.call(this,"CPU",a,Db);var c=a.multiplier||1;this.bb=a.cycles||b;this.ga=c;this.Ab=Math.round(this.bb/1E4)/100;this.na=this.Ab*this.ga;this.i.$=!1;this.i.Wb=!1;this.i.Ua=a.autoStart;this.i.Hb=!1;this.i.kb=!1;this.hb=this.oa=0;this.ib=a.csStart;this.Da=a.csInterval;this.Ea=a.csStop;this.M=[];this.Qb=this.Ac.bind(this);F(this)}y(Db);
|
||||
var Eb=["power","reset"];k=Db.prototype;k.va=function(a,b,c,d){this.B=a;this.u=b;this.K=d;for(b=0;b<Eb.length;b++)(c=this.A[Eb[b]])&&this.B.Y(null,Eb[b],c);this.Ca=null;a=Fb(a,"autoStart");null!=a&&(this.i.Ua="true"==a?!0:"false"==a?!1:!!a);F(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.la=function(a,b){if(!b){if(a&&this.restore){Gb(this);if(!this.restore(a))return!1;Hb(this)}else this.reset();this.U("No debugger detected")}Ib(this);return!0};
|
||||
k.ka=function(a){return a?this.save():!0};k.Ua=function(){return this.i.Ua||void 0===this.A.run?(Jb(this),!0):!1};k.Lb=function(){return 0};function Hb(a){void 0===a.ib&&(a.ib=0);void 0===a.Da&&(a.Da=-1);void 0===a.Ea&&(a.Ea=-1);a.i.kb=0<=a.ib&&0<a.Da;a.i.kb&&(a.hb=0,a.oa=a.ib-a.ha)}
|
||||
function Kb(a,b,c,d){if(a.A[b]){void 0===c&&(a.i.error=!0,a.O("Value for "+b+" is invalid"),Lb(a));var e=a.K&&a.K.b||8;if(!a.i.$||a.i.Hb)if(8==e){e="";d?11<d&&(d=11):d=c&-65536?11:6;if(null==c||isNaN(c))for(;0<d--;)e="?"+e;else for(;0<d--;)e=String.fromCharCode((c&7)+48)+e,c>>=3;d=""+e}else d=n(c,d);else d="--------".substr(0,d||4);a.A[b].textContent!=d&&(a.A[b].textContent=d)}}
|
||||
k.Y=function(a,b,c){var d=this;a=!1;switch(b){case "power":case "reset":this.A[b]=c;a=!0;break;case "run":this.A[b]=c;c.onclick=function(){var a;if(a=d.B)if(a=d.B,a.i.P)a=!0;else{var b=null,c,h=z(a.id);for(c=0;c<h.length&&(b=h[c],b===a||b.i.ready);c++);if(c==h.length)for(c=0;c<h.length&&(b=h[c],b===a||b.i.P);c++);c==h.length&&(b=a);r("The "+b.type+" component ("+b.id+") is not "+(b.i.ready?"powered yet":"ready yet"+(b.lb?" (waiting for notification)":""))+".");a=!1}a&&(d.i.$?Lb(d):Jb(d))};a=!0;break;
|
||||
case "speed":this.A[b]=c;a=!0;break;case "setSpeed":this.A[b]=c,c.onclick=function(){Mb(d,d.ga<<1)},c.textContent=this.na.toFixed(2)+"Mhz",a=!0}return a};function Nb(a,b,c){a.ha+=b;c&&(a.W=a.a=0)}function Ob(a,b){var c=1;b&&1<a.ga&&a.ea&&(c=a.ea/a.Ab);a.Nb=Math.round(1E3/30);a.jb=Math.floor(a.bb/30*c);b||(a.Fa=a.jb);a.Bb=0}function Pb(a){return a.ha+a.ca+a.W-a.a}function Gb(a){a.ea=0;a.Pb=0;a.ha=a.ca=a.W=a.a=0;Hb(a);Mb(a,1)}
|
||||
function Mb(a,b){if(void 0!==b&&(.8>a.ea/a.na&&(b=1),a.ga=b,b=a.Ab*a.ga,a.na!=b)){a.na=b;b=a.na.toFixed(2)+"Mhz";var c=a.A.setSpeed;c&&(c.textContent=b);a.U("target speed: "+b)}Nb(a,a.ca);a.ca=0;a.Z=ja();a.fa=0;Ob(a)}function $a(a,b){var c=a.M.length;a.M.push([-1,b]);return c}function ab(a,b,c){0<=b&&b<a.M.length&&0>a.M[b][0]&&(c*=a.bb*a.ga/1E3,a.M[b][0]=c)}
|
||||
k.Ac=function(){if(this.i.$){this.Bb>=this.bb&&Ob(this,!0);this.Ra=0;this.gb=ja();if(this.fa){var a=this.gb-this.fa;a>this.Nb&&(this.Z+=a,this.Z>this.gb&&(this.Z=this.gb))}try{do{for(var b,c=this.i.kb?1:this.jb,d=this.M.length-1;0<=d;d--){var e=this.M[d];0>e[0]||c>e[0]&&(c=e[0])}b=c;try{this.Xb(b)}catch(m){if("number"!=typeof m)throw m;}for(var f=this.W-this.a,a=f,g=this.M.length-1;0<=g;g--){var h=this.M[g];0>h[0]||(h[0]-=a,0>=h[0]&&(h[0]=-1,h[1]()))}this.Ra+=f;this.ca+=f;Nb(this,0,!0);a=f;if(this.i.kb){var l=
|
||||
!1;this.hb=this.hb+this.Lb()|0;this.oa-=a;0>=this.oa&&(this.oa+=this.Da,l=!0);0<=this.Ea&&this.Ea<=Pb(this)&&(this.Da=this.Ea=-1,Hb(this),Lb(this),l=!0);l&&this.U(Pb(this)+" cycles: checksum="+n(this.hb))}this.Fa-=f;if(0>=this.Fa){this.Fa+=this.jb;15<=++this.Pb&&(this.B&&this.B.Qa(),this.Pb=0);break}}while(this.i.$)}catch(m){Lb(this);Ib(this);this.B&&this.B.stop(ja(),Pb(this));b=m.stack||m.message;this.i.error=!0;this.O(b);return}if(this.i.$){b=setTimeout;c=this.Qb;this.fa=ja();d=this.Nb;this.Ra&&
|
||||
(d=Math.round(d*this.Ra/this.jb));d-=this.fa-this.gb;if(e=this.fa-this.Z)this.ea=Math.round(this.ca/(10*e))/100,864E5<=e&&(this.ha=0,Mb(this));if(0>d||this.ea<this.na)-1E3>d&&(this.Z-=d),d=0;this.Bb+=this.Ra;this.fa+=d;b(c,d)}}};function Jb(a){var b;a.i.error?(a.U(a.toString()+" error"),b=!0):b=!1;if(!b)if(a.i.$)a.U(a.toString()+" busy");else{Mb(a);a.i.$=!0;a.i.Wb=!0;a.Ca&&a.Ca.start();if(b=a.A.run)b.textContent="Halt";a.B&&a.B.start(a.Z,Pb(a));Ib(a,!0);setTimeout(a.Qb,0)}}k.Xb=function(){return 0};
|
||||
function Lb(a){if(a.i.$){a.W-=a.a;a.a=0;Nb(a,a.ca);a.ca=0;a.i.$=!1;a.Ca&&a.Ca.stop();var b=a.A.run;b&&(b.textContent="Run");a.B&&a.B.stop(ja(),Pb(a));Ib(a)}a.i.complete=void 0}function Ib(a,b){a.B&&a.B.Qa(b)}
|
||||
function Qb(a){this.gc=a.resetAddr||0;Db.call(this,a,6666667);this.Kb=0;this.decode=Rb.bind(this);this.l=65536;this.g=32768;this.h=65535;this.m=32768;this.C=15;this.f=[0,0,0,0,0,0,0,this.gc];this.Ka=[0,0,0,0,0,0];this.da=[0,0,0,0];this.fb=this.w=0;this.R=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];this.ab=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.zb=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.c=this.b=this.vb=this.H=this.I=this.j=0;this.Ia=70;this.pa=-1;Sb(this);this.i.complete=this.i.bc=!1}y(Qb,Db);k=Qb.prototype;k.reset=function(){this.i.$&&Lb(this);Sb(this);Gb(this);this.i.error=!1;this.parent.reset.call(this)};
|
||||
function Sb(a){a.za=255;a.s=0;a.Eb=0;a.G=0;a.ya=0;a.qb=0;a.Ja=0;a.mb=0;a.eb=0;a.nb=[7,7,7,7];a.o=[];a.j|=2;cb(a)}function cb(a){a.mb?(a.Jb=65536,a.N=a.ec):(a.Jb=0,a.N=a.dc)}k.Lb=function(){return 0};k.save=function(){var a=new L(this);a.set(0,[]);a.set(1,[this.ha,this.ga]);a.set(2,Wa(this.u));return a.data()};
|
||||
k.restore=function(a){var b=a[1];this.ha=b[1];Mb(this,b[3]);a:{b=this.u;a=a[2];var c;for(c=0;c<a.length-1;c+=2){var d=a[c],e=a[c+1];if(e&&e.length<b.w){for(var f=0,g=Array(b.w),h=0;h<e.length-1;)for(var l=e[h++],m=e[h++];l--;)g[f++]=m;e=g}f=b.b[d];if(!f||!f.restore(e)){r("Unable to restore memory block "+d);b=!1;break a}}b=!0}return b};
|
||||
k.Y=function(a,b,c){switch(b){case "R0":case "R1":case "R2":case "R3":case "R4":case "R5":case "R6":case "R7":case "NF":case "ZF":case "VF":case "CF":case "PS":this.A[b]=c;this.Kb++;a=!0;break;default:a=this.parent.Y.call(this,a,b,c)}return a};
|
||||
k.Qa=function(a){if(this.Kb&&(a||!this.i.$||this.i.Hb)){for(a=0;a<this.f.length;a++)Kb(this,"R"+a,this.f[a]);a=db(this);Kb(this,"PS",a);Kb(this,"NF",a&8?1:0,1);Kb(this,"ZF",a&4?1:0,1);Kb(this,"VF",a&2?1:0,1);Kb(this,"CF",a&1?1:0,1)}if(a=this.A.speed)a.textContent=this.i.$&&this.ea?this.ea.toFixed(2)+"Mhz":"Stopped"};function M(a){return a.l&65536?1:0}k.ua=function(){return this.m&32768?8:0};function Tb(a){var b=N(a,a.f[7]);a.f[7]=a.f[7]+2&65535;return b}
|
||||
function I(a,b,c,d,e){for(var f=a.o.length;0<f--;)if(a.o[f].Yb===d){0<f&&(a.o[f-1].ia+=a.o[f].ia);a.o.splice(f,1);break}if(0<=b){for(f=a.o.length;0<f--;){if(a.o[f].ia>b){a.o[f].ia-=b;break}b-=a.o[f].ia}a.o.splice(f+1,0,{ia:b,Rb:c<<5&224,Yb:d,xb:e})}a.j|=2}function db(a){return a.C=a.C&63728|a.ua()|(a.h&65535?0:4)|(a.g&32768?2:0)|M(a)}
|
||||
function eb(a,b){a.m=b<<12;a.h=~b&4;a.g=b<<14;a.l=b<<16;if((b^a.C)&2048)for(var c=a.Ka.length;0<=--c;){var d=a.f[c];a.f[c]=a.Ka[c];a.Ka[c]=d}a.w=b>>14&3;c=a.C>>14&3;a.w!=c&&(a.da[c]=a.f[6],a.f[6]=a.da[a.w]);a.j|=2;a.C=b}function O(a,b){a.j&128||(a.m=a.h=b,a.g=0)}function P(a,b,c){a.j&128||(a.m=a.h=a.l=b,a.g=c||0)}function Ub(a,b,c,d){a.j&128||(a.m=a.h=a.l=b,a.g=(c^b)&(d^b))}function Q(a,b){a.j&128||(a.m=a.h=a.l=b,a.g=a.m^a.l>>1)}function Vb(a,b,c,d){a.j&128||(a.m=a.h=a.l=b,a.g=(c^d)&(d^b))}
|
||||
function K(a,b){var c=!1;0>a.pa?a.pa=db(a):a.w||(b=4,c=!0);a.G&57344||(a.ya=63222,a.qb=b);a.w=0;var d=N(a,b|65536),e=N(a,b+2&65535|65536);eb(a,e&-12289|a.pa>>2&12288);c&&(a.s|=4,a.f[6]=4);Wb(a,a.pa);Wb(a,a.f[7]);a.f[7]=d&65535;a.j&=-113;a.pa=-1;throw b;}function Xb(a){var b=Yb(a),c=Yb(a)&-1793;a.C&49152&&(c=c&-225|a.C&63712);a.f[7]=b&65535;eb(a,c);a.j&=-17}
|
||||
function mb(a,b){var c=b>>13&31;31>c?a.Ja&32&&(b=a.ab[c]+(b&8190)&4194302,3932160<=b&&4186112>b&&console.log("panic(898)")):b|=4186112;return b}
|
||||
function Zb(a,b,c){var d,e,f,g=0;if(c&a.mb){d=b>>13&a.nb[a.w];e=a.R[a.w][d];f=(a.R[a.w][d+16]<<6)+(b&8191)&4194303;a.Ja&16?3932160<=f&&4186112>f&&(f=mb(a,f&262143)):(f&=262143,253952<=f&&(f|=4186112));3932160>f&&3915776<=f&&(a.s|=32,K(a,4));switch(e&7){case 1:g=4096;case 2:e|=128;c&4&&(g=8192);break;case 4:g=4096;case 5:c&4&&(g=4096);case 6:e|=c&4?192:128;break;default:g=32768}32512!==(e&32520)&&(e&8?e&32512&&(b&8128)<(e>>2&8128)&&(g|=16384):(b&8128)>(e>>2&8128)&&(g|=16384));a.R[a.w][d]=e;if(4194170!==
|
||||
f||a.w)a.eb=a.w,a.fb=d;g&&(g&57344&&(0<=a.pa&&(g|=128),a.G&57344||(a.G=a.G|g|a.eb<<5|a.fb<<1),K(a,168)),a.G&61440||!(4191360>f||4194239<f)||(a.G|=4096,a.G&512&&(a.j|=32)))}else f=b&65535,57344<=f&&(f|=4186112);return f}function nb(a,b){b&1&&(a.s|=64,K(a,4));a=a.u;return a.b[(b&a.u)>>>a.c].oc(b&a.h,b)}function N(a,b){return nb(a,Zb(a,b,2))}function lb(a,b,c){b&1&&(a.s|=64,K(a,4));a=a.u;a.b[(b&a.u)>>>a.c].Hc(b&a.h,c&65535,b)}function Yb(a){var b=N(a,a.f[6]|65536);a.f[6]=a.f[6]+2&65535;return b}
|
||||
function Wb(a,b){var c=a.f[6]-2&65535;a.f[6]=c;a.G&57344||(a.ya=a.ya<<8|246);!a.w&&c<=a.za&&4<c&&(c<=a.za-32?(a.s|=4,a.f[6]=4,K(a,4)):(a.s|=8,a.j|=4));c=Zb(a,c|65536,4);lb(a,c,b)}
|
||||
function $b(a,b,c,d){var e,f,g=d&8?0:a.Jb;switch(b){case 0:return K(a,4),0;case 1:return 6===c&&!a.w&&d&4&&(a.f[6]<=a.za||65534<=a.f[6])&&(a.f[6]<=a.za-32||65534<=a.f[6]?(a.s|=4,a.f[6]=4,K(a,4)):(a.s|=8,a.j|=64)),a.a-=3,7===c?a.f[c]:a.f[c]|g;case 2:f=2;e=a.f[c];7!==c&&(e|=g,6>c&&d&1&&(f=1));a.a-=3;break;case 3:f=2;e=a.f[c];7!==c&&(e|=g);e=N(a,e);e|=g;a.a-=7;break;case 4:f=-2;6>c&&d&1&&(f=-1);e=a.f[c]+f&65535;7!==c&&(e|=g);a.a-=4;break;case 5:f=-2;e=a.f[c]-2&65535;7!==c&&(e|=g);e=N(a,e)|g;a.a-=8;break;
|
||||
case 6:return e=Tb(a),e=e+a.f[c]&65535|g,a.a-=6,e;case 7:return e=Tb(a),e=e+a.f[c]&65535,e=N(a,e|65536)|g,a.a-=10,e}a.f[c]=a.f[c]+f&65535;!g||a.G&57344||(a.ya=a.ya<<8|f<<3&248|c);6==c&&!a.w&&d&4&&0>=f&&(a.f[6]<=a.za||65534<=a.f[6])&&(a.f[6]<=a.za-32?(a.s|=4,a.f[6]=4,K(a,4)):(a.s|=8,a.j|=64));return e}k.dc=function(a,b,c){return $b(this,a,b,c)};k.ec=function(a,b,c){return Zb(this,$b(this,a,b,c),c)};
|
||||
function ac(a,b,c){var d=a.b=b&7;(b=a.c=(b&56)>>3)?(d=$b(a,b,d,2),c&65536||61440!==(a.C&61440)&&(d&=65535),a.w=a.C>>12&3,c=N(a,d|c&65536),a.w=a.C>>14&3):c=6!=d||(a.C>>2&12288)===(a.C&12288)?a.f[d]:a.da[a.C>>12&3];return c}function bc(a,b,c,d){a.G&57344||(a.ya=22);var e=a.b=b&7;(b=a.c=(b&56)>>3)?(e=$b(a,b,e,4),c&65536||(e&=65535),a.w=a.C>>12&3,e=Zb(a,e|c&65536,4),a.w=a.C>>14&3,lb(a,e,d)):6!=e||(a.C>>2&12288)===(a.C&12288)?a.f[e]=d:a.da[a.C>>12&3]=d}
|
||||
function cc(a,b){b>>=6;var c=a.I=b&7;(b=a.H=(b&56)>>3)?(c=a.N(b,c,3),a=Va(a.u,c)):a=a.f[c]&255;return a}function R(a,b){var c;b>>=6;var d=a.I=b&7;(b=a.H=(b&56)>>3)?c=nb(a,a.N(b,d,2)):c=a.f[d];return c}function dc(a,b){var c=a.b=b&7;b=a.c=(b&56)>>3;return $b(a,b,c,8)}function ec(a,b){var c=a.b=b&7;(b=a.c=(b&56)>>3)?(c=a.N(b,c,3),a=Va(a.u,c)):a=a.f[c]&255;return a}function S(a,b){var c,d=a.b=b&7;(b=a.c=(b&56)>>3)?c=nb(a,a.N(b,d,2)):c=a.f[d];return c}
|
||||
function T(a,b,c,d){var e=a.b=b&7;(b=a.c=(b&56)>>3)?(e=a.vb=a.N(b,e,7),c=d.call(a,c,Va(a.u,e)),e&1&&a.a--,a=a.u,a.b[(e&a.u)>>>a.c].tb(e&a.h,c&255,e)):a.f[e]=a.f[e]&65280|d.call(a,c,a.f[e])}function U(a,b,c,d){var e=a.b=b&7;(b=a.c=(b&56)>>3)?(e=a.N(b,e,6),lb(a,e,d.call(a,c,nb(a,e)))):a.f[e]=d.call(a,c,a.f[e])}function fc(a,b,c,d){var e=a.b=b&7;(b=a.c=(b&56)>>3)?(d=a.N(b,e,5),d&1&&a.a--,a=a.u,a.b[(d&a.u)>>>a.c].tb(d&a.h,c&255,d)):a.f[e]=c?d&1?c<<24>>24&65535:a.f[e]&-256|c&255:a.f[e]&-256;return c}
|
||||
function gc(a,b,c){var d=a.b=b&7;(b=a.c=(b&56)>>3)?lb(a,a.N(b,d,4),c):a.f[d]=c&65535;return c}function V(a,b,c){c&&(a.f[7]=a.f[7]+(b<<24>>23)&65535,a.a-=2);a.a-=3}
|
||||
k.Xb=function(a){this.i.complete=!0;this.i.bc=!1;this.i.Wb=!1;this.W=this.a=a;do{if(this.j&&(this.j&112&&(this.j&32?K(this,168):this.j&64?K(this,4):this.j&16&&K(this,12),this.j&=-113),this.j&7))if(this.j&2){this.j&=-3;a=null;for(var b=this.Eb&224,c=this.o.length;0<=--c;){if(0<this.o[c].ia){this.o[c].ia--;this.j|=2;break}if(this.o[c].xb){if(!this.o[c].xb()){this.o.splice(c,1);continue}this.o[c].xb=null}this.o[c].Rb>b&&(b=this.o[c].Rb,a=this.o[c],this.o.splice(c,1))}b>(this.C&224)&&(this.j&4&&(this.f[7]=
|
||||
this.f[7]+2&65535,this.j&=-5),a?K(this,a.Yb):K(this,160))}else this.j&1&&this.j++;this.G&57344||(this.ya=0,this.qb=this.f[7]);this.j=this.j&7|this.C&16;this.decode(Tb(this))}while(0<this.a);return this.i.complete?this.W-this.a:void 0===this.i.complete?0:-1};u(function(){for(var a=D(document,"pdp11","cpu"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new Qb(d);C(d,c)}});function hc(a,b){var c=b+a;Ub(this,c,a,b);return c&65535}function ic(a,b){var c=b+a;Ub(this,c<<8,a<<8,b<<8);return c&255}
|
||||
function jc(a,b){a=b<<1;Q(this,a);return a&65535}function kc(a,b){a=b<<1;Q(this,a<<8);return a&255}function lc(a,b){a=b&32768|b>>1|b<<16;Q(this,a);return a&65535}function mc(a,b){a=b&2048|b>>1|b<<8;Q(this,a<<8);return a&255}function nc(a,b){a=b&~a;O(this,a);return a}function oc(a,b){a=b&~a;O(this,a<<8);return a}function pc(a,b){a|=b;O(this,a);return a}function qc(a,b){a|=b;O(this,a<<8);return a}function rc(a,b){a=~b|65536;P(this,a);return a&65535}
|
||||
function sc(a,b){a=~b|256;P(this,a<<8);return a&255}function tc(a,b){a=b-a;this.j&128||(this.m=this.h=a,this.g=b&(b^a));return a&65535}function uc(a,b){a=b-a;var c=a<<8;b<<=8;this.j&128||(this.m=this.h=c,this.g=b&(b^c));return a&255}function vc(a,b){a=b+a;this.j&128||(this.m=this.h=a,this.g=a&(b^a));return a&65535}function wc(a,b){a=b+a;var c=a<<8;this.j&128||(this.m=this.h=c,this.g=c&(b<<8^c));return a&255}function xc(a,b){a=-b;P(this,a,a&b&32768);return a&65535}
|
||||
function yc(a,b){a=-b;P(this,a<<8,(a&b&128)<<8);return a&255}function zc(a,b){a=b<<1|this.l>>16&1;Q(this,a);return a&65535}function Ac(a,b){a=b<<1|this.l>>16&1;Q(this,a<<8);return a&255}function Bc(a,b){a=(this.l&65536|b)>>1|b<<16;Q(this,a);return a&65535}function Cc(a,b){a=((this.l&65536)>>8|b)>>1|b<<8;Q(this,a<<8);return a&255}function Dc(a,b){var c=b-a;Vb(this,c,a,b);return c&65535}function Ec(a,b){var c=b-a;Vb(this,c<<8,a<<8,b<<8);return c&255}
|
||||
function Fc(a,b){this.j&128||(this.m=this.h=b&65280,this.g=this.l=0);return(b<<8|b>>8)&65535}function Gc(a,b){a^=b;O(this,a);return a&65535}function Hc(a){var b=S(this,a);a=a>>6&7;var c=this.f[a];c&32768&&(c|=4294901760);this.l=this.g=0;b&=63;if(b&32)b=64-b,16<b&&(b=16),this.l=c<<17-b,c>>=b;else if(b)if(16<b)this.g=c,c=0;else{this.l=c<<=b;var d=c>>15&65535;d&&65535!==d&&(this.g=32768)}this.f[a]=c&65535;this.m=this.h=c;this.a-=(this.c?6:7)+b}
|
||||
function Ic(a){var b=S(this,a);a=a>>6&7;var c=this.f[a]<<16|this.f[a|1];this.l=this.g=0;b&=63;if(b&32){b=64-b;32<b&&(b=32);var d=c>>b-1;this.l=d<<16;d>>=1;c&2147483648&&(d|=4294967295<<32-b)}else b?(d=c<<b-1,this.l=d>>15,d<<=1,32<b&&(b=32),(c>>=32-b)&&4294967295!==(c|4294967295<<b&4294967295)&&(this.g=32768)):d=c;this.f[a]=d>>16&65535;this.f[a|1]=d&65535;this.m=d>>16;this.h=d>>16|d;this.a-=(this.c?6:7)+b}function W(a){a&1&&(this.l=0);a&2&&(this.g=0);a&4&&(this.h=1);a&8&&(this.m=0);this.a-=5}
|
||||
function Jc(a){var b=S(this,a);if(b){a=a>>6&7;var c=this.f[a]<<16|this.f[a|1];this.l=this.g=0;b&32768&&(b|=-65536);var d=~~(c/b);-32768<=d&&32767>=d?(this.f[a]=d&65535,this.f[a|1]=c-d*b&65535,this.h=d>>16|d,this.m=d>>16):(this.g=32768,this.h=d>>15|d,this.m=c>>16,-1===b&&65534===this.f[a]&&(this.f[a]=this.f[a|1]=1));this.a-=53}else this.h=this.m=0,this.g=32768,this.l=65536,this.a-=7}var Kc=[0,7,7,10,7,11,9,13];function Lc(a){var b=this.a;a=dc(this,a);this.f[7]=a&65535;this.a=b-Kc[this.c]}
|
||||
var Mc=[0,14,14,17,14,18,16,20];function Nc(a){var b=this.a,c=dc(this,a);a=a>>6&7;Wb(this,this.f[a]);this.f[a]=this.f[7];this.f[7]=c&65535;this.a=b-Mc[this.c]}var Oc=[3,9,9,13,10,14,12,16,4,9,9,13,10,14,13,17],Pc=[7,13,13,17,14,18,17,21];function Qc(a){var b=S(this,a);a=a>>6&7;b&32768&&(b|=-65536);var c=this.f[a];c&32768&&(c|=-65536);b=~~(b*c);this.f[a]=b>>16&65535;this.f[a|1]=b&65535;this.j&128||(this.m=b>>16,this.h=this.m|b,this.g=0,this.l=-32768>b||32767<b?65536:0);this.a-=23}
|
||||
function Rc(){this.a-=5}function X(a){a&1&&(this.l=65536);a&2&&(this.g=32768);a&4&&(this.h=0);a&8&&(this.m=32768);this.a-=5}function Sc(a){var b=(a&448)>>6;if(this.f[b]=this.f[b]-1&65535)this.f[7]=this.f[7]-((a&63)<<1)&65535,this.a+=1;this.a-=6}function Tc(a){U(this,a,0,Fc);this.a-=this.c?9:3+(7==this.b?2:0)}function Uc(a){U(this,a,R(this,a),Gc);this.a-=this.c?9:3+(7==this.b?2:0)}function Y(){K(this,8)}function Rb(a){Vc[a>>12].call(this,a)}
|
||||
var Vc=[function(a){Wc[a>>8&15].call(this,a)},function(a){var b=R(this,a),c=this.a;O(this,gc(this,a,b));this.a=c-Oc[(this.H?8:0)+this.c]+(7!=this.b||this.c?0:2)},function(a){var b=R(this,a);a=S(this,a);Vb(this,b-a,a,b);this.a-=this.c?4+(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){O(this,R(this,a)&S(this,a));this.a-=this.c?4+(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){U(this,a,R(this,a),nc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?
|
||||
2:0)},function(a){U(this,a,R(this,a),pc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){U(this,a,R(this,a),hc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){Xc[a>>8&15].call(this,a)},function(a){Yc[a>>8&15].call(this,a)},function(a){var b=cc(this,a);O(this,fc(this,a,b,1)<<8);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){var b=cc(this,a)<<8;a=ec(this,a)<<8;Vb(this,b-a,a,b);this.a-=this.c?4+
|
||||
(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){O(this,(cc(this,a)&ec(this,a))<<8);this.a-=this.c?4+(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){T(this,a,cc(this,a),oc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){T(this,a,cc(this,a),qc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){U(this,a,R(this,a),Dc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},Y],Wc=[function(a){Zc[a>>
|
||||
4&15].call(this,a)},function(a){V(this,a,!0)},function(a){V(this,a,!!(this.h&65535))},function(a){V(this,a,this.h&65535?0:4)},function(a){V(this,a,!this.ua()==!(this.g&32768))},function(a){V(this,a,!this.ua()!=!(this.g&32768))},function(a){V(this,a,!!(this.h&65535)&&!this.ua()==!(this.g&32768))},function(a){V(this,a,(this.h&65535?0:4)||!this.ua()!=!(this.g&32768))},Nc,Nc,function(a){$c[a>>6&3].call(this,a)},function(a){ad[a>>6&3].call(this,a)},function(a){bd[a>>6&3].call(this,a)},function(a){cd[a>>
|
||||
6&3].call(this,a)},Y,Y],$c=[function(a){P(this,gc(this,a,0));this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,rc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,1,vc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,1,tc);this.a-=this.c?9:3+(7==this.b?2:0)}],ad=[function(a){U(this,a,0,xc);this.a-=this.c?11:6},function(a){U(this,a,M(this)?1:0,hc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,M(this)?1:0,Dc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){a=S(this,
|
||||
a);P(this,a);this.a-=this.c?4:3+(7==this.b?2:0)}],bd=[function(a){U(this,a,0,Bc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,zc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,lc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,jc);this.a-=this.c?9:3+(7==this.b?2:0)}],cd=[function(a){a=this.f[7]+((a&63)<<1)&65535;var b=N(this,a|65536);this.f[7]=this.f[5]&65535;this.f[6]=a+2&65535;this.f[5]=b;this.a-=8},function(a){a=ac(this,a,0);Wb(this,a);O(this,a);this.a-=11},
|
||||
function(a){var b=Yb(this),c=this.a;bc(this,a,0,b);O(this,b);this.a=c-Pc[this.c]},function(a){O(this,gc(this,a,this.ua?65535:0));this.a-=this.c?9:3+(7==this.b?2:0)}],Zc=[function(a){dd[a&15].call(this,a)},Y,Y,Y,Lc,Lc,Lc,Lc,function(a){if(a&8)K(this,8);else{var b=Yb(this);a&=7;this.f[7]=this.f[a]&65535;this.f[a]=b;this.a-=9}},function(a){a&8?(this.C&49152||(this.C=this.C&-2017|(a&7)<<5,this.j|=1),this.a-=5):K(this,8)},function(a){ed[a&15].call(this,a)},function(a){fd[a&15].call(this,a)},Tc,Tc,Tc,Tc],
|
||||
dd=[function(){this.C&49152?(this.s|=128,K(this,4)):(this.W-=this.a,this.a=0);this.a-=7},function(){this.j|=4;this.f[7]=this.f[7]+-2&65535;this.a-=3},function(){Xb(this);this.j|=this.C&16;this.a-=13},function(){K(this,12);this.a-=5},function(){K(this,16);this.a-=25},function(){this.C&49152||(Sb(this),this.u.reset());this.a-=667},function(){Xb(this);this.a-=13},Y,Y,Y,Y,Y,Y,Y,Y,Y],ed=[Rc,function(){this.l=0;this.a-=5},function(){this.g=0;this.a-=5},W,function(){this.h=1;this.a-=5},W,W,W,function(){this.m=
|
||||
0;this.a-=5},W,W,W,W,W,W,W],fd=[Rc,function(){this.l=65536;this.a-=5},function(){this.g=32768;this.a-=5},X,function(){this.h=0;this.a-=5},X,X,X,function(){this.m=32768;this.a-=5},X,X,X,X,X,X,X],Xc=[Qc,Qc,Jc,Jc,Hc,Hc,Ic,Ic,Uc,Uc,Y,Y,Y,Y,Sc,Sc],Yc=[function(a){V(this,a,!this.ua())},function(a){V(this,a,this.ua())},function(a){V(this,a,!M(this)&&!!(this.h&65535))},function(a){V(this,a,M(this)||(this.h&65535?0:4))},function(a){V(this,a,!(this.g&32768))},function(a){V(this,a,this.g&32768?2:0)},function(a){V(this,
|
||||
a,!M(this))},function(a){V(this,a,M(this))},function(){K(this,24);this.a-=25},function(){K(this,28);this.a-=5},function(a){gd[a>>6&3].call(this,a)},function(a){hd[a>>6&3].call(this,a)},function(a){id[a>>6&3].call(this,a)},function(a){jd[a>>6&3].call(this,a)},Y,Y],gd=[function(a){P(this,fc(this,a,0));this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,0,sc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,1,wc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,1,uc);this.a-=this.c?
|
||||
9:3+(7==this.b?2:0)}],hd=[function(a){T(this,a,0,yc);this.a-=this.c?11:6},function(a){T(this,a,M(this)?1:0,ic);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,M(this)?1:0,Ec);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){a=ec(this,a);P(this,a<<8);this.a-=this.c?4:3+(7==this.b?2:0)}],id=[function(a){T(this,a,0,Cc);this.a-=this.c?9+(this.vb&1):3+(7==this.b?2:0)},function(a){T(this,a,0,Ac);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,0,mc);this.a-=this.c?9+(this.vb&1):3+(7==this.b?
|
||||
2:0)},function(a){T(this,a,0,kc);this.a-=this.c?9:3+(7==this.b?2:0)}],jd=[Y,function(a){a=ac(this,a,65536);Wb(this,a);O(this,a);this.a-=11},function(a){var b=Yb(this),c=this.a;bc(this,a,65536,b);O(this,b);this.a=c-Pc[this.c]},Y];
|
||||
function kd(a){v.call(this,"ROM",a,kd);this.b=null;this.m=a.addr;this.c=a.size;this.o=a.writable;this.g=a.alias;this.h=a.file;this.B=ba(this.h);if(this.h){a=this.h;var b=ca(this.B);"json"!=b&&"hex"!=b&&(a=ea()+"/api/v1/dump?file="+this.h+"&format=bytes&decimal=true");var c=this;p(a,null,!0,function(a,b,f){ld(c,a,b,f)})}}y(kd);kd.prototype.va=function(a,b,c,d){this.u=b;this.a=c;this.K=d;md(this)};kd.prototype.la=function(){this.l&&(this.K&&this.K.a(this.id,this.m,this.c,this.l),delete this.l);return!0};
|
||||
kd.prototype.ka=function(){return!0};
|
||||
function ld(a,b,c,d){if(d)a.O("Unable to load system ROM (error "+d+": "+b+")");else{Fa(a.wb,b,c);var e;if("["==c.charAt(0)||"{"==c.charAt(0))try{var f,g,h=eval("("+c+")");if(f=h.bytes)a.b=f;else if(f=h.words)for(a.b=Array(2*f.length),g=e=0;e<f.length;e++)a.b[g++]=f[e]&255,a.b[g++]=f[e]>>8&255;else if(f=h.data)for(a.b=Array(4*f.length),g=e=0;e<f.length;e++)a.b[g++]=f[e]&255,a.b[g++]=f[e]>>8&255,a.b[g++]=f[e]>>16&255,a.b[g++]=f[e]>>24&255;else a.b=h;a.l=h.symbols;if(!a.b.length){r("Empty ROM: "+b);
|
||||
return}if(1==a.b.length){r(a.b[0]);return}}catch(l){a.O("ROM data error: "+l.message);return}else for(b=c.replace(/\n/gm," ").replace(/ +$/,"").split(" "),a.b=Array(b.length),e=0;e<b.length;e++)a.b[e]=aa(b[e]);md(a)}}
|
||||
function md(a){if(!Ha(a))if(!a.h)F(a);else if(a.b&&a.u){a.c||(a.c=a.b.length);if(a.b.length!=a.c){var b="ROM size ("+n(a.b.length,8,!0)+") does not match specified size ("+n(a.c,8,!0)+")";a.i.error=!0;a.O(b)}else{b=a.m;if(Ra(a.u,b,a.c,a.o?1:ub)){var c;for(c=0;c<a.b.length;c++){var d=a.u,e=b+c;d.b[(e&d.u)>>>d.c].Zb(e&d.h,a.b[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.g?b.push(a.g):null!=a.g&&a.g.length&&(b=a.g);for(c=0;c<b.length;c++){for(var f=a,d=b[c],e=f.u,g=f.c,h=[],l=f.m>>>e.c;0<g&&
|
||||
l<e.b.length;)h.push(e.b[l++]),g-=e.g;e=f.u;f=f.c;g=0;for(d>>>=e.c;0<f&&d<e.b.length;){l=h[g++];if(!l)break;e.b[d++]=l;f-=e.g}}delete a.b}}F(a)}}u(function(){for(var a=D(document,"pdp11","rom"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new kd(d);C(d,c)}});function nd(a){v.call(this,"RAM",a,nd);this.g=a.addr;this.c=a.size;this.b=!1}y(nd);k=nd.prototype;k.va=function(a,b,c,d){this.u=b;this.a=c;this.K=d;F(this)};k.la=function(a,b){b||this.reset();return!0};k.ka=function(a){return a?this.save():!0};
|
||||
k.reset=function(){!this.b&&this.c&&Ra(this.u,this.g,this.c,1)&&(this.b=!0);this.b||r("No RAM allocated")};k.save=function(){return null};k.restore=function(){return!0};u(function(){for(var a=D(document,"pdp11","ram"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new nd(d);C(d,c)}});function od(a){v.call(this,"Keyboard",a,od);F(this)}y(od);od.prototype.Y=function(){return!1};od.prototype.va=function(a,b,c,d){this.B=a;this.a=c;this.K=d;this.Ca=null};
|
||||
u(function(){for(var a=D(document,"pdp11","keyboard"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new od(d);C(d,c)}});function Z(a){this.g=this.l=null;this.M=a.tabSize;this.G=a.charBOL;this.m=0;v.call(this,"SerialPort",a,Z);var b=a.binding;if("console"==b)this.l="";else{var c;a=pd;b&&(void 0===c&&(c="Panel"),(c=A(c,this.id))&&(b=c.A[b])&&this.Y(null,a,b))}this.o=this.w=null;this.exports={connect:this.Ob,receiveData:this.Db}}y(Z);var pd="buffer";k=Z.prototype;
|
||||
k.Y=function(a,b,c){var d=this;switch(b){case pd:return this.A[b]=this.g=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;if(8===b||a.ctrlKey&&65<=b&&90>=b)a.preventDefault&&a.preventDefault(),64<b&&(b-=64),d.Db(b);return!0},c.onkeypress=function(a){a=a||window.event;d.Db(a.which||a.keyCode);a.preventDefault&&a.preventDefault();return!0},c.removeAttribute("readonly"),!0}return!1};
|
||||
k.va=function(a,b,c,d){this.B=a;this.u=b;this.a=c;this.K=d;var e=this;this.N=$a(this.a,function(){e.b&128||!e.h.length||(e.I=e.h.shift(),e.b|=128,e.b&64&&I(e.a,40,4,48))});this.H=function(){e.c|=128;return!!(e.c&64)};Xa(b,this,qd);F(this)};
|
||||
k.Ob=function(){if(!this.o){var a=Fb(this.B,"connection");if(a){var b=a.split("->");if(2==b.length){var c=ha(b[0]);if(c!=this.cb)return;b=ha(b[1]);if(this.o=Ga(b)){var d=this.o.exports;if(d){var e=d.connect;e&&e.call(this.o);if(this.w=d.receiveData){this.status(this.wb+"."+c+" connected to "+b);return}}}}this.status("Unable to establish connection: "+a)}}};k.la=function(a,b){if(!b)if(this.Ob(),!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};
|
||||
k.ka=function(a){return a?this.save():!0};k.reset=function(){rd(this)};k.save=function(){var a=new L(this);a.set(0,[]);return a.data()};k.restore=function(){return rd(this)};function rd(a){a.I=0;a.b=0;a.c=128;a.h=[];return!0}k.Db=function(a){if("number"==typeof a)this.h.push(a);else if("string"==typeof a)for(var b=0;b<a.length;b++)this.h.push(a.charCodeAt(b));else this.h=this.h.concat(a);ab(this.a,this.N,50);return!0};k.nc=function(){return this.b&65535};k.Gc=function(a){this.b=this.b&-112|a&111};
|
||||
k.mc=function(){this.b&=-129;0<this.h.length&&ab(this.a,this.N,50);return this.I};k.Fc=function(){};k.qc=function(){return this.c};k.Jc=function(a){128==(this.c&192)&&a&64&&I(this.a,8,4,52,this.H);this.c=this.c&-70|a&69};k.pc=function(){return 0};
|
||||
k.Ic=function(a){if(a&=255){this.w&&this.w.call(this.o,a);if(this.g)if(13==a)this.m=0;else if(8==a)this.g.value=this.g.value.slice(0,-1),0<this.m&&this.m--;else{var b;b=(b=ia[a])?"<"+b+">":String.fromCharCode(a);var c=b.length;32>a&&1==c&&(c=0);9==a&&(a=this.M||8,c=a-this.m%a,this.M&&(b=" ".slice(0,c)));this.G&&!this.m&&c&&(b=String.fromCharCode(this.G)+b);this.g.value+=b;this.g.scrollTop=this.g.scrollHeight;this.m+=c}else if(null!=this.l){if(10==a||1024<=this.l.length)this.U(this.l),
|
||||
this.l="";10!=a&&(this.l+=String.fromCharCode(a))}this.c&=-129;I(this.a,100,4,52,this.H)}};var sd={},qd=(sd[65392]=[null,null,Z.prototype.nc,Z.prototype.Gc,"RCSR"],sd[65394]=[null,null,Z.prototype.mc,Z.prototype.Fc,"RBUF"],sd[65396]=[null,null,Z.prototype.qc,Z.prototype.Jc,"XCSR"],sd[65398]=[null,null,Z.prototype.pc,Z.prototype.Ic,"XBUF"],sd);u(function(){for(var a=D(document,"pdp11","serial"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new Z(d);C(d,c)}});
|
||||
function td(a,b,c){v.call(this,"Computer",a,td);this.i.P=!1;ud(this,b);this.G=Fb(this,"autoPower",a);this.g=0;this.W=a.busWidth||a.buswidth;this.b=vd;this.B=null;this.m=this.M=!1;this.url=Fb(this,"url")||"";(Math.random()+.1).toString(36);this.c=wd(this);if(this.a=A("CPU",this.id)){this.K=A("Debugger",this.id);this.u=new La({id:this.wb+".bus",busWidth:this.W},this.a,this.K);var d,e=z(this.id);if((this.h=A("Panel",this.id))&&this.h.yb)for(b=0;b<e.length;b++)d=e[b],d.O=this.h.O,d.U=this.h.U,d.yb=this.h.yb;
|
||||
this.U("PDPjs v1.30.1\nCopyright \u00a9 2012-2016 Jeff Parsons <Jeff@pcjs.org>\nLicense: GPL version 3 or later <http://gnu.org/licenses/gpl.html>");this.U("Portions adapted from the PDP-11/70 Emulator v1.3 by Paul Nankervis <paulnank@hotmail.com>");for(b=0;b<e.length;b++)d=e[b],d.va&&d.va(this,this.u,this.a,this.K);b=null;d=a.resume;void 0!==d&&(1<d.length?b=this.o=d:this.b=parseInt(d,10));var f;if(a=Fb(this,"state")||(f=!0,a.state))b=this.H=a,f||(this.m=!0,this.b=vd),this.b&&(this.w=new L(this,
|
||||
"1.30.1"),xd(this.w)?b=null:delete this.w);!b&&this.b&&(b=yd(this))&&(this.m=!0);if(b){var g=this;p(b,null,!0,function(a,b,c){c?(g.o=null,g.m=!1,g.O("Unable to load machine state from server (error "+c+(b?": "+ha(b):"")+")")):(g.B=b,g.M=!0);F(g)})}else F(this);this.A.power||(this.G=!0);!c&&this.G&&zd(this,this.Xa)}else r("Unable to find CPU component")}y(td);var vd=0;
|
||||
function ud(a,b){if(!b){var c;if("object"==typeof resources&&(c=resources.parms))try{b=eval("("+c+")")}catch(d){r(d.message+" ("+c+")")}}a.N=b}function Fb(a,b,c){var d=b.toLowerCase(),d=za[b]||za[d];void 0===d&&a.N&&(d=a.N[b]);void 0===d&&c&&(d=c[b]);void 0===d&&"object"==typeof resources&&resources[b]&&(d=b);return d}function zd(a,b,c){for(var d=z(a.id),e=0;e<=d.length;e++){var f=e<d.length?d[e]:a;if(!Ha(f)){Ha(f,function(){zd(a,b,c)});return}}b.call(a,c)}
|
||||
function Ad(a,b){var c=new L(a,"1.30.1","validate");if(xd(c)&&Bd(c)){var d=c.get("timestamp"),e=b?b.get("timestamp"):"unknown";d!=e&&(a.O("Machine state may be out-of-date\n("+d+" vs. "+e+")\nCheck your browser's local storage limits"),b||c.clear())}}k=td.prototype;
|
||||
k.Xa=function(a){void 0===a&&(a=this.b||(this.B?1:vd));if(!this.g){this.g++;var b=!1,c=!1;this.I=!1;var d=this.w||new L(this,"1.30.1");if(-1==a)b=!0;else if(a>vd){if(xd(d,this.B)){this.l=new L(this,"1.30.1","failsafe");xd(this.l)&&(Cd(this,d),a=2,Dd(this.l));this.l.set("timestamp",ka());Ed(this.l);var e=this.b&&!this.m;if(1==a||la("Click OK to restore the previous PDPjs machine state, or CANCEL to reset the machine.")){if(c=Bd(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?xd(d,g):("error"==
|
||||
f&&"no machine state"!=g?(this.O("Error: "+g),"unable to verify user"==g&&(pa("user",""),this.c=null)):this.U(f+": "+g),Dd(d),xd(d)?(c=Bd(d),e=!0):c=!1))}e&&Ad(this,c?d:null)}else 2==a&&d.clear()}else Ad(this);delete this.B;delete this.w}e=z(this.id);for(f=0;f<e.length;f++)g=e[f],g!==this&&g!=this.a&&(c=Fd(this,g,d,b,c));b=[d,a,c];-1!=a?zd(this,this.Ib,b):this.Ib(b)}};
|
||||
function Fd(a,b,c,d,e){if(!b.i.P){b.i.P=!0;if(b.la){var f=null;e&&((f=c.get(b.id))||(f=c.get(b.id.replace(/[a-z0-9]\./i,"."))));"string"===typeof f&&(f=null);!b.la(f,d)&&f&&(r("Unable to restore state for "+b.type),a.H&&!a.M?(c.clear(),a.b=vd,window&&window.location.reload()):a.I=!0,b.la(null),e=!1)}if(!d&&b.Mb)for(a=b.Mb.split("|"),c=0;c<a.length;c++)b.status(a[c])}return e}
|
||||
k.Ib=function(a){var b=a[0],c=0>a[1];a=a[2];this.Z=!0;this.i.P=!0;var d=this.A.power;d&&(d.textContent="Shutdown");this.a&&(Fd(this,this.a,b,c,a),this.a.Ua());this.I&&(Cd(this,b),b.clear());!c&&this.l&&(this.l.clear(),delete this.l);this.g=0};
|
||||
function Cd(a,b){if(la("There may be a problem with your PDPjs machine.\n\nTo help us diagnose it, click OK to send this PDPjs machine state to http://www.pcjs.org.")){var c=a.c||"";b=b.toString();var d={app:"PDPjs",ver:"1.30.1"};d.url=a.url;d.user=c;d.type="bug";d.data=b;p("http://www.pcjs.org/api/v1/report",d,!0)}}
|
||||
function Gd(a,b,c){var d,e="none";if(a.g)return null;a.g--;var f=new L(a,"1.30.1"),g=new L(a,"1.30.1","validate"),h=ka();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.30.1");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.a&&a.a.ka&&(c&&Lb(a.a),d=a.a.ka(b,c),"object"===typeof d&&f.set(a.a.id,d),c&&(a.a.i.P=!1,!1===d&&(e=null)));for(var h=z(a.id),l=0;l<h.length;l++){var m=h[l];m.i.P&&(m.ka&&(d=m.ka(b,c),"object"===typeof d&&f.set(m.id,
|
||||
d)),c&&(m.i.P=!1,!1===d&&(e=null)))}e&&(c?(h=d=!1,b?(a.c&&Hd(a,a.c,f.toString()),Ed(g)&&Ed(f)||(e=null,d=h=!0)):a.b&&(d=!0,h=3==a.b),d&&f.clear(h)):e=f.toString());c&&(a.i.P=!1,b=a.A.power)&&(b.textContent="Power");a.g=0;return e}k.reset=function(){this.u&&this.u.reset&&this.u.reset();for(var a=z(this.id),b=0;b<a.length;b++){var c=a[b];c!==this&&c!==this.u&&c.reset&&c.reset()}};k.start=function(a,b){for(var c=z(this.id),d=0;d<c.length;d++){var e=c[d];"CPU"!=e.type&&e!==this&&e.start&&e.start(a,b)}};
|
||||
0,3024,3103,65514,34562,0,264,8197,33779,5003,2574,32337,260,0,258,5579,12,6080,448,6081,450,6084,452,116,2,6084,65400,17860,65024,21956,62976,38848,65401,3200,161,76,0,16944,10797];k=H.prototype;k.xa=function(a,b,c,d){this.u=b;this.a=c;this.K=d;var e=this;this.b.Kb=$a(this.a,function(){e.b.ya|=128;e.b.ya&64&&(I(e.a,0,6,64),ab(e.a,e.b.Kb,1E3/60))});Xa(b,this,bb);Ya(b,this.reset.bind(this),this.hc.bind(this));F(this)};k.rc=function(){var a=this.b.ya;this.b.ya&=-129;return a};
|
||||
k.Lc=function(a){this.b.ya=a;a&64&&ab(this.a,this.b.Kb,1E3/60);this.b.ya=a&-129};k.sc=function(){var a=this.a;return a.G&62337|a.ib<<5|a.jb<<1};k.Mc=function(a){var b=4,c=this.a;c.G=a&=62337;c.ib=a>>5&3;c.jb=a>>1&15;c.Fb=a&257?a&1?6:4:0;cb(c);a=c.G;a&1|256&&(b=this.a.Ba&16?1:2);this.c.Ma=this.c.Ma&-8|b};k.tc=function(){return db(this.a)};k.Nc=function(a){eb(this.a,a&-1809|db(this.a)&1808);this.a.j|=128};
|
||||
function fb(a){var b=a.g,c,d,e,f=b.W>>13&7;"undefined"===typeof b.S[f]&&(b.S[f]={cache:[],postProcess:a.zc,drive:f,blocksize:256,mapped:0,maxblock:b.Ia[f]*b.J[f],url:"rk"+f+".dsk"});b.D&=-129;switch(b.D>>1&7){case 0:b.cb=2496;b.R=0;b.D=128;b.W=0;break;case 1:if((b.W>>4&511)>=b.Ia[f]){b.R|=32832;b.D|=49152;break}if((b.W&15)>=b.J[f]){b.R|=32800;b.D|=49152;break}c=(b.W>>4&511)*b.J[f]+(b.W&15);d=(b.D&48)<<12|b.bb;e=65536-b.eb&65535;gb(a,b.S[f],c,d,e);return;case 2:if((b.W>>4&511)>=b.Ia[f])b.R|=32832,
|
||||
b.D|=49152;else if((b.W&15)>=b.J[f])b.R|=32800,b.D|=49152;else{c=(b.W>>4&511)*b.J[f]+(b.W&15);d=(b.D&48)<<12|b.bb;e=65536-b.eb&65535;a.sb(b.S[f],c,d,e);return}}b.cb=f<<13|b.cb&8176|b.W%9&15;I(a.a,20,5,144,function(){b.D=b.D&65534|128;return!!(b.D&64)})}k.zc=function(a,b,c,d,e){var f=this.g;f.bb=d&65535;f.D=f.D&-49|d>>12&48;f.eb=65536-e&65535;switch(a){case 1:f.R|=33024;f.D|=49152;break;case 2:f.R|=33792,f.D|=49152}I(this.a,20,5,144,function(){f.D=f.D&65534|128;return!!(f.D&64)})};
|
||||
function hb(a){var b=a.h,c,d,e,f=b.v>>8&3;b.v&=-2;"undefined"===typeof b.S[f]&&(b.S[f]={cache:[],postProcess:a.Ac,drive:f,blocksize:128,mapped:1,maxblock:b.Ia[f]*b.J[f],url:"rl"+f+".dsk"});switch(b.v>>1&7){case 2:b.za&8&&(b.v&=63);b.za=b.gc[f]|b.Ea&64;break;case 3:1==(b.L&3)&&(b.Ea=b.L&4?b.Ea+(b.L&65408)&65408|b.L<<2&64:b.Ea-(b.L&65408)&65408|b.L<<2&64,b.L=b.Ea);break;case 4:b.za=b.Ea;break;case 5:if(b.L>>6>=b.Ia[f]){b.v|=37888;break}if((b.L&63)>=b.J[f]){b.v|=37888;break}c=(b.L>>6)*b.J[f]+(b.L&63);
|
||||
d=(b.ta&63)<<16|b.Za;e=65536-b.za&65535;gb(a,b.S[f],c,d,e);return;case 6:if(b.L>>6>=b.Ia[f])b.v|=37888;else if((b.L&63)>=b.J[f])b.v|=37888;else{c=(b.L>>6)*b.J[f]+(b.L&63);d=(b.ta&63)<<16|b.Za;e=65536-b.za&65535;a.sb(b.S[f],c,d,e);return}}I(a.a,20,5,112,function(){b.v|=129;return!!(b.v&64)})}
|
||||
k.Ac=function(a,b,c,d,e){var f=this.h;f.Za=d&65535;f.v=f.v&-49|d>>12&48;f.ta=d>>16&63;f.L=~~(c/f.J[b.la])<<6|c%f.J[b.la];f.Ea=f.L;f.za=65536-e&65535;switch(a){case 1:f.v|=33792;break;case 2:f.v|=40960}I(this.a,20,5,112,function(){f.v|=129;return!!(f.v&64)})};function ib(a){a=a.l;a.F=2176;a.aa=0;a.U=[4544,4544,4544,4544,4544,4544,4544,4544];a.Pa=[0,0,0,0,0,0,0,0];a.La=a.Qa=a.Oa=a.Da=a.Jb=0}
|
||||
function jb(a,b){var c=a.l,d,e,f;c.F&=-16513;c.aa&=-2049;c.U[b]&=-1153;I(a.a,-1,0,172);"undefined"===typeof c.S[b]&&(c.S[b]={cache:[],postProcess:a.Bc,drive:b,blocksize:256,mapped:0,maxblock:c.xb[0]*c.Ha[0]*c.J[0],url:"rp"+b+".dsk"});switch(c.F&63){case 5:c.ub[b]=c.oa[b];c.F|=32896;c.U[b]|=32896;c.La|=1<<b;break;case 9:ib(a);break;case 19:c.U[b]|=64;break;case 49:if(c.oa[b]>=c.xb[0]||c.ba[b]>>8>=c.Ha[0]||(c.ba[b]&255)>=c.J[0]){c.Pa[b]|=1024;c.F|=49152;break}d=(c.oa[b]*c.Ha[0]+(c.ba[b]>>8))*c.J[0]+
|
||||
(c.ba[b]&255);e=(c.Da&63)<<16|c.Oa;f=65536-c.Qa&65535;gb(a,c.S[b],d,e,f);return;case 57:if(c.oa[b]>=c.xb[0]||c.ba[b]>>8>=c.Ha[0]||(c.ba[b]&255)>=c.J[0])c.Pa[b]|=1024,c.F|=49152;else{d=(c.oa[b]*c.Ha[0]+(c.ba[b]>>8))*c.J[0]+(c.ba[b]&255);e=(c.Da&63)<<16|c.Oa;f=65536-c.Qa&65535;a.sb(c.S[b],d,e,f);return}}I(a.a,3,5,172,function(){c.F=c.F&65534|128;c.U[b]|=128;return!!(c.F&64)})}
|
||||
k.Bc=function(a,b,c,d,e){var f=this.l;f.Qa=65536-e&65535;f.Oa=d&65535;f.F=f.F&-769|d>>8&768;f.Da=d>>16&63;e=~~(c/f.J[0]);d=~~(e/f.Ha[0]);f.ba[b.la]=e%f.Ha[0]<<8|c%f.J[0];f.ub[b.la]=f.oa[b.la]=d;f.La|=1<<b.la;c>=b.nc-1&&(f.U[b.la]|=1024);switch(a){case 1:f.aa|=512;f.F|=49152;break;case 2:f.aa|=2048,f.F|=49152}I(this.a,20,5,172,function(){f.U[b.la]|=128;f.F=f.F&65534|128;return!!(f.F&64)})};
|
||||
function kb(a,b,c,d,e,f){var g=~~((f+c.ua-1)/c.ua),h=new XMLHttpRequest;2048>g&&d+2048<c.nc&&(g=2048);h.open("GET",c.url,!0);h.setRequestHeader("Range","bytes="+(d*c.ua<<1)+"-"+(((d+g)*c.ua<<1)-1));h.responseType="arraybuffer";h.onreadystatechange=function(){if(4==h.readyState){var g=b.bind(a),m,q,w,E;m=h.response;if(h.status&&206!=h.status||!m)c.rb(1,c,d,e,f);else{m=new Uint8Array(m);q=d;for(E=0;E<m.length;){if("undefined"===typeof c.cache[q])for(c.cache[q]=[],w=0;w<c.ua;w++)c.cache[q][w]=E<m.length?
|
||||
m[E]&255|m[E+1]<<8&65280:0,E+=2;else E+=c.ua<<1;q++}g(c,d,e,f)}}};h.send(null)}function J(a,b,c,d,e){c&1?e?d=0<=d?d<<8&65280|b&255:b:K(a.a,4):0<=d?e&&(d=b&65280|d&255):d=b;return d}k.sb=function(a,b,c,d){for(var e;0<d;){if("undefined"===typeof a.cache[b]){kb(this,this.sb,a,b,c,d);return}for(e=0;e<a.ua&&0<d;e++){if(0>this.a.Sa(a.mc?lb(this.a,c):c,a.cache[b][e])){a.rb(2,a,b,c,d);return}c+=2;--d}b++}a.rb(0,a,b,c,d)};
|
||||
function gb(a,b,c,d,e){for(var f,g;0<e;){if("undefined"===typeof b.cache[c])for(b.cache[c]=[],f=0;f<b.ua;f++)b.cache[c][f]=0;for(f=0;f<b.ua&&0<e;f++){g=a.a.Na(b.mc?lb(a.a,d):d);if(0>g){b.rb(2,b,c,d,e);return}b.cache[c][f]=g;d+=2;--e}c++}b.rb(0,b,c,d,e)}k.reset=function(){this.c.Ma=this.c.Ma&-120|20;this.b.ya=0;this.g.D=128;this.h.v=128;ib(this)};
|
||||
k.hc=function(a,b,c){var d,e,f=this.a;switch(a&-64){case 4194240:switch(a&-2){case 4194300:0>b?d=f.Ca&65280:(a&1&&(b<<=8),f.Ca=b|255,d=0);break;case 4194298:if(0>b)d=f.Ib;else{a&1&&(b<<=8);if(d=b&65024){e=d>>9;do d+=34;while(e>>=1)}f.Ib=d;f.j|=2}break;case 4194294:if(70!==f.Ja)return K(f,4);0>b?d=f.s:d=f.s=0;break;case 4194292:if(70!==f.Ja)return K(f,4);d=1;break;case 4194290:if(70!==f.Ja)return K(f,4);d=0;break;case 4194288:if(70!==f.Ja)return K(f,4);d=61183;break;case 4194296:0<=b&&!(a&1)&&(b&=
|
||||
255);case 4194286:case 4194284:case 4194282:case 4194280:case 4194278:case 4194276:case 4194274:case 4194272:if(70!==f.Ja)return K(f,4);e=a-4194272>>1;0>b?d=f.Ab[e]:(d=J(this,f.Ab[e],a,b,c),0<=d&&(f.Ab[e]=d));break;case 4194254:return a&1?f.C>>14&1?(0<=b&&(f.f[6]=b),d=f.f[6]):(0<=b&&(f.da[3]=b),d=f.da[3]):f.C>>14&0?(0<=b&&(f.f[6]=b),d=f.f[6]):(0<=b&&(f.da[1]=b),d=f.da[1]),d;case 4194252:case 4194250:case 4194248:return e=a&7,f.C&2048?(0<=b&&(f.f[e]=b),d=f.f[e]):(0<=b&&(f.Ka[e]=b),d=f.Ka[e]),d;case 4194246:return a&
|
||||
1?(0<=b&&(f.f[7]=b),d=f.f[7]):f.C>>14&0?(0<=b&&(f.f[6]=b),d=f.f[6]):(0<=b&&(f.da[0]=b),d=f.da[0]),d;case 4194244:case 4194242:case 4194240:return e=a&7,f.C&2048?(0<=b&&(f.Ka[e]=b),d=f.Ka[e]):(0<=b&&(f.f[e]=b),d=f.f[e]),d;default:return f.s|=16,K(f,4)}break;case 4194176:e=a>>1&31;d=J(this,f.Z[3][e],a,b,c);0<=d&&(f.Z[3][e]=d,f.Z[3][e&15]&=65295);break;case 4194112:switch(a&-2){case 4194174:d=J(this,f.tb,a,b,c);0<=d&&(f.tb=d);break;case 4194172:d=f.Aa;d&65280&&(d=(d<<8|d>>8)&65535);break;case 4194168:0>
|
||||
b?d=this.c.Kc&65535:(d=J(this,this.c.data,a,b,c),0<=d&&(this.c.data=d));break;default:return f.s|=16,K(f,4)}break;case 4194048:e=this.g;switch(a&-2){case 4194048:d=J(this,e.cb,a,b,c);0<=d&&(e.cb=d);break;case 4194050:d=J(this,e.R,a,b,c);0<=d&&(e.R=d);break;case 4194052:d=J(this,e.D,a,b,c);0<=b&&0<=d&&(e.D=d&-36993|e.D&36992,e.D&1&&fb(this));break;case 4194054:d=J(this,e.eb,a,b,c);0<=d&&(e.eb=d);break;case 4194056:d=J(this,e.bb,a,b,c);0<=d&&(e.bb=d);break;case 4194058:d=J(this,e.W,a,b,c);0<=d&&(e.W=
|
||||
d);break;case 4194060:break;case 4194062:d=J(this,e.Zb,a,b,c);0<=d&&(e.Zb=d);break;default:return f.s|=16,K(f,4)}break;case 4193728:var g=this.l;e=g.aa&7;switch(a&-2){case 4193728:d=J(this,g.F,a,b,c);0<=b&&0<=d&&(g.Da=g.Da&60|d>>8&3,g.F=d&17279|g.F&34944|2048,d&1&&g.F&128?jb(this,e):192==(d&192)&&I(f,0,5,172));break;case 4193730:d=J(this,g.Qa,a,b,c);0<=d&&(g.Qa=d);break;case 4193732:d=J(this,g.Oa,a,b,c);0<=d&&(g.Oa=d&65534);break;case 4193734:d=J(this,g.ba[e],a,b,c);0<=d&&(g.ba[e]=d&7967);break;case 4193736:d=
|
||||
J(this,g.aa,a,b,c);0<=d&&(g.aa=d&63|g.aa&65472,d&128&&ib(this));break;case 4193738:d=g.U[e];break;case 4193740:d=g.Pa[e];break;case 4193742:d=J(this,g.La,a,b,c);0<=d&&(g.La=d&255);break;case 4193744:d=g.Gc[e];break;case 4193746:d=J(this,g.$b,a,b,c);0<=d&&(g.$b=d);break;case 4193748:d=J(this,g.ac[e],a,b,c);0<=d&&(g.ac[e]=d&1023);break;case 4193750:d=8210;break;case 4193752:d=g.Hc[e];break;case 4193754:d=J(this,g.bc[e],a,b,c);0<=d&&(g.bc[e]=d);break;case 4193756:d=J(this,g.oa[e],a,b,c);0<=d&&(g.oa[e]=
|
||||
d&511);break;case 4193758:g.ub[e]=g.oa[e];d=g.ub[e];break;case 4193760:d=g.Ec[e];break;case 4193762:d=g.Fc[e];break;case 4193764:d=g.Cc[e];break;case 4193766:d=g.Dc[e];break;case 4193768:d=J(this,g.Da,a,b,c);0<=d&&(g.Da=d&63,g.F=g.F&-769|(d&3)<<8);break;case 4193770:d=J(this,g.Jb,a,b,c);0<=d&&(g.Jb=d);break;default:return f.s|=16,K(f,4)}break;case 4192512:e=this.h;switch(a&-2){case 4192512:d=J(this,e.v,a,b,c);0<=b&&0<=d&&(e.ta=e.ta&60|d>>4&3,e.v=e.v&-1023|d&1022,e.v&128||hb(this));break;case 4192514:d=
|
||||
J(this,e.Za,a,b,c);0<=d&&(e.Za=d&65534);break;case 4192516:d=J(this,e.L,a,b,c);0<=d&&(e.L=d);break;case 4192518:d=J(this,e.za,a,b,c);0<=d&&(e.za=d);break;case 4192520:d=J(this,e.ta,a,b,c);0<=d&&(e.ta=d&63,e.v=e.v&-49|(e.ta&3)<<4);break;default:return f.s|=16,K(f,4)}break;case 4191552:switch(a&-2){case 4191566:0>b?d=f.Ba:(d=J(this,f.Ba,a,b,c),0<=d&&(70!==f.Ja&&(d&=-49),f.Ba=d,f.qb[0]=d&4?15:7,f.qb[1]=d&2?15:7,f.qb[3]=d&1?15:7,f.Fb&&(e=2,f.Ba&16&&(e=1),this.c.Ma=this.c.Ma&-8|e)));break;default:return f.s|=
|
||||
16,K(f,4)}break;case 4191424:e=a>>1&31;d=J(this,f.Z[0][e],a,b,c);0<=d&&(f.Z[0][e]=d,f.Z[0][e&15]&=65295);break;case 4191360:e=a>>1&31;d=J(this,f.Z[1][e],a,b,c);0<=d&&(f.Z[1][e]=d,f.Z[1][e&15]&=65295);break;case 4190400:case 4190336:if(70!==f.Ja)return K(f,4);e=a>>2&31;d=f.fb[e];a&2&&(d>>=16);d&=65535;0<=b&&(d=J(this,d,a,b,c),0<=d&&(f.fb[e]=a&2?d<<16|f.fb[e]&65535:f.fb[e]&4294901760|d&65534));break;case 4188672:case 4188736:case 4188800:case 4188864:case 4188928:case 4188992:case 4189056:case 4189120:if(0>
|
||||
b)d=Za[a>>1&255];else return f.s|=16,K(f,4);break;default:return f.s|=16,K(f,4)}c&&0<=d&&(a&1?d>>=8:d&=255);"undefined"===typeof d&&console.log("panic(76)");return d};var mb={},bb=(mb[65382]=[null,null,H.prototype.rc,H.prototype.Lc,"LKS"],mb[65402]=[null,null,H.prototype.sc,H.prototype.Mc,"MMR0"],mb[65534]=[null,null,H.prototype.tc,H.prototype.Nc,"PSW"],mb);u(function(){for(var a=D(document,"pdp11","device"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new H(d);C(d,c)}});var nb;
|
||||
if(Ia){var ob=new ArrayBuffer(2);(new DataView(ob)).setUint16(0,256,!0);nb=256===(new Uint16Array(ob))[0]}else nb=!1;var pb=nb;
|
||||
function G(a,b,c,d,e){this.id=qb+=2;this.a=null;this.Wa=a;this.vb=b;this.size=c||0;this.type=d||rb;this.A=d==sb;this.controller=null;Ma(this);this.va=this.jc=!1;if(c)if(e)this.controller=e,this.a=null,tb(this,e.Xa);else if(Ia)this.b=new ArrayBuffer(c),this.g=new DataView(this.b,0,c),this.c=new Uint8Array(this.b,0,c),this.l=new Uint16Array(this.b,0,c>>1),this.a=new Int32Array(this.b,0,c>>2),tb(this,pb?ub:vb);else{this.a=Array(c>>2);for(a=0;a<this.a.length;a++)this.a[a]=0;tb(this,wb)}else tb(this)}
|
||||
var rb=0,sb=2,Sa=4,Ua=["NONE","RAM","ROM","VID","H/W"],qb=0;
|
||||
G.prototype={constructor:G,parent:null,save:function(){var a,b;if(this.controller)a=null;else if(Ia)for(a=Array(this.size>>2),b=0;b<a.length;b++)a[b]=this.g.getInt32(b<<2,!0);else a=this.a;return a},restore:function(a){if(this.controller)return!a;if(a&&this.size==a.length<<2){var b;if(Ia)for(b=0;b<a.length;b++)this.g.setInt32(b<<2,a[b],!0);else this.a=a;return this.va=!0}return!1},m:function(){return 255},B:function(){},o:function(a,b){return this.Gb(a++,b++)|this.Gb(a,b)<<8},w:function(a,b,c){this.wb(a++,
|
||||
b&255,c++);this.wb(a,b>>8,c)},N:function(a){return this.a[a>>2]>>>((a&3)<<3)&255},fa:function(a){var b=a>>2;a=(a&3)<<3;var c=this.a[b]>>a;return 24>a?c&65535:c&255|(this.a[b+1]&255)<<8},ja:function(a,b){var c=a>>2;a=(a&3)<<3;this.a[c]=this.a[c]&~(255<<a)|b<<a;this.va=!0},Ga:function(a,b){var c=a>>2;a=(a&3)<<3;24>a?this.a[c]=this.a[c]&~(65535<<a)|b<<a:(this.a[c]=this.a[c]&16777215|b<<24,c++,this.a[c]=this.a[c]&-256|b>>8);this.va=!0},H:function(a,b){return this.I(a,b)},Y:function(a,b){return this.ca(a,
|
||||
b)},ha:function(a,b,c){this.A||this.fc(a,b,c)},qa:function(a,b,c){this.A||this.ra(a,b,c)},G:function(a){return this.c[a]},M:function(a){return this.c[a]},V:function(a){return this.g.getUint16(a,!0)},ea:function(a){return this.l[a>>1]},ga:function(a,b){this.c[a]=b;this.va=!0},ia:function(a,b){this.c[a]=b;this.va=!0},pa:function(a,b){this.g.setUint16(a,b,!0);this.va=!0},Fa:function(a,b){this.l[a>>1]=b;this.va=!0}};
|
||||
function Ma(a,b,c){a.K=b;a.h=a.u=0;c&&((a.h=c.h)&&xb(a,yb,!1),(a.u=c.u)&&zb(a,yb,!1))}function zb(a,b,c){c&&a.u||(a.wb=!a.A&&b[1]||a.B,a.Qc=!a.A&&b[3]||a.w);if(c||void 0===c)a.fc=b[1]||a.B,a.ra=b[3]||a.w}function xb(a,b,c){c&&a.h||(a.Gb=b[0]||a.m,a.wc=b[2]||a.o);if(c||void 0===c)a.I=b[0]||a.m,a.ca=b[2]||a.o}function tb(a,b){b||(b=Ab);xb(a,b,void 0);zb(a,b,void 0)}var Ab=[],wb=[G.prototype.N,G.prototype.ja,G.prototype.fa,G.prototype.Ga],yb=[G.prototype.H,G.prototype.ha,G.prototype.Y,G.prototype.qa];
|
||||
if(Ia)var vb=[G.prototype.G,G.prototype.ga,G.prototype.V,G.prototype.pa],ub=[G.prototype.M,G.prototype.ia,G.prototype.ea,G.prototype.Fa];function Bb(a,b){v.call(this,"CPU",a,Bb);var c=a.multiplier||1;this.mb=a.cycles||b;this.ia=c;this.Db=Math.round(this.mb/1E4)/100;this.pa=this.Db*this.ia;this.i.$=!1;this.i.cc=!1;this.i.Ya=a.autoStart;this.i.Lb=!1;this.i.ob=!1;this.gb=this.qa=0;this.lb=a.csStart;this.Ga=a.csInterval;this.Ta=a.csStop;this.M=[];this.Vb=this.Ic.bind(this);F(this)}y(Bb);
|
||||
var Cb=["power","reset"];k=Bb.prototype;k.xa=function(a,b,c,d){this.B=a;this.u=b;this.K=d;for(b=0;b<Cb.length;b++)(c=this.A[Cb[b]])&&this.B.X(null,Cb[b],c);this.Fa=null;a=Db(a,"autoStart");null!=a&&(this.i.Ya="true"==a?!0:"false"==a?!1:!!a);F(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.na=function(a,b){if(!b){if(a&&this.restore){Eb(this);if(!this.restore(a))return!1;Fb(this)}else this.reset();this.T("No debugger detected")}Gb(this);return!0};
|
||||
k.ma=function(a){return a?this.save():!0};k.Ya=function(){return this.i.Ya||void 0===this.A.run?(Hb(this),!0):!1};k.Nb=function(){return 0};function Fb(a){void 0===a.lb&&(a.lb=0);void 0===a.Ga&&(a.Ga=-1);void 0===a.Ta&&(a.Ta=-1);a.i.ob=0<=a.lb&&0<a.Ga;a.i.ob&&(a.gb=0,a.qa=a.lb-a.ja)}
|
||||
function Ib(a,b,c,d){if(a.A[b]){void 0===c&&(a.i.error=!0,a.O("Value for "+b+" is invalid"),L(a));var e=a.K&&a.K.b||8;if(!a.i.$||a.i.Lb)if(8==e){e="";d?11<d&&(d=11):d=c&-65536?11:6;if(null==c||isNaN(c))for(;0<d--;)e="?"+e;else for(;0<d--;)e=String.fromCharCode((c&7)+48)+e,c>>=3;d=""+e}else d=n(c,d);else d="--------".substr(0,d||4);a.A[b].textContent!=d&&(a.A[b].textContent=d)}}
|
||||
k.X=function(a,b,c){var d=this;a=!1;switch(b){case "power":case "reset":this.A[b]=c;a=!0;break;case "run":this.A[b]=c;c.onclick=function(){var a;if(a=d.B)if(a=d.B,a.i.P)a=!0;else{var b=null,c,h=z(a.id);for(c=0;c<h.length&&(b=h[c],b===a||b.i.ready);c++);if(c==h.length)for(c=0;c<h.length&&(b=h[c],b===a||b.i.P);c++);c==h.length&&(b=a);r("The "+b.type+" component ("+b.id+") is not "+(b.i.ready?"powered yet":"ready yet"+(b.pb?" (waiting for notification)":""))+".");a=!1}a&&(d.i.$?L(d):Hb(d))};a=!0;break;
|
||||
case "speed":this.A[b]=c;a=!0;break;case "setSpeed":this.A[b]=c,c.onclick=function(){Jb(d,d.ia<<1)},c.textContent=this.pa.toFixed(2)+"Mhz",a=!0}return a};function Kb(a,b,c){a.ja+=b;c&&(a.ha=a.a=0)}function Lb(a,b){var c=1;b&&1<a.ia&&a.fa&&(c=a.fa/a.Db);a.Tb=Math.round(1E3/30);a.nb=Math.floor(a.mb/30*c);b||(a.Ua=a.nb);a.Eb=0}function Mb(a){return a.ja+a.ca+a.ha-a.a}function Eb(a){a.fa=0;a.Ub=0;a.ja=a.ca=a.ha=a.a=0;Fb(a);Jb(a,1)}
|
||||
function Jb(a,b){if(void 0!==b&&(.8>a.fa/a.pa&&(b=1),a.ia=b,b=a.Db*a.ia,a.pa!=b)){a.pa=b;b=a.pa.toFixed(2)+"Mhz";var c=a.A.setSpeed;c&&(c.textContent=b);a.T("target speed: "+b)}Kb(a,a.ca);a.ca=0;a.Y=ja();a.ga=0;Lb(a)}function $a(a,b){var c=a.M.length;a.M.push([-1,b]);return c}function ab(a,b,c){0<=b&&b<a.M.length&&0>a.M[b][0]&&(c*=a.mb*a.ia/1E3,a.M[b][0]=c)}
|
||||
k.Ic=function(){if(this.i.$){this.Eb>=this.mb&&Lb(this,!0);this.Va=0;this.kb=ja();if(this.ga){var a=this.kb-this.ga;a>this.Tb&&(this.Y+=a,this.Y>this.kb&&(this.Y=this.kb))}try{do{for(var b,c=this.i.ob?1:this.nb,d=this.M.length-1;0<=d;d--){var e=this.M[d];0>e[0]||c>e[0]&&(c=e[0])}b=c;try{this.dc(b)}catch(m){if("number"!=typeof m)throw m;}for(var f=this.ha-this.a,a=f,g=this.M.length-1;0<=g;g--){var h=this.M[g];0>h[0]||(h[0]-=a,0>=h[0]&&(h[0]=-1,h[1]()))}this.Va+=f;this.ca+=f;Kb(this,0,!0);a=f;if(this.i.ob){var l=
|
||||
!1;this.gb=this.gb+this.Nb()|0;this.qa-=a;0>=this.qa&&(this.qa+=this.Ga,l=!0);0<=this.Ta&&this.Ta<=Mb(this)&&(this.Ga=this.Ta=-1,Fb(this),L(this),l=!0);l&&this.T(Mb(this)+" cycles: checksum="+n(this.gb))}this.Ua-=f;if(0>=this.Ua){this.Ua+=this.nb;15<=++this.Ub&&(this.B&&this.B.Ra(),this.Ub=0);break}}while(this.i.$)}catch(m){L(this);Gb(this);this.B&&this.B.stop(ja(),Mb(this));b=m.stack||m.message;this.i.error=!0;this.O(b);return}if(this.i.$){b=setTimeout;c=this.Vb;this.ga=ja();d=this.Tb;this.Va&&(d=
|
||||
Math.round(d*this.Va/this.nb));d-=this.ga-this.kb;if(e=this.ga-this.Y)this.fa=Math.round(this.ca/(10*e))/100,864E5<=e&&(this.ja=0,Jb(this));if(0>d||this.fa<this.pa)-1E3>d&&(this.Y-=d),d=0;this.Eb+=this.Va;this.ga+=d;b(c,d)}}};function Hb(a){var b;a.i.error?(a.T(a.toString()+" error"),b=!0):b=!1;if(!b)if(a.i.$)a.T(a.toString()+" busy");else{Jb(a);a.i.$=!0;a.i.cc=!0;a.Fa&&a.Fa.start();if(b=a.A.run)b.textContent="Halt";a.B&&a.B.start(a.Y,Mb(a));Gb(a,!0);setTimeout(a.Vb,0)}}k.dc=function(){return 0};
|
||||
function L(a){if(a.i.$){a.ha-=a.a;a.a=0;Kb(a,a.ca);a.ca=0;a.i.$=!1;a.Fa&&a.Fa.stop();var b=a.A.run;b&&(b.textContent="Run");a.B&&a.B.stop(ja(),Mb(a));Gb(a)}a.i.complete=void 0}function Gb(a,b){a.B&&a.B.Ra(b)}
|
||||
function Nb(a){this.Jc=a.resetAddr||0;Bb.call(this,a,6666667);this.Ob=0;this.decode=Ob.bind(this);this.l=65536;this.g=32768;this.h=65535;this.m=32768;this.C=15;this.f=[0,0,0,0,0,0,0,this.Jc];this.Ka=[0,0,0,0,0,0];this.da=[0,0,0,0];this.jb=this.w=0;this.Z=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];this.fb=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Ab=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.c=this.b=this.Bb=this.H=this.I=this.j=0;this.Ja=70;this.ra=-1;Pb(this);this.i.complete=this.i.ic=!1}y(Nb,Bb);k=Nb.prototype;k.reset=function(){this.i.$&&L(this);Pb(this);Eb(this);this.i.error=!1;this.parent.reset.call(this)};
|
||||
function Pb(a){a.Ca=255;a.s=0;a.Ib=0;a.G=0;a.Aa=0;a.tb=0;a.Ba=0;a.Fb=0;a.ib=0;a.oc=[4,2,0,1];a.qb=262143;a.Rb=253952;a.Sb=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[65535,65535,65535,65535,65535,65535,65535,65535],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];a.pc=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]];a.o=[];a.j|=2;cb(a)}
|
||||
function cb(a){a.Fb?(a.ea=65536,a.N=a.lc,a.V=a.Yb,a.Wb=a.Rc):(a.ea=0,a.N=a.kc,a.V=a.Na,a.Wb=a.Sa)}k.Nb=function(){return 0};k.save=function(){var a=new M(this);a.set(0,[]);a.set(1,[this.ja,this.ia]);a.set(2,Wa(this.u));return a.data()};
|
||||
k.restore=function(a){var b=a[1];this.ja=b[1];Jb(this,b[3]);a:{b=this.u;a=a[2];var c;for(c=0;c<a.length-1;c+=2){var d=a[c],e=a[c+1];if(e&&e.length<b.w){for(var f=0,g=Array(b.w),h=0;h<e.length-1;)for(var l=e[h++],m=e[h++];l--;)g[f++]=m;e=g}f=b.b[d];if(!f||!f.restore(e)){r("Unable to restore memory block "+d);b=!1;break a}}b=!0}return b};
|
||||
k.X=function(a,b,c){switch(b){case "R0":case "R1":case "R2":case "R3":case "R4":case "R5":case "R6":case "R7":case "NF":case "ZF":case "VF":case "CF":case "PS":this.A[b]=c;this.Ob++;a=!0;break;default:a=this.parent.X.call(this,a,b,c)}return a};
|
||||
k.Ra=function(a){if(this.Ob&&(a||!this.i.$||this.i.Lb)){for(a=0;a<this.f.length;a++)Ib(this,"R"+a,this.f[a]);a=db(this);Ib(this,"PS",a);Ib(this,"NF",a&8?1:0,1);Ib(this,"ZF",a&4?1:0,1);Ib(this,"VF",a&2?1:0,1);Ib(this,"CF",a&1?1:0,1)}if(a=this.A.speed)a.textContent=this.i.$&&this.fa?this.fa.toFixed(2)+"Mhz":"Stopped"};function N(a){return a.l&65536?1:0}k.wa=function(){return this.m&32768?8:0};function Qb(a){var b=a.V(a.f[7]);a.f[7]=a.f[7]+2&65535;return b}
|
||||
function I(a,b,c,d,e){for(var f=a.o.length;0<f--;)if(a.o[f].ec===d){0<f&&(a.o[f-1].ka+=a.o[f].ka);a.o.splice(f,1);break}if(0<=b){for(f=a.o.length;0<f--;){if(a.o[f].ka>b){a.o[f].ka-=b;break}b-=a.o[f].ka}a.o.splice(f+1,0,{ka:b,Xb:c<<5&224,ec:d,yb:e})}a.j|=2}function db(a){return a.C=a.C&63728|a.wa()|(a.h&65535?0:4)|(a.g&32768?2:0)|N(a)}
|
||||
function eb(a,b){a.m=b<<12;a.h=~b&4;a.g=b<<14;a.l=b<<16;if((b^a.C)&2048)for(var c=a.Ka.length;0<=--c;){var d=a.f[c];a.f[c]=a.Ka[c];a.Ka[c]=d}a.w=b>>14&3;c=a.C>>14&3;a.w!=c&&(a.da[c]=a.f[6],a.f[6]=a.da[a.w]);a.j|=2;a.C=b}function O(a,b){a.j&128||(a.m=a.h=b,a.g=0)}function P(a,b,c){a.j&128||(a.m=a.h=a.l=b,a.g=c||0)}function Rb(a,b,c,d){a.j&128||(a.m=a.h=a.l=b,a.g=(c^b)&(d^b))}function Q(a,b){a.j&128||(a.m=a.h=a.l=b,a.g=a.m^a.l>>1)}function Sb(a,b,c,d){a.j&128||(a.m=a.h=a.l=b,a.g=(c^d)&(d^b))}
|
||||
function K(a,b){var c=!1;0>a.ra?a.ra=db(a):a.w||(b=4,c=!0);a.G&57344||(a.Aa=63222,a.tb=b);a.w=0;var d=a.V(b|a.ea),e=a.V(b+2&65535|a.ea);eb(a,e&-12289|a.ra>>2&12288);c&&(a.s|=4,a.f[6]=4);Tb(a,a.ra);Tb(a,a.f[7]);a.f[7]=d&65535;a.j&=-113;a.ra=-1;throw b;}function Ub(a){var b=Vb(a),c=Vb(a)&-1793;a.C&49152&&(c=c&-225|a.C&63712);a.f[7]=b&65535;eb(a,c);a.j&=-17}
|
||||
function lb(a,b){var c=b>>13&31;31>c?a.Ba&32&&(b=a.fb[c]+(b&8190)&4194302,3932160<=b&&4186112>b&&console.log("panic(898)")):b|=4186112;return b}
|
||||
function Wb(a,b,c){var d,e,f,g=0;d=b>>13;a.Ba&a.oc[a.w]||(d&=7);e=a.Sb[a.w][d];f=(a.pc[a.w][d]<<6)+(b&8191)&a.qb;f<a.Rb?f&1&&!(c&1)&&(a.s|=64,K(a,4)):(a.Ba&16||253952<=f&&(f|=4186112),4186112>f&&(3932160<=f&&(f=lb(a,f&262143)),f>=a.Rb&&4186112>f&&(a.s|=32,K(a,4))));switch(e&7){case 1:g=4096;case 2:e|=128;c&4&&(g=8192);break;case 4:g=4096;case 5:c&4&&(g=4096);case 6:e|=c&4?192:128;break;default:g=32768}32512!==(e&32520)&&(e&8?e&32512&&(b&8128)<(e>>2&8128)&&(g|=16384):(b&8128)>(e>>2&8128)&&(g|=16384));
|
||||
a.Sb[a.w][d]=e;if(4194170!==f||a.w)a.ib=a.w,a.jb=d;g&&(g&57344&&(0<=a.ra&&(g|=128),a.G&57344||(a.G=a.G|g|a.ib<<5|a.jb<<1),K(a,168)),a.G&61440||!(4191360>f||4194239<f)||(a.G|=4096,a.G&512&&(a.j|=32)));return f}function Vb(a){var b=a.V(a.f[6]|a.ea);a.f[6]=a.f[6]+2&65535;return b}function Tb(a,b){var c=a.f[6]-2&65535;a.f[6]=c;a.G&57344||(a.Aa=a.Aa<<8|246);!a.w&&c<=a.Ca&&4<c&&(c<=a.Ca-32?(a.s|=4,a.f[6]=4,K(a,4)):(a.s|=8,a.j|=4));a.Wb(c,b)}
|
||||
function Xb(a,b,c,d){var e,f,g=d&8?0:a.ea;switch(b){case 0:return K(a,4),0;case 1:return 6===c&&!a.w&&d&4&&(a.f[6]<=a.Ca||65534<=a.f[6])&&(a.f[6]<=a.Ca-32||65534<=a.f[6]?(a.s|=4,a.f[6]=4,K(a,4)):(a.s|=8,a.j|=64)),a.a-=3,7===c?a.f[c]:a.f[c]|g;case 2:f=2;e=a.f[c];7!==c&&(e|=g,6>c&&d&1&&(f=1));a.a-=3;break;case 3:f=2;e=a.f[c];7!==c&&(e|=g);e=a.V(e);e|=g;a.a-=7;break;case 4:f=-2;6>c&&d&1&&(f=-1);e=a.f[c]+f&65535;7!==c&&(e|=g);a.a-=4;break;case 5:f=-2;e=a.f[c]-2&65535;7!==c&&(e|=g);e=a.V(e)|g;a.a-=8;break;
|
||||
case 6:return e=Qb(a),e=e+a.f[c]&65535|g,a.a-=6,e;case 7:return e=Qb(a),e=e+a.f[c]&65535,e=a.V(e|a.ea)|g,a.a-=10,e}a.f[c]=a.f[c]+f&65535;!g||a.G&57344||(a.Aa=a.Aa<<8|f<<3&248|c);6==c&&!a.w&&d&4&&0>=f&&(a.f[6]<=a.Ca||65534<=a.f[6])&&(a.f[6]<=a.Ca-32?(a.s|=4,a.f[6]=4,K(a,4)):(a.s|=8,a.j|=64));return e}k.kc=function(a,b,c){return Xb(this,a,b,c)};k.lc=function(a,b,c){return Wb(this,Xb(this,a,b,c),c)};k.Na=function(a){a&1&&(this.s|=64,K(this,4));var b=this.u;return b.b[(a&b.u)>>>b.c].wc(a&b.h,a)};
|
||||
k.Yb=function(a){return this.Na(Wb(this,a,2))};k.Sa=function(a,b){a&1&&(this.s|=64,K(this,4));var c=this.u;c.b[(a&c.u)>>>c.c].Qc(a&c.h,b&65535,a)};k.Rc=function(a,b){this.Sa(Wb(this,a|65536,4),b)};function Yb(a,b,c){var d=a.b=b&7;(b=a.c=(b&56)>>3)?(d=Xb(a,b,d,2),c&65536||61440!==(a.C&61440)&&(d&=65535),a.w=a.C>>12&3,c=a.V(d|c&a.ea),a.w=a.C>>14&3):c=6!=d||(a.C>>2&12288)===(a.C&12288)?a.f[d]:a.da[a.C>>12&3];return c}
|
||||
function Zb(a,b,c,d){a.G&57344||(a.Aa=22);var e=a.b=b&7;(b=a.c=(b&56)>>3)?(e=Xb(a,b,e,4),c&65536||(e&=65535),a.w=a.C>>12&3,e=Wb(a,e|c&65536,4),a.w=a.C>>14&3,a.Sa(e,d)):6!=e||(a.C>>2&12288)===(a.C&12288)?a.f[e]=d:a.da[a.C>>12&3]=d}function $b(a,b){b>>=6;var c=a.I=b&7;(b=a.H=(b&56)>>3)?(c=a.N(b,c,3),a=Va(a.u,c)):a=a.f[c]&255;return a}function R(a,b){var c;b>>=6;var d=a.I=b&7;(b=a.H=(b&56)>>3)?c=a.Na(a.N(b,d,2)):c=a.f[d];return c}function ac(a,b){var c=a.b=b&7;b=a.c=(b&56)>>3;return Xb(a,b,c,8)}
|
||||
function bc(a,b){var c=a.b=b&7;(b=a.c=(b&56)>>3)?(c=a.N(b,c,3),a=Va(a.u,c)):a=a.f[c]&255;return a}function S(a,b){var c,d=a.b=b&7;(b=a.c=(b&56)>>3)?c=a.Na(a.N(b,d,2)):c=a.f[d];return c}function T(a,b,c,d){var e=a.b=b&7;(b=a.c=(b&56)>>3)?(e=a.Bb=a.N(b,e,7),c=d.call(a,c,Va(a.u,e)),e&1&&a.a--,a=a.u,a.b[(e&a.u)>>>a.c].wb(e&a.h,c&255,e)):a.f[e]=a.f[e]&65280|d.call(a,c,a.f[e])}function U(a,b,c,d){var e=a.b=b&7;(b=a.c=(b&56)>>3)?(e=a.N(b,e,6),a.Sa(e,d.call(a,c,a.Na(e)))):a.f[e]=d.call(a,c,a.f[e])}
|
||||
function cc(a,b,c,d){var e=a.b=b&7;(b=a.c=(b&56)>>3)?(d=a.N(b,e,5),d&1&&a.a--,a=a.u,a.b[(d&a.u)>>>a.c].wb(d&a.h,c&255,d)):a.f[e]=c?d&1?c<<24>>24&65535:a.f[e]&-256|c&255:a.f[e]&-256;return c}function dc(a,b,c){var d=a.b=b&7;(b=a.c=(b&56)>>3)?a.Sa(a.N(b,d,4),c):a.f[d]=c&65535;return c}function V(a,b,c){c&&(a.f[7]=a.f[7]+(b<<24>>23)&65535,a.a-=2);a.a-=3}
|
||||
k.dc=function(a){this.i.complete=!0;this.i.ic=!1;this.i.cc=!1;this.ha=this.a=a;do{if(this.j&&(this.j&112&&(this.j&32?K(this,168):this.j&64?K(this,4):this.j&16&&K(this,12),this.j&=-113),this.j&7))if(this.j&2){this.j&=-3;a=null;for(var b=this.Ib&224,c=this.o.length;0<=--c;){if(0<this.o[c].ka){this.o[c].ka--;this.j|=2;break}if(this.o[c].yb){if(!this.o[c].yb()){this.o.splice(c,1);continue}this.o[c].yb=null}this.o[c].Xb>b&&(b=this.o[c].Xb,a=this.o[c],this.o.splice(c,1))}b>(this.C&224)&&(this.j&4&&(this.f[7]=
|
||||
this.f[7]+2&65535,this.j&=-5),a?K(this,a.ec):K(this,160))}else this.j&1&&this.j++;this.G&57344||(this.Aa=0,this.tb=this.f[7]);this.j=this.j&7|this.C&16;this.decode(Qb(this))}while(0<this.a);return this.i.complete?this.ha-this.a:void 0===this.i.complete?0:-1};u(function(){for(var a=D(document,"pdp11","cpu"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new Nb(d);C(d,c)}});function ec(a,b){var c=b+a;Rb(this,c,a,b);return c&65535}function fc(a,b){var c=b+a;Rb(this,c<<8,a<<8,b<<8);return c&255}
|
||||
function gc(a,b){a=b<<1;Q(this,a);return a&65535}function hc(a,b){a=b<<1;Q(this,a<<8);return a&255}function ic(a,b){a=b&32768|b>>1|b<<16;Q(this,a);return a&65535}function jc(a,b){a=b&2048|b>>1|b<<8;Q(this,a<<8);return a&255}function kc(a,b){a=b&~a;O(this,a);return a}function lc(a,b){a=b&~a;O(this,a<<8);return a}function mc(a,b){a|=b;O(this,a);return a}function nc(a,b){a|=b;O(this,a<<8);return a}function oc(a,b){a=~b|65536;P(this,a);return a&65535}
|
||||
function pc(a,b){a=~b|256;P(this,a<<8);return a&255}function qc(a,b){a=b-a;this.j&128||(this.m=this.h=a,this.g=b&(b^a));return a&65535}function rc(a,b){a=b-a;var c=a<<8;b<<=8;this.j&128||(this.m=this.h=c,this.g=b&(b^c));return a&255}function sc(a,b){a=b+a;this.j&128||(this.m=this.h=a,this.g=a&(b^a));return a&65535}function tc(a,b){a=b+a;var c=a<<8;this.j&128||(this.m=this.h=c,this.g=c&(b<<8^c));return a&255}function uc(a,b){a=-b;P(this,a,a&b&32768);return a&65535}
|
||||
function vc(a,b){a=-b;P(this,a<<8,(a&b&128)<<8);return a&255}function wc(a,b){a=b<<1|this.l>>16&1;Q(this,a);return a&65535}function xc(a,b){a=b<<1|this.l>>16&1;Q(this,a<<8);return a&255}function yc(a,b){a=(this.l&65536|b)>>1|b<<16;Q(this,a);return a&65535}function zc(a,b){a=((this.l&65536)>>8|b)>>1|b<<8;Q(this,a<<8);return a&255}function Ac(a,b){var c=b-a;Sb(this,c,a,b);return c&65535}function Bc(a,b){var c=b-a;Sb(this,c<<8,a<<8,b<<8);return c&255}
|
||||
function Cc(a,b){this.j&128||(this.m=this.h=b&65280,this.g=this.l=0);return(b<<8|b>>8)&65535}function Dc(a,b){a^=b;O(this,a);return a&65535}function Ec(a){var b=S(this,a);a=a>>6&7;var c=this.f[a];c&32768&&(c|=4294901760);this.l=this.g=0;b&=63;if(b&32)b=64-b,16<b&&(b=16),this.l=c<<17-b,c>>=b;else if(b)if(16<b)this.g=c,c=0;else{this.l=c<<=b;var d=c>>15&65535;d&&65535!==d&&(this.g=32768)}this.f[a]=c&65535;this.m=this.h=c;this.a-=(this.c?6:7)+b}
|
||||
function Fc(a){var b=S(this,a);a=a>>6&7;var c=this.f[a]<<16|this.f[a|1];this.l=this.g=0;b&=63;if(b&32){b=64-b;32<b&&(b=32);var d=c>>b-1;this.l=d<<16;d>>=1;c&2147483648&&(d|=4294967295<<32-b)}else b?(d=c<<b-1,this.l=d>>15,d<<=1,32<b&&(b=32),(c>>=32-b)&&4294967295!==(c|4294967295<<b&4294967295)&&(this.g=32768)):d=c;this.f[a]=d>>16&65535;this.f[a|1]=d&65535;this.m=d>>16;this.h=d>>16|d;this.a-=(this.c?6:7)+b}function W(a){a&1&&(this.l=0);a&2&&(this.g=0);a&4&&(this.h=1);a&8&&(this.m=0);this.a-=5}
|
||||
function Gc(a){var b=S(this,a);if(b){a=a>>6&7;var c=this.f[a]<<16|this.f[a|1];this.l=this.g=0;b&32768&&(b|=-65536);var d=~~(c/b);-32768<=d&&32767>=d?(this.f[a]=d&65535,this.f[a|1]=c-d*b&65535,this.h=d>>16|d,this.m=d>>16):(this.g=32768,this.h=d>>15|d,this.m=c>>16,-1===b&&65534===this.f[a]&&(this.f[a]=this.f[a|1]=1));this.a-=53}else this.h=this.m=0,this.g=32768,this.l=65536,this.a-=7}var Hc=[0,7,7,10,7,11,9,13];function Ic(a){var b=this.a;a=ac(this,a);this.f[7]=a&65535;this.a=b-Hc[this.c]}
|
||||
var Jc=[0,14,14,17,14,18,16,20];function Kc(a){var b=this.a,c=ac(this,a);a=a>>6&7;Tb(this,this.f[a]);this.f[a]=this.f[7];this.f[7]=c&65535;this.a=b-Jc[this.c]}var Lc=[3,9,9,13,10,14,12,16,4,9,9,13,10,14,13,17],Mc=[7,13,13,17,14,18,17,21];function Nc(a){var b=S(this,a);a=a>>6&7;b&32768&&(b|=-65536);var c=this.f[a];c&32768&&(c|=-65536);b=~~(b*c);this.f[a]=b>>16&65535;this.f[a|1]=b&65535;this.j&128||(this.m=b>>16,this.h=this.m|b,this.g=0,this.l=-32768>b||32767<b?65536:0);this.a-=23}
|
||||
function Oc(){this.a-=5}function X(a){a&1&&(this.l=65536);a&2&&(this.g=32768);a&4&&(this.h=0);a&8&&(this.m=32768);this.a-=5}function Pc(a){var b=(a&448)>>6;if(this.f[b]=this.f[b]-1&65535)this.f[7]=this.f[7]-((a&63)<<1)&65535,this.a+=1;this.a-=6}function Qc(a){U(this,a,0,Cc);this.a-=this.c?9:3+(7==this.b?2:0)}function Rc(a){U(this,a,R(this,a),Dc);this.a-=this.c?9:3+(7==this.b?2:0)}function Y(){K(this,8)}function Ob(a){Sc[a>>12].call(this,a)}
|
||||
var Sc=[function(a){Tc[a>>8&15].call(this,a)},function(a){var b=R(this,a),c=this.a;O(this,dc(this,a,b));this.a=c-Lc[(this.H?8:0)+this.c]+(7!=this.b||this.c?0:2)},function(a){var b=R(this,a);a=S(this,a);Sb(this,b-a,a,b);this.a-=this.c?4+(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){O(this,R(this,a)&S(this,a));this.a-=this.c?4+(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){U(this,a,R(this,a),kc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?
|
||||
2:0)},function(a){U(this,a,R(this,a),mc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){U(this,a,R(this,a),ec);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){Uc[a>>8&15].call(this,a)},function(a){Vc[a>>8&15].call(this,a)},function(a){var b=$b(this,a);O(this,cc(this,a,b,1)<<8);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){var b=$b(this,a)<<8;a=bc(this,a)<<8;Sb(this,b-a,a,b);this.a-=this.c?4+
|
||||
(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){O(this,($b(this,a)&bc(this,a))<<8);this.a-=this.c?4+(this.I&&6<=this.b?1:0):(this.H?4:3)+(7==this.b?2:0)},function(a){T(this,a,$b(this,a),lc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){T(this,a,$b(this,a),nc);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},function(a){U(this,a,R(this,a),Ac);this.a-=this.c?9+(this.I&&6<=this.b?1:0):(this.H?5:3)+(7==this.b?2:0)},Y],Tc=[function(a){Wc[a>>
|
||||
4&15].call(this,a)},function(a){V(this,a,!0)},function(a){V(this,a,!!(this.h&65535))},function(a){V(this,a,this.h&65535?0:4)},function(a){V(this,a,!this.wa()==!(this.g&32768))},function(a){V(this,a,!this.wa()!=!(this.g&32768))},function(a){V(this,a,!!(this.h&65535)&&!this.wa()==!(this.g&32768))},function(a){V(this,a,(this.h&65535?0:4)||!this.wa()!=!(this.g&32768))},Kc,Kc,function(a){Xc[a>>6&3].call(this,a)},function(a){Yc[a>>6&3].call(this,a)},function(a){Zc[a>>6&3].call(this,a)},function(a){$c[a>>
|
||||
6&3].call(this,a)},Y,Y],Xc=[function(a){P(this,dc(this,a,0));this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,oc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,1,sc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,1,qc);this.a-=this.c?9:3+(7==this.b?2:0)}],Yc=[function(a){U(this,a,0,uc);this.a-=this.c?11:6},function(a){U(this,a,N(this)?1:0,ec);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,N(this)?1:0,Ac);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){a=S(this,
|
||||
a);P(this,a);this.a-=this.c?4:3+(7==this.b?2:0)}],Zc=[function(a){U(this,a,0,yc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,wc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,ic);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){U(this,a,0,gc);this.a-=this.c?9:3+(7==this.b?2:0)}],$c=[function(a){a=this.f[7]+((a&63)<<1)&65535;var b=this.Yb(a|65536);this.f[7]=this.f[5]&65535;this.f[6]=a+2&65535;this.f[5]=b;this.a-=8},function(a){a=Yb(this,a,0);Tb(this,a);O(this,a);this.a-=
|
||||
11},function(a){var b=Vb(this),c=this.a;Zb(this,a,0,b);O(this,b);this.a=c-Mc[this.c]},function(a){O(this,dc(this,a,this.wa?65535:0));this.a-=this.c?9:3+(7==this.b?2:0)}],Wc=[function(a){ad[a&15].call(this,a)},Y,Y,Y,Ic,Ic,Ic,Ic,function(a){if(a&8)K(this,8);else{var b=Vb(this);a&=7;this.f[7]=this.f[a]&65535;this.f[a]=b;this.a-=9}},function(a){a&8?(this.C&49152||(this.C=this.C&-2017|(a&7)<<5,this.j|=1),this.a-=5):K(this,8)},function(a){bd[a&15].call(this,a)},function(a){cd[a&15].call(this,a)},Qc,Qc,
|
||||
Qc,Qc],ad=[function(){this.C&49152?(this.s|=128,K(this,4)):L(this);this.a-=7},function(){this.j|=4;this.f[7]=this.f[7]+-2&65535;this.a-=3},function(){Ub(this);this.j|=this.C&16;this.a-=13},function(){K(this,12);this.a-=5},function(){K(this,16);this.a-=25},function(){this.C&49152||(Pb(this),this.u.reset());this.a-=667},function(){Ub(this);this.a-=13},Y,Y,Y,Y,Y,Y,Y,Y,Y],bd=[Oc,function(){this.l=0;this.a-=5},function(){this.g=0;this.a-=5},W,function(){this.h=1;this.a-=5},W,W,W,function(){this.m=0;this.a-=
|
||||
5},W,W,W,W,W,W,W],cd=[Oc,function(){this.l=65536;this.a-=5},function(){this.g=32768;this.a-=5},X,function(){this.h=0;this.a-=5},X,X,X,function(){this.m=32768;this.a-=5},X,X,X,X,X,X,X],Uc=[Nc,Nc,Gc,Gc,Ec,Ec,Fc,Fc,Rc,Rc,Y,Y,Y,Y,Pc,Pc],Vc=[function(a){V(this,a,!this.wa())},function(a){V(this,a,this.wa())},function(a){V(this,a,!N(this)&&!!(this.h&65535))},function(a){V(this,a,N(this)||(this.h&65535?0:4))},function(a){V(this,a,!(this.g&32768))},function(a){V(this,a,this.g&32768?2:0)},function(a){V(this,
|
||||
a,!N(this))},function(a){V(this,a,N(this))},function(){K(this,24);this.a-=25},function(){K(this,28);this.a-=5},function(a){dd[a>>6&3].call(this,a)},function(a){ed[a>>6&3].call(this,a)},function(a){fd[a>>6&3].call(this,a)},function(a){gd[a>>6&3].call(this,a)},Y,Y],dd=[function(a){P(this,cc(this,a,0));this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,0,pc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,1,tc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,1,rc);this.a-=this.c?
|
||||
9:3+(7==this.b?2:0)}],ed=[function(a){T(this,a,0,vc);this.a-=this.c?11:6},function(a){T(this,a,N(this)?1:0,fc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,N(this)?1:0,Bc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){a=bc(this,a);P(this,a<<8);this.a-=this.c?4:3+(7==this.b?2:0)}],fd=[function(a){T(this,a,0,zc);this.a-=this.c?9+(this.Bb&1):3+(7==this.b?2:0)},function(a){T(this,a,0,xc);this.a-=this.c?9:3+(7==this.b?2:0)},function(a){T(this,a,0,jc);this.a-=this.c?9+(this.Bb&1):3+(7==this.b?
|
||||
2:0)},function(a){T(this,a,0,hc);this.a-=this.c?9:3+(7==this.b?2:0)}],gd=[Y,function(a){a=Yb(this,a,65536);Tb(this,a);O(this,a);this.a-=11},function(a){var b=Vb(this),c=this.a;Zb(this,a,65536,b);O(this,b);this.a=c-Mc[this.c]},Y];
|
||||
function hd(a){v.call(this,"ROM",a,hd);this.b=null;this.m=a.addr;this.c=a.size;this.o=a.writable;this.g=a.alias;this.h=a.file;this.B=ba(this.h);if(this.h){a=this.h;var b=ca(this.B);"json"!=b&&"hex"!=b&&(a=ea()+"/api/v1/dump?file="+this.h+"&format=bytes&decimal=true");var c=this;p(a,null,!0,function(a,b,f){id(c,a,b,f)})}}y(hd);hd.prototype.xa=function(a,b,c,d){this.u=b;this.a=c;this.K=d;jd(this)};hd.prototype.na=function(){this.l&&(this.K&&this.K.a(this.id,this.m,this.c,this.l),delete this.l);return!0};
|
||||
hd.prototype.ma=function(){return!0};
|
||||
function id(a,b,c,d){if(d)a.O("Unable to load system ROM (error "+d+": "+b+")");else{Fa(a.Cb,b,c);var e;if("["==c.charAt(0)||"{"==c.charAt(0))try{var f,g,h=eval("("+c+")");if(f=h.bytes)a.b=f;else if(f=h.words)for(a.b=Array(2*f.length),g=e=0;e<f.length;e++)a.b[g++]=f[e]&255,a.b[g++]=f[e]>>8&255;else if(f=h.data)for(a.b=Array(4*f.length),g=e=0;e<f.length;e++)a.b[g++]=f[e]&255,a.b[g++]=f[e]>>8&255,a.b[g++]=f[e]>>16&255,a.b[g++]=f[e]>>24&255;else a.b=h;a.l=h.symbols;if(!a.b.length){r("Empty ROM: "+b);
|
||||
return}if(1==a.b.length){r(a.b[0]);return}}catch(l){a.O("ROM data error: "+l.message);return}else for(b=c.replace(/\n/gm," ").replace(/ +$/,"").split(" "),a.b=Array(b.length),e=0;e<b.length;e++)a.b[e]=aa(b[e]);jd(a)}}
|
||||
function jd(a){if(!Ha(a))if(!a.h)F(a);else if(a.b&&a.u){a.c||(a.c=a.b.length);if(a.b.length!=a.c){var b="ROM size ("+n(a.b.length,8,!0)+") does not match specified size ("+n(a.c,8,!0)+")";a.i.error=!0;a.O(b)}else{b=a.m;if(Ra(a.u,b,a.c,a.o?1:sb)){var c;for(c=0;c<a.b.length;c++){var d=a.u,e=b+c;d.b[(e&d.u)>>>d.c].fc(e&d.h,a.b[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.g?b.push(a.g):null!=a.g&&a.g.length&&(b=a.g);for(c=0;c<b.length;c++){for(var f=a,d=b[c],e=f.u,g=f.c,h=[],l=f.m>>>e.c;0<g&&
|
||||
l<e.b.length;)h.push(e.b[l++]),g-=e.g;e=f.u;f=f.c;g=0;for(d>>>=e.c;0<f&&d<e.b.length;){l=h[g++];if(!l)break;e.b[d++]=l;f-=e.g}}delete a.b}}F(a)}}u(function(){for(var a=D(document,"pdp11","rom"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new hd(d);C(d,c)}});function kd(a){v.call(this,"RAM",a,kd);this.g=a.addr;this.c=a.size;this.b=!1}y(kd);k=kd.prototype;k.xa=function(a,b,c,d){this.u=b;this.a=c;this.K=d;F(this)};k.na=function(a,b){b||this.reset();return!0};k.ma=function(a){return a?this.save():!0};
|
||||
k.reset=function(){!this.b&&this.c&&Ra(this.u,this.g,this.c,1)&&(this.b=!0);this.b||r("No RAM allocated")};k.save=function(){return null};k.restore=function(){return!0};u(function(){for(var a=D(document,"pdp11","ram"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new kd(d);C(d,c)}});function ld(a){v.call(this,"Keyboard",a,ld);F(this)}y(ld);ld.prototype.X=function(){return!1};ld.prototype.xa=function(a,b,c,d){this.B=a;this.a=c;this.K=d;this.Fa=null};
|
||||
u(function(){for(var a=D(document,"pdp11","keyboard"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new ld(d);C(d,c)}});function Z(a){this.g=this.l=null;this.M=a.tabSize;this.G=a.charBOL;this.m=0;v.call(this,"SerialPort",a,Z);var b=a.binding;if("console"==b)this.l="";else{var c;a=md;b&&(void 0===c&&(c="Panel"),(c=A(c,this.id))&&(b=c.A[b])&&this.X(null,a,b))}this.o=this.w=null;this.exports={connect:this.Qb,receiveData:this.Hb}}y(Z);var md="buffer";k=Z.prototype;
|
||||
k.X=function(a,b,c){var d=this;switch(b){case md:return this.A[b]=this.g=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;if(8===b||a.ctrlKey&&65<=b&&90>=b)a.preventDefault&&a.preventDefault(),64<b&&(b-=64),d.Hb(b);return!0},c.onkeypress=function(a){a=a||window.event;d.Hb(a.which||a.keyCode);a.preventDefault&&a.preventDefault();return!0},c.removeAttribute("readonly"),!0}return!1};
|
||||
k.xa=function(a,b,c,d){this.B=a;this.u=b;this.a=c;this.K=d;var e=this;this.N=$a(this.a,function(){e.b&128||!e.h.length||(e.I=e.h.shift(),e.b|=128,e.b&64&&I(e.a,40,4,48))});this.H=function(){e.c|=128;return!!(e.c&64)};Xa(b,this,nd);F(this)};
|
||||
k.Qb=function(){if(!this.o){var a=Db(this.B,"connection");if(a){var b=a.split("->");if(2==b.length){var c=ha(b[0]);if(c!=this.hb)return;b=ha(b[1]);if(this.o=Ga(b)){var d=this.o.exports;if(d){var e=d.connect;e&&e.call(this.o);if(this.w=d.receiveData){this.status(this.Cb+"."+c+" connected to "+b);return}}}}this.status("Unable to establish connection: "+a)}}};k.na=function(a,b){if(!b)if(this.Qb(),!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};
|
||||
k.ma=function(a){return a?this.save():!0};k.reset=function(){od(this)};k.save=function(){var a=new M(this);a.set(0,[]);return a.data()};k.restore=function(){return od(this)};function od(a){a.I=0;a.b=0;a.c=128;a.h=[];return!0}k.Hb=function(a){if("number"==typeof a)this.h.push(a);else if("string"==typeof a)for(var b=0;b<a.length;b++)this.h.push(a.charCodeAt(b));else this.h=this.h.concat(a);ab(this.a,this.N,50);return!0};k.vc=function(){return this.b&65535};k.Pc=function(a){this.b=this.b&-112|a&111};
|
||||
k.uc=function(){this.b&=-129;0<this.h.length&&ab(this.a,this.N,50);return this.I};k.Oc=function(){};k.yc=function(){return this.c};k.Tc=function(a){128==(this.c&192)&&a&64&&I(this.a,8,4,52,this.H);this.c=this.c&-70|a&69};k.xc=function(){return 0};
|
||||
k.Sc=function(a){if(a&=255){this.w&&this.w.call(this.o,a);if(this.g)if(13==a)this.m=0;else if(8==a)this.g.value=this.g.value.slice(0,-1),0<this.m&&this.m--;else{var b;b=(b=ia[a])?"<"+b+">":String.fromCharCode(a);var c=b.length;32>a&&1==c&&(c=0);9==a&&(a=this.M||8,c=a-this.m%a,this.M&&(b=" ".slice(0,c)));this.G&&!this.m&&c&&(b=String.fromCharCode(this.G)+b);this.g.value+=b;this.g.scrollTop=this.g.scrollHeight;this.m+=c}else if(null!=this.l){if(10==a||1024<=this.l.length)this.T(this.l),
|
||||
this.l="";10!=a&&(this.l+=String.fromCharCode(a))}this.c&=-129;I(this.a,100,4,52,this.H)}};var pd={},nd=(pd[65392]=[null,null,Z.prototype.vc,Z.prototype.Pc,"RCSR"],pd[65394]=[null,null,Z.prototype.uc,Z.prototype.Oc,"RBUF"],pd[65396]=[null,null,Z.prototype.yc,Z.prototype.Tc,"XCSR"],pd[65398]=[null,null,Z.prototype.xc,Z.prototype.Sc,"XBUF"],pd);u(function(){for(var a=D(document,"pdp11","serial"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new Z(d);C(d,c)}});
|
||||
function qd(a,b,c){v.call(this,"Computer",a,qd);this.i.P=!1;rd(this,b);this.G=Db(this,"autoPower",a);this.g=0;this.V=a.busWidth||a.buswidth;this.b=sd;this.B=null;this.m=this.M=!1;this.url=Db(this,"url")||"";(Math.random()+.1).toString(36);this.c=td(this);if(this.a=A("CPU",this.id)){this.K=A("Debugger",this.id);this.u=new La({id:this.Cb+".bus",busWidth:this.V},this.a,this.K);var d,e=z(this.id);if((this.h=A("Panel",this.id))&&this.h.zb)for(b=0;b<e.length;b++)d=e[b],d.O=this.h.O,d.T=this.h.T,d.zb=this.h.zb;
|
||||
this.T("PDPjs v1.30.1\nCopyright \u00a9 2012-2016 Jeff Parsons <Jeff@pcjs.org>\nLicense: GPL version 3 or later <http://gnu.org/licenses/gpl.html>");this.T("Portions adapted from the PDP-11/70 Emulator v1.3 by Paul Nankervis <paulnank@hotmail.com>");for(b=0;b<e.length;b++)d=e[b],d.xa&&d.xa(this,this.u,this.a,this.K);b=null;d=a.resume;void 0!==d&&(1<d.length?b=this.o=d:this.b=parseInt(d,10));var f;if(a=Db(this,"state")||(f=!0,a.state))b=this.H=a,f||(this.m=!0,this.b=sd),this.b&&(this.w=new M(this,
|
||||
"1.30.1"),ud(this.w)?b=null:delete this.w);!b&&this.b&&(b=vd(this))&&(this.m=!0);if(b){var g=this;p(b,null,!0,function(a,b,c){c?(g.o=null,g.m=!1,g.O("Unable to load machine state from server (error "+c+(b?": "+ha(b):"")+")")):(g.B=b,g.M=!0);F(g)})}else F(this);this.A.power||(this.G=!0);!c&&this.G&&wd(this,this.ab)}else r("Unable to find CPU component")}y(qd);var sd=0;
|
||||
function rd(a,b){if(!b){var c;if("object"==typeof resources&&(c=resources.parms))try{b=eval("("+c+")")}catch(d){r(d.message+" ("+c+")")}}a.N=b}function Db(a,b,c){var d=b.toLowerCase(),d=za[b]||za[d];void 0===d&&a.N&&(d=a.N[b]);void 0===d&&c&&(d=c[b]);void 0===d&&"object"==typeof resources&&resources[b]&&(d=b);return d}function wd(a,b,c){for(var d=z(a.id),e=0;e<=d.length;e++){var f=e<d.length?d[e]:a;if(!Ha(f)){Ha(f,function(){wd(a,b,c)});return}}b.call(a,c)}
|
||||
function xd(a,b){var c=new M(a,"1.30.1","validate");if(ud(c)&&yd(c)){var d=c.get("timestamp"),e=b?b.get("timestamp"):"unknown";d!=e&&(a.O("Machine state may be out-of-date\n("+d+" vs. "+e+")\nCheck your browser's local storage limits"),b||c.clear())}}k=qd.prototype;
|
||||
k.ab=function(a){void 0===a&&(a=this.b||(this.B?1:sd));if(!this.g){this.g++;var b=!1,c=!1;this.I=!1;var d=this.w||new M(this,"1.30.1");if(-1==a)b=!0;else if(a>sd){if(ud(d,this.B)){this.l=new M(this,"1.30.1","failsafe");ud(this.l)&&(zd(this,d),a=2,Ad(this.l));this.l.set("timestamp",ka());Bd(this.l);var e=this.b&&!this.m;if(1==a||la("Click OK to restore the previous PDPjs machine state, or CANCEL to reset the machine.")){if(c=yd(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?ud(d,g):("error"==
|
||||
f&&"no machine state"!=g?(this.O("Error: "+g),"unable to verify user"==g&&(pa("user",""),this.c=null)):this.T(f+": "+g),Ad(d),ud(d)?(c=yd(d),e=!0):c=!1))}e&&xd(this,c?d:null)}else 2==a&&d.clear()}else xd(this);delete this.B;delete this.w}e=z(this.id);for(f=0;f<e.length;f++)g=e[f],g!==this&&g!=this.a&&(c=Cd(this,g,d,b,c));b=[d,a,c];-1!=a?wd(this,this.Mb,b):this.Mb(b)}};
|
||||
function Cd(a,b,c,d,e){if(!b.i.P){b.i.P=!0;if(b.na){var f=null;e&&((f=c.get(b.id))||(f=c.get(b.id.replace(/[a-z0-9]\./i,"."))));"string"===typeof f&&(f=null);!b.na(f,d)&&f&&(r("Unable to restore state for "+b.type),a.H&&!a.M?(c.clear(),a.b=sd,window&&window.location.reload()):a.I=!0,b.na(null),e=!1)}if(!d&&b.Pb)for(a=b.Pb.split("|"),c=0;c<a.length;c++)b.status(a[c])}return e}
|
||||
k.Mb=function(a){var b=a[0],c=0>a[1];a=a[2];this.Y=!0;this.i.P=!0;var d=this.A.power;d&&(d.textContent="Shutdown");this.a&&(Cd(this,this.a,b,c,a),this.a.Ya());this.I&&(zd(this,b),b.clear());!c&&this.l&&(this.l.clear(),delete this.l);this.g=0};
|
||||
function zd(a,b){if(la("There may be a problem with your PDPjs machine.\n\nTo help us diagnose it, click OK to send this PDPjs machine state to http://www.pcjs.org.")){var c=a.c||"";b=b.toString();var d={app:"PDPjs",ver:"1.30.1"};d.url=a.url;d.user=c;d.type="bug";d.data=b;p("http://www.pcjs.org/api/v1/report",d,!0)}}
|
||||
function Dd(a,b,c){var d,e="none";if(a.g)return null;a.g--;var f=new M(a,"1.30.1"),g=new M(a,"1.30.1","validate"),h=ka();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.30.1");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.a&&a.a.ma&&(c&&L(a.a),d=a.a.ma(b,c),"object"===typeof d&&f.set(a.a.id,d),c&&(a.a.i.P=!1,!1===d&&(e=null)));for(var h=z(a.id),l=0;l<h.length;l++){var m=h[l];m.i.P&&(m.ma&&(d=m.ma(b,c),"object"===typeof d&&f.set(m.id,
|
||||
d)),c&&(m.i.P=!1,!1===d&&(e=null)))}e&&(c?(h=d=!1,b?(a.c&&Ed(a,a.c,f.toString()),Bd(g)&&Bd(f)||(e=null,d=h=!0)):a.b&&(d=!0,h=3==a.b),d&&f.clear(h)):e=f.toString());c&&(a.i.P=!1,b=a.A.power)&&(b.textContent="Power");a.g=0;return e}k.reset=function(){this.u&&this.u.reset&&this.u.reset();for(var a=z(this.id),b=0;b<a.length;b++){var c=a[b];c!==this&&c!==this.u&&c.reset&&c.reset()}};k.start=function(a,b){for(var c=z(this.id),d=0;d<c.length;d++){var e=c[d];"CPU"!=e.type&&e!==this&&e.start&&e.start(a,b)}};
|
||||
k.stop=function(a,b){for(var c=z(this.id),d=0;d<c.length;d++){var e=c[d];"CPU"!=e.type&&e!==this&&e.stop&&e.stop(a,b)}};
|
||||
k.Y=function(a,b,c){var d=this;switch(b){case "power":return this.A[b]=c,c.onclick=function(){d.g||(d.i.P?Gd(d,!1,!0):zd(d,d.Xa))},!0;case "reset":return this.A[b]=c,c.onclick=function(){if(d.i.P&&!d.g)if(d.b&&!d.o){var a=la("Click OK to save changes to this PDPjs machine.\n\nWARNING: If you CANCEL, all disk changes will be discarded.");Gd(d,a,!0);!a&&d.H?window&&window.location.reload():d.Xa(vd)}else d.reset(),d.a&&d.a.Ua()},!0;case "save":if(da())c.parentNode.removeChild(c);else return this.A[b]=
|
||||
c,c.onclick=function(){var a=wd(d,!0);if(a){var b=!!(d.b&&!d.o||d.H),c=Gd(d,b);b?Hd(d,a,c):d.O("Resume disabled, machine state not saved")}},!0}return!1};
|
||||
function wd(a,b){var c=a.c;c||((c=oa("user"),void 0!==c)?!c&&b&&(b=null,window&&(b=window.prompt("Saving machine states on the pcjs.org server is currently unsupported.\n\nIf you're running your own server, enter your user ID below.","")),c=b)&&((c=Id(a,c))||a.O("The user ID is invalid.")):b&&a.O("Browser local storage is not available"));return c}
|
||||
function Id(a,b){a.c=null;b=p(ea()+"/api/v1/user?req=verify&user="+b);var c=b[1];if(!b[0]&&c)try{b=eval("("+c+")"),b.code&&"ok"==b.code&&(pa("user",b.data),a.c=b.data)}catch(d){r(d.message+" ("+c+")")}return a.c}function yd(a){var b=null;a.c&&(b=ea()+"/api/v1/user?req=load&user="+a.c+"&state="+Jd(a,"1.30.1"));return b}
|
||||
function Hd(a,b,c){if(c){var d={req:"store"};d.user=b;d.state=Jd(a,"1.30.1");d.data=c;b=p(ea()+"/api/v1/user",d);d=b[0];if(b[1]){if(d){var e=d.indexOf("\n");0<e&&(d=d.substr(0,e));d.indexOf("Error: ")||(d=d.substr(7))}d='{"code":'+b[1]+',"data":"'+d+'"}'}b=JSON.parse(d);b&&"ok"==b.code?a.O("Machine state saved to server"):c&&(c=b&&b.data||"unable to save machine state",c="error"==b.code?"Error: "+c:"Error "+b.code+": "+c,a.O(c),pa("user",""),a.c=null)}}
|
||||
k.Qa=function(a){this.a&&this.a.Qa(a);this.h&&this.h.Qa(a)};u(function(){for(var a=D(document,"pdp11-machine"),b=0;b<a.length;b++)for(var c=a[b],d=B(c),c=D(c,"pdp11","computer"),e=0;e<c.length;e++){var f=c[e],g=B(f),g=new td(g,d,!0);C(g,f);g.G&&zd(g,g.Xa)}});t.show.push(function(){for(var a=D(document,"pdp11","computer"),b=0;b<a.length;b++){var c=B(a[b]);(c=A("Computer",c.id))&&c.Z&&!c.i.P&&c.Xa(-1)}});
|
||||
t.exit.push(function(){for(var a=D(document,"pdp11","computer"),b=0;b<a.length;b++){var c=B(a[b]);(c=A("Computer",c.id))&&c.i.P&&Gd(c,!(!c.b||c.o),!0)}});function L(a,b,c){this.id=a.id;this.key=Jd(a,b,c);this.K=a.K;Dd(this,a.fc)}function Jd(a,b,c){a=a.id;if(b){var d=b.indexOf(".");0<d&&(a+=".v"+b.substr(0,d))}c&&(a+="."+c);return a}
|
||||
L.prototype={constructor:L,set:function(a,b){try{this[this.id][a]=b}catch(c){}},get:function(a){return this[this.id][a]||null},value:function(){return this[this.id]},data:function(){return this[this.id]},toString:function(){var a=this[this.id];return"string"==typeof a?a:JSON.stringify(a)},clear:function(a){Dd(this);var b=[];try{for(var c=0,d=window.localStorage.length;c<d;c++)b.push(window.localStorage.key(c))}catch(e){}for(c=0;c<b.length;c++)if((d=b[c])&&(a||d.substr(0,this.key.length)==this.key)){try{window.localStorage.removeItem(d)}catch(e){}b.splice(c,
|
||||
1);c=0}}};function Dd(a,b){a[a.id]={};b&&a.set("parms",b);a.a=!1}function Ed(a){var b=!0;if(na()){var c=JSON.stringify(a[a.id]);pa(a.key,c)||(r("Unable to store "+c.length+" bytes in browser local storage"),b=!1)}return b}function Bd(a){var b=!0;try{a[a.id]=JSON.parse(a[a.id])}catch(c){r(c.message||c),b=!1}return b}function xd(a,b){return b?(a[a.id]=b,a.a=!0):a.a?!0:na()&&(b=oa(a.key))?(a[a.id]=b,a.a=!0):!1}var Kd=0;
|
||||
function Ld(a,b,c,d,e,f){e("Loading "+a+"...");p(a,null,!0,function(g,h,l){l?(h||(h="unable to load "+a+" ("+l+")"),f(h,null)):Md(h,a,b,c,d,e,f)})}
|
||||
function Md(a,b,c,d,e,f,g){function h(a,f){if(f)g(f,null);else{c&&(Fa(c,b,a),(f=b)&&0>f.indexOf("/")&&"/"==window.location.pathname.slice(-1)&&(f=window.location.pathname+f),d?"}"==d.slice(-1)?(d=d.slice(0,-1),1<d.length&&(d+=",")):d='{state:"'+d+'",':d="{",d+='url:"'+f+'"}',"object"==typeof resources&&(f=null),a=a.replace(/(<machine[^>]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" parms='"+d+"'":"")+(f?' url="'+f+'"':"")));e||(a=a.replace(/(<xsl:variable name="APPNAME">).*?(<\/xsl:variable>)/,"$1PDPjs$2"),
|
||||
a=a.replace(/(<xsl:variable name="APPCLASS">).*?(<\/xsl:variable>)/,"$1pdp11$2"));f=null;if("<"==a.charAt(0))try{e||(a=a.replace(/<!DOCTYPE(.|[\r\n])*]>\s*/g,"")),window.ActiveXObject||"ActiveXObject"in window?(f=new window.ActiveXObject("Microsoft.XMLDOM"),f.async=!1,f.loadXML(a)):f=(new window.DOMParser).parseFromString(a,"text/xml")}catch(q){f=null,a=q.message}else a="unrecognized XML: "+(255<a.length?a.substr(0,255)+"...":a);g(a,f)}}a?e?Nd(a,f,h):h(a,null):g("no data"+(b?" for file: "+b:""),null)}
|
||||
function Nd(a,b,c){var d;if(d=/<([a-z]+)\s+ref="(.*?)"(.*?)\/>/g.exec(a)){var e=d[2];b("Loading "+e+"...");p(e,null,!0,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var l=h[0],m,q=/( [a-z]+=)(['"])(.*?)\2/g;m=q.exec(f);)l=0>l.indexOf(m[1])?l.replace(">",m[0]+">"):l.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);h[0]!=l&&(g=g.replace(h[0],l))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/,
|
||||
"");a=a.replace(d[0],g);Nd(a,b,c)}})}else c(a,null)}
|
||||
function Od(a,b,c,d){function e(a){if(void 0===h){var b=g&&D(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ga(a))}function f(a){e("Error: "+a);l&&(--Kd||wa(!0));l=!1}var g,h,l=!0;Kd++;Ea[a]={};try{if(g=document.getElementById(a)){var m;if("object"==typeof resources&&(m=resources.css)){var q=document.head||document.getElementsByTagName("head")[0],w=document.createElement("style");w.type="text/css";w.styleSheet?w.styleSheet.cssText=m:w.appendChild(document.createTextNode(m));q.appendChild(w)}c||
|
||||
(c="/versions/pdp11/1.30.1/components.xsl");m=function(d,h){h?Ld(c,null,null,!1,e,function(d,l){l?(Fa(a,c,d),e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window?(l=h.transformNode(l))?(g.outerHTML=l,--Kd||wa(!0)):f("transformNodeToObject failed"):document.implementation&&document.implementation.createDocument?(d=new XSLTProcessor,d.importStylesheet(l),(l=d.transformToFragment(h,document))?g.parentNode?(g.parentNode.replaceChild(l,g),--Kd||wa(!0)):f("invalid machine element: "+
|
||||
a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser")):f(d)}):f(d)};"<"!=b.charAt(0)?Ld(b,a,d,!0,e,m):Md(b,null,a,d,!1,e,m)}else f("missing machine element: "+a)}catch(E){f(E.message)}return l}window.embedPDP11=function(a,b,c,d){wa(!1);return Od(a,b,c,d)};window.enableEvents=wa;window.sendEvent=xa;})();
|
||||
k.X=function(a,b,c){var d=this;switch(b){case "power":return this.A[b]=c,c.onclick=function(){d.g||(d.i.P?Dd(d,!1,!0):wd(d,d.ab))},!0;case "reset":return this.A[b]=c,c.onclick=function(){if(d.i.P&&!d.g)if(d.b&&!d.o){var a=la("Click OK to save changes to this PDPjs machine.\n\nWARNING: If you CANCEL, all disk changes will be discarded.");Dd(d,a,!0);!a&&d.H?window&&window.location.reload():d.ab(sd)}else d.reset(),d.a&&d.a.Ya()},!0;case "save":if(da())c.parentNode.removeChild(c);else return this.A[b]=
|
||||
c,c.onclick=function(){var a=td(d,!0);if(a){var b=!!(d.b&&!d.o||d.H),c=Dd(d,b);b?Ed(d,a,c):d.O("Resume disabled, machine state not saved")}},!0}return!1};
|
||||
function td(a,b){var c=a.c;c||((c=oa("user"),void 0!==c)?!c&&b&&(b=null,window&&(b=window.prompt("Saving machine states on the pcjs.org server is currently unsupported.\n\nIf you're running your own server, enter your user ID below.","")),c=b)&&((c=Fd(a,c))||a.O("The user ID is invalid.")):b&&a.O("Browser local storage is not available"));return c}
|
||||
function Fd(a,b){a.c=null;b=p(ea()+"/api/v1/user?req=verify&user="+b);var c=b[1];if(!b[0]&&c)try{b=eval("("+c+")"),b.code&&"ok"==b.code&&(pa("user",b.data),a.c=b.data)}catch(d){r(d.message+" ("+c+")")}return a.c}function vd(a){var b=null;a.c&&(b=ea()+"/api/v1/user?req=load&user="+a.c+"&state="+Gd(a,"1.30.1"));return b}
|
||||
function Ed(a,b,c){if(c){var d={req:"store"};d.user=b;d.state=Gd(a,"1.30.1");d.data=c;b=p(ea()+"/api/v1/user",d);d=b[0];if(b[1]){if(d){var e=d.indexOf("\n");0<e&&(d=d.substr(0,e));d.indexOf("Error: ")||(d=d.substr(7))}d='{"code":'+b[1]+',"data":"'+d+'"}'}b=JSON.parse(d);b&&"ok"==b.code?a.O("Machine state saved to server"):c&&(c=b&&b.data||"unable to save machine state",c="error"==b.code?"Error: "+c:"Error "+b.code+": "+c,a.O(c),pa("user",""),a.c=null)}}
|
||||
k.Ra=function(a){this.a&&this.a.Ra(a);this.h&&this.h.Ra(a)};u(function(){for(var a=D(document,"pdp11-machine"),b=0;b<a.length;b++)for(var c=a[b],d=B(c),c=D(c,"pdp11","computer"),e=0;e<c.length;e++){var f=c[e],g=B(f),g=new qd(g,d,!0);C(g,f);g.G&&wd(g,g.ab)}});t.show.push(function(){for(var a=D(document,"pdp11","computer"),b=0;b<a.length;b++){var c=B(a[b]);(c=A("Computer",c.id))&&c.Y&&!c.i.P&&c.ab(-1)}});
|
||||
t.exit.push(function(){for(var a=D(document,"pdp11","computer"),b=0;b<a.length;b++){var c=B(a[b]);(c=A("Computer",c.id))&&c.i.P&&Dd(c,!(!c.b||c.o),!0)}});function M(a,b,c){this.id=a.id;this.key=Gd(a,b,c);this.K=a.K;Ad(this,a.qc)}function Gd(a,b,c){a=a.id;if(b){var d=b.indexOf(".");0<d&&(a+=".v"+b.substr(0,d))}c&&(a+="."+c);return a}
|
||||
M.prototype={constructor:M,set:function(a,b){try{this[this.id][a]=b}catch(c){}},get:function(a){return this[this.id][a]||null},value:function(){return this[this.id]},data:function(){return this[this.id]},toString:function(){var a=this[this.id];return"string"==typeof a?a:JSON.stringify(a)},clear:function(a){Ad(this);var b=[];try{for(var c=0,d=window.localStorage.length;c<d;c++)b.push(window.localStorage.key(c))}catch(e){}for(c=0;c<b.length;c++)if((d=b[c])&&(a||d.substr(0,this.key.length)==this.key)){try{window.localStorage.removeItem(d)}catch(e){}b.splice(c,
|
||||
1);c=0}}};function Ad(a,b){a[a.id]={};b&&a.set("parms",b);a.a=!1}function Bd(a){var b=!0;if(na()){var c=JSON.stringify(a[a.id]);pa(a.key,c)||(r("Unable to store "+c.length+" bytes in browser local storage"),b=!1)}return b}function yd(a){var b=!0;try{a[a.id]=JSON.parse(a[a.id])}catch(c){r(c.message||c),b=!1}return b}function ud(a,b){return b?(a[a.id]=b,a.a=!0):a.a?!0:na()&&(b=oa(a.key))?(a[a.id]=b,a.a=!0):!1}var Hd=0;
|
||||
function Id(a,b,c,d,e,f){e("Loading "+a+"...");p(a,null,!0,function(g,h,l){l?(h||(h="unable to load "+a+" ("+l+")"),f(h,null)):Jd(h,a,b,c,d,e,f)})}
|
||||
function Jd(a,b,c,d,e,f,g){function h(a,f){if(f)g(f,null);else{c&&(Fa(c,b,a),(f=b)&&0>f.indexOf("/")&&"/"==window.location.pathname.slice(-1)&&(f=window.location.pathname+f),d?"}"==d.slice(-1)?(d=d.slice(0,-1),1<d.length&&(d+=",")):d='{state:"'+d+'",':d="{",d+='url:"'+f+'"}',"object"==typeof resources&&(f=null),a=a.replace(/(<machine[^>]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" parms='"+d+"'":"")+(f?' url="'+f+'"':"")));e||(a=a.replace(/(<xsl:variable name="APPNAME">).*?(<\/xsl:variable>)/,"$1PDPjs$2"),
|
||||
a=a.replace(/(<xsl:variable name="APPCLASS">).*?(<\/xsl:variable>)/,"$1pdp11$2"));f=null;if("<"==a.charAt(0))try{e||(a=a.replace(/<!DOCTYPE(.|[\r\n])*]>\s*/g,"")),window.ActiveXObject||"ActiveXObject"in window?(f=new window.ActiveXObject("Microsoft.XMLDOM"),f.async=!1,f.loadXML(a)):f=(new window.DOMParser).parseFromString(a,"text/xml")}catch(q){f=null,a=q.message}else a="unrecognized XML: "+(255<a.length?a.substr(0,255)+"...":a);g(a,f)}}a?e?Kd(a,f,h):h(a,null):g("no data"+(b?" for file: "+b:""),null)}
|
||||
function Kd(a,b,c){var d;if(d=/<([a-z]+)\s+ref="(.*?)"(.*?)\/>/g.exec(a)){var e=d[2];b("Loading "+e+"...");p(e,null,!0,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var l=h[0],m,q=/( [a-z]+=)(['"])(.*?)\2/g;m=q.exec(f);)l=0>l.indexOf(m[1])?l.replace(">",m[0]+">"):l.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);h[0]!=l&&(g=g.replace(h[0],l))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/,
|
||||
"");a=a.replace(d[0],g);Kd(a,b,c)}})}else c(a,null)}
|
||||
function Ld(a,b,c,d){function e(a){if(void 0===h){var b=g&&D(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ga(a))}function f(a){e("Error: "+a);l&&(--Hd||wa(!0));l=!1}var g,h,l=!0;Hd++;Ea[a]={};try{if(g=document.getElementById(a)){var m;if("object"==typeof resources&&(m=resources.css)){var q=document.head||document.getElementsByTagName("head")[0],w=document.createElement("style");w.type="text/css";w.styleSheet?w.styleSheet.cssText=m:w.appendChild(document.createTextNode(m));q.appendChild(w)}c||
|
||||
(c="/versions/pdp11/1.30.1/components.xsl");m=function(d,h){h?Id(c,null,null,!1,e,function(d,l){l?(Fa(a,c,d),e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window?(l=h.transformNode(l))?(g.outerHTML=l,--Hd||wa(!0)):f("transformNodeToObject failed"):document.implementation&&document.implementation.createDocument?(d=new XSLTProcessor,d.importStylesheet(l),(l=d.transformToFragment(h,document))?g.parentNode?(g.parentNode.replaceChild(l,g),--Hd||wa(!0)):f("invalid machine element: "+
|
||||
a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser")):f(d)}):f(d)};"<"!=b.charAt(0)?Id(b,a,d,!0,e,m):Jd(b,null,a,d,!1,e,m)}else f("missing machine element: "+a)}catch(E){f(E.message)}return l}window.embedPDP11=function(a,b,c,d){wa(!1);return Ld(a,b,c,d)};window.enableEvents=wa;window.sendEvent=xa;})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue