Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - New HTML5 SN76489 emulator for web playback

Reply to topic
Author Message
  • Joined: 23 Aug 2005
  • Posts: 37
  • Location: Manchester, UK
Reply with quote
New HTML5 SN76489 emulator for web playback
Post Posted: Mon Apr 24, 2023 8:06 am
I have just completed the first release candidate of my Sega Master System sound chip emulator. This emulator handles both uncompressed and compressed VGM files. It is written in TypeScript, which compiles to JavaScript, allowing for Sega Master System music to be played directly within a web browser.

You can see an live example here via my social network: https://plugin.io/gary/post/cea758f3-7aa1-4aa8-ac4b-61c0322e2249

The emulator source code is available at: https://github.com/gpaluk/VGMPlayer

Hope you like it.. Thanks
  View user's profile Send private message Visit poster's website
  • Joined: 25 Feb 2013
  • Posts: 384
  • Location: Osaka
Reply with quote
Post Posted: Mon Apr 24, 2023 11:48 pm
On Ubuntu 22.04.2
I get

$ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'rollup@3.21.0',
npm WARN EBADENGINE required: { node: '>=14.18.0', npm: '>=8.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'vite@4.3.1',
npm WARN EBADENGINE required: { node: '^14.18.0 || >=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

and then

> vgm-player@0.0.0 dev
> vite

file:///home/fabio/dec/VGMPlayer/node_modules/vite/bin/vite.js:7
await import('source-map-support').then((r) => r.default.install())
^^^^^

SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)

I tried
npm update -g
but it has no effect. Any hints?
  View user's profile Send private message
  • Joined: 12 Apr 2005
  • Posts: 391
  • Location: London, United Kingdom
Reply with quote
Post Posted: Mon May 01, 2023 1:25 pm
Interesting work, Blitmaster! Doesn't work for me at the moment in Firefox but I think that may be related to this issue, however it works fine for me in Chrome.

kamillebidan wrote
I tried
npm update -g
but it has no effect. Any hints?


According to the error messages in your post the issue is with Node.js being out of date, rather than npm - you'll need to update Node.js, e.g. with apt-get upgrade.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!