Skip to content

nodeminderjs/MSX.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A MSX emulator 100% written in Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • CSS 0.2%