diff options
author | Lunar Journal <md.node.0@gmail.com> | 2023-09-07 09:27:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 09:27:42 +0200 |
commit | 1e1d29c371ee41f8f449a27970727b99172f5cd6 (patch) | |
tree | 54d99ecb6d1a8e8255cb3fe49da7eea1ba8bf62c | |
parent | b6fa12a1bd8b4a69882ec970b50a89cad109a39d (diff) | |
download | emu8910-1e1d29c371ee41f8f449a27970727b99172f5cd6.tar.gz emu8910-1e1d29c371ee41f8f449a27970727b99172f5cd6.zip |
emu8910: readme: update readme
Add register file info.
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |