From 008f39a5f4070332d547ad554088fc23d8936dd2 Mon Sep 17 00:00:00 2001 From: Dylan Muller Date: Tue, 5 Sep 2023 23:37:23 +0200 Subject: emu8910: core: Add demo files Add demo files. --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index adee73c..ff89f40 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,16 @@ It implements most of the PSG's original registers. A datasheet can be found [he Sound output is achieved in the browser through an AudioContext() hook.
This emulator also adds interrupt support (with variable frequency) for updating the PSG's registers. -This repository currently lacks a working example of the emulator which I plan to add in the future. +FIR filter data generated using: +[https://www.arc.id.au/FilterDesign.html](https://www.arc.id.au/FilterDesign.html) Files: -* emu8910.ts - Core emulator implementation +* src/emu8910.ts - Core emulator implementation +* fym.js - FYM (Fast YM) format parser +* update.js - Register parser +* index.html - HTML boilerplate + +To run demo start web server: `python -m http.server 8000` and navigate to `index.html`. +Then click anywhere on the page to start audio output. + -- cgit v1.2.3-70-g09d2