Welcome to AEP Emulation Page - Emulation News
   
Hosting by: Uberspace.de   
Menu
· Home / News
· News Categories
· News Archiv
· Submit news

· My Account
· Search
· Forums
· Online Games
· Weblinks
· Game Reviews
· Translations
· AEP Shop

Downloads

· ROMs (PDRoms)

Social Links

Select language
Select interface language:

EnglishGerman

Forum
MEMBERS ONLINE
>Predator82 
>Ragnarok 
We have 63 guests and 2 members online

You are an anonymous user. You can register for free by clicking here
Username
Password
 Remember me

Infos
· Museum
· Infocenter
· Das AEP Team
· Member Liste
· Top 25 Liste
· Lame Mails
· Glossar
· FAQ
· Impressum

Funny Quotes

Ich bin schon seit der ersten SNES Emus dabei, die damals noch Japanisch waren und Fanicom hießen!

-- Austin316 (gametop.de)

News-Export
Holt Euch unsere News auf Eure Seite:
· RSS Newsfeed How-to
· Follow AEPEmu on Twitter
· RSS News-syndication English
· RSS News-syndication Deutsch
· News-Banner (JPG)


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
retroKOffline
Post subject: Javascript PC Emulator Oct 06, 2011  PostPosted: Oct 12, 2011 - 03:17 PM
Site Admin


Joined: Jul 04, 2004
Posts: 9357

Location: Frankfurt a.M.

Highscores in 05/2013

Status: Offline

Fabrice Bellard (Autor von QEMU und FFmpeg) hat einen Linux-PC emulator in Javascript geschrieben, der direkt im Browser läuft: Javascript PC Emulator.
Kevin van der Vlist hat dem Ganzen jetzt lokalen Speicher über HTML5 spendiert: Javascript PC Emulator mit Local Storage über HTML5.


Fabrice Bellard (author of QEMU and FFmpeg) has written a Linux-PC emulator in Javascript: Javascript PC Emulator
Kevin van der Vlist added HTML5 based local storage to the emulator: Javascript PC Emulator with Local Storage.

Quote:
First of all, only these files in this archive are released under the terms of the GPL.
The following files, published on the demonstration website, _DO NOT_ fall under
these terms. I only have permission from Fabrice Bellard to host them.

cpux86-ta.js
term.js

These files are created and licensed by Fabrice Bellard (http://bellard.org/jslinux).



This project allows the virtual machine to access a persistent block device. This means
a user can format and partition this device inside it´s virtual machine. Because this disk
is then stored in the HTML5 local storage, a return to the emulator´s web page allows a
user to reopen the block device. All data stored on the disk can therefore be read again.

Schematically, the process works in the following way:

A block device driver is added to the Linux kernel. This allows a user to operate with
a ´device´ written in JavaScript. This device is bound to the virtual machine using the
same I/O ports as a floppy disk. The device driver itself uses a temporary testing major
device node, id 250. Theoretically, it allows dynamic device node allocation, but I have
not tested this.

On the JavaScript side, a lot of caching occurs because the local storage interface is
quite slow. I therefore decided to cache the total ´disk´ in memory, because it´s about
1M anyway. Writes are cached as well, and are ´flushed´ once the driver has transferred
a complete sector.

For more details, see the source code.


Related links:
[ PC Emus / Virtual Machines ][ MAC Emus ]

_________________
Alderaan shot first!

[ AEP @ Twitter ][ AEP @ Facebook ] [ AEP @ Google+
 
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
Valid HTML 4.01! [Valid RSS]
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 1998 - 2012 AEP Emulation Page.
You can syndicate our news via RSS using the file rss_en.xml for English headlines and rss_de.xml for German headlines.