📜 ⬆️ ⬇️

Emulator Radio-86RK JavaScript / Reboot



In 2009 I wrote the first version of the emulator Radio-86RK in JavaScript . Then I really wanted to test the very idea of ​​such an emulator, so the implementation itself came out a bit messy, although it worked in the end. Then I tested the emulation of the Intel 8080 processor mostly visually, on games. Therefore, any refactoring of the code was painful, since it was elementary to break something.

Recently I launched RK emulator on Maximite microcomputer . In the process of work, the emulation of the Intel 8080 core was separated into a separate i8080-core project, in which the testing system also appeared. Tests, especially the 8080 Execercier CPU , allow you to very carefully check the quality of emulation, especially for undocumented behavior.
')
And then the idea came to return to the emulator on JavaScript and retest it. As a result, I actually rewrote the emulator from scratch, dividing it into the core of the i8080-js processor, and, actually, the RK emulator .

The i8080-js core now passes all the same tests as the i8080-core. Testing can be done either directly in the browser, or on the command line, if you have handles JavaScript interpreters V8 or SpiderMonkey. The Intel 8080 emulator is made independent of the specific hardware and can be easily used to emulate other machines based on the Intel 8080 (or KR580VM80A).

The RK emulator is now divided into modules: UI, Screen, I8080, Memory, IO. The work with the keyboard is also improved, and the loading of programs occurs dynamically when they are selected.

You can launch a new emulator on demin.ws/rk (bookmarked).

The old version (up to 0.6 inclusive) is still available , but its development is stopped, and the source code of the project is now on GitHub.

In the new version (now it is 1.0) I also added a dozen new games and utilities. By the way, check out my demo (rk86demo.bin file) and Sokoban’s remake (sokoban.bin file).

I tested on the latest versions of Google Chrome and Safari (Mac and Windows). In Firefox, alas, there is some kind of strange visual glitch in the form of horizontal bars.

Updated on 10/14/2012

Online catalog of games and other programs for Radio-86RK . You can immediately run in the emulator.

Toward the close of a few screenshots.







Source: https://habr.com/ru/post/153739/


All Articles