summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index ab0cea6..6da13ce 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ emu8910.clock.frequency = song.getClockRate()
emu8910.interrupt.frequency = song.getFrameRate()
```
-This sets the ISR function, clock and interrupt frequency for a specific song.
+This sets the ISR (Interrupt Service Routine) function, clock and interrupt frequency for a specific song.
To stop playback:
```
@@ -39,6 +39,10 @@ emu8910.driver.device.resume()
emu8910.interrupt.frequency = song.getFrameRate()
```
+Note: You can access the emulator's internal register file with `emu8910.register`.
+
+These registers need to be updated at the frequency of the ISR.
+
Files:
* src/emu8910.ts - Core emulator implementation