O συνηθης υποπτος Norbert Kehrer , αφου μετεφερε μεσω emulation το θρυλικο arcade "Asteroids" 1979 στον c64,c128,Commodore Plus/4,c64 Super CPU, ,Atari 800XL, στο νεο site του πλεον ,το μετεφερε και σε javascript .I wanted to learn something about making games in JavaScript based on HTML5 and its Canvas element and tried to redo a Java project of mine from almost ten years ago in JavaScript now.
.... my JavaScript version was created by applying the method of static binary translation to Ed's code.
That means, that the program code originally written in the machine language of the 6502 CPU of the Asteroids machine was converted in a one-to-one manner to JavaScript. The translation was automized by a Java program, which generates semantically equivalent JavaScript code for each 6502 instruction and applies some optimization techniques to the generated program (e.g., removal of redundant flag calculations). The outcome is an exact simulation of the original, first Asteroids game.
The graphics interface and the emulation of the Asteroids arcade machine's vector generator hardware were directly coded in JavaScript and rely on HTML5 and the Canvas element. So you should have a quite recent browser version supporting these features to be able to play the game.
Μπορειτε να παιξετε εδω online μεσω javascript το Asteroids