PDP-11 Emulator implemented with JavaScript.

Introduction

Hi, it's been a while.
I'll show you what I implemented recently today.

PDP-11 Emulator implemented with JavaScript

2013/07/22

2013/07/21

2013/07/09

2013/07/07

I implemented a PDP-11 Emulator with JavaScript. You can see on the video that UNIX 6th Edition runs on a web browser.

I didn't implement whole features yet and I know there are a lot of bugs. And also I need to make it much faster. Unless I do it, it takes a much time to run, especially for initializing memory...

After I fix them, I'm gonna show you the emulator again. And I'm gonna publish the source code.

(Note that, what I made before is not an emulator, but an UNIX 6th Edition a.out interpreter.)

Objectives

As you know, I published the book about UNIX 6th Edition in Japan.

はじめてのOSコードリーディング ~UNIX V6で学ぶカーネルのしくみ (Software Design plus)

はじめてのOSコードリーディング ~UNIX V6で学ぶカーネルのしくみ (Software Design plus)

I wanna let you easily see the running UNIX 6th Edition. I think the stuff where you can run it on your web browser is one of nice ideas, isn't it?

And I wanna understand a whole computer system. Developing an emulator is one of nice ways to do that, I think.

Link

はじめに

どうもお久しぶりです。今日は最近作ったものをお見せします。

PDP-11 Emulator implemented with JavaScript

2013/07/22

2013/07/21

2013/07/09

2013/07/07

PDP-11エミュレータJavaScriptで実装しました。動画中で、UNIX 6th Editionがブラウザ上で動作しているのを見ることができます。

まだ全ての機能を実装しておらず、また、バグがたくさん含まれています。それに、動作をもっと早くしないといけません。特に、メモリの初期化に時間を喰うので……

それらを全て終えた後、またエミュレータをお見せする予定です。また、ソースコードも公開する予定です。

(なお、以前作ったものUNIX 6th Edition a.outインタープリタであり、PDP-11エミュレータではありません)

目的

ご存知かもしれませんが、UNIX 6th Editionの解説本を出版しました。

はじめてのOSコードリーディング ~UNIX V6で学ぶカーネルのしくみ (Software Design plus)

はじめてのOSコードリーディング ~UNIX V6で学ぶカーネルのしくみ (Software Design plus)

皆さんがUNIX 6th Editionの動作を容易に確認できる環境を構築したいというのが目的の一つです。ブラウザ上で動けば、それができると考えました。

また、私がコンピュータシステム全体の動作を確認したいという目的もあります。エミュレータを作るというのは、それを達成するための良い手段の一つだと思います。

Link