Giter Site home page Giter Site logo

msx.js's Introduction

MSX.js

This is a MSX emulator 100% written in JavaScript.

It's based on the jsMSX project and forked from the gmarty / jsMSX GitHub repository.

See a demo running at http://msxjs.com:4000/.

Tested in the following browsers:

  • Chrome 32.0
  • Firefox 26.0

Lib and Roms directories

Create a directory called lib to put jQuery and Bootstrap libs there.

Create a directory called roms to put ROM files there.

See the directory structure:

lib
  bootstrap
    css
    fonts
    js
  jquery.min.js
  
roms
  bios
    cbios_main_msx1.rom
    expert_1.0_basic-bios1.rom
  games
    KNMARE.ROM
    ROAD.ROM

Configuring a server

Since we are having some difficulties to load the ROMs from local files, we configured a HTTP server to serve the app and the ROM files.

Configuring a Node.js server

$ npm install connect

$ node server.js

Configuring Apache

$ sudo vi /etc/apache2/sites-available/msxjs

-----------------------------------------------
Alias /msxjs /home/nodeminderjs/workspace/msxjs

<Directory /home/nodeminderjs/workspace/msxjs/>
  Options Indexes FollowSymLinks MultiViews
  AllowOverride None
  Order allow,deny
  allow from all
</Directory>
-----------------------------------------------

$ sudo ln -s /etc/apache2/sites-available/msxjs /etc/apache2/sites-enabled/msxjs
$ sudo service apache2 restart

Credits

jsMSX project

Original repo is on SourceForge.

README from the original author

jsMSX is a MSX emulator 100% written in JavaScript. Yes, you read it: JavaScript! It emulates the underlying Z80 CPU, TMS9918 Video Display Processor (VDP), PPI, RAM slots and Megaram. In its present form, it should be able to run any program or game developed for MSX 1.0.

If you think you'd like to participate, are just curious or want to say hello, please have a look at the project.

Portions of the initial JavaScript code was derived from Arnon Cardoso's Java MSX Emulator (first Java MSX emulator), Murilo Queiroz's Java Phoenix Emulator (first Java Arcade emulator) and Davidson&Pollard's Z80 class of the Spectrum Java Emulator, after reading this thread: http://www.msx.org/forumtopic4176.html. Thank you all for your past efforts!

License from the original author

JSMSX - MSX Emulator in JavaScript Copyright (c) 2006 Marcus Granado <mrc.gran(@)gmail.com>

Portions of the initial code was inspired by the work of Arnon Cardoso's Java MSX Emulator and Adam Davidson & Andrew Pollard's Z80 class of the Spectrum Java Emulator after reading this thread: http://www.msx.org/forumtopic4176.html

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. The full license is available at http://www.gnu.org/licenses/gpl.html

This program 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.

gmarty / jsMSX

This project was forked from gmarty / jsMSX.

T'Sound System

TSS is a chiptune sound library written by Takashi Toyoshima ([email protected]).

The official repository is hosted on Google Code.

It is distributed under the terms of the New BSD License.

msx.js's People

Contributors

gmarty avatar nodeminderjs avatar

Watchers

Paul Verschoor avatar James Cloos avatar

Forkers

esnagofer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.