Repository navigation
Version: 1.5.0
- Rename CLI player binary usbsid to usplayer
- Rewrite virtual Voice3 (thanks @WilfredC64)
- Add ASID backend for CLI player
- Add onboard embedded player to the CLI outputs (send_sid)
- Add Windows and macOS support for the NSD output
- Add missing record single subtune option to CLI player
- Add r key to restart (sub)tune and show wall clock elapsed time on lagging outputs in CLI player
- Add config requests and port sharing to the Web Serial transport
- Add gated driver ring size override for CLI testing
- Add identification of backend used to redirect reads for voice 3
- Add per voice oscilloscope tap to software audio (reSIDfp)
- Add playing without the Commodore ROMs (stub KERNAL, EMBED_ROMS=0, --no-roms)
- Add reSIDfp patch for a settled ExternalFilter start
- Add src/host/session.h playback session on an engine thread
- Add stereo and filter control to software audio in the web player
- Add usp_audio_pan and usp_audio_set_filter exports
- Add usp_audio_scope, _scope_voices and _scope_take exports
- Add usp_audio_set_speed() and usp_audio_speed() exports
- Add usp_audio_set_stereo, _channels and _set_panning exports
- Add usp_read_memory_block() export
- Add usplayer_set_roms() and usplayer_needs_roms() to the embedded API
- Add video standard to timing() and reset the driver address on load
- Add web/usplayer-scope.js for per voice oscilloscopes
- Add ASID unit tests (tests/test_asid.cpp)
- Correct keybinding help in CLI player
- Force FM/OPL and SID to 100% volume in CLI player on audio output
- Compile reSIDfp from a patched copy in the build tree (see patches/residfp)
- Change license to GPL-2.0-or-later (was GPL-2.0-only)
- Defer driver volume write to bus, waits until first actual SID write
- Link libstdc++, libgcc, winpthread and libusb statically on MinGW (fixes silent 0xC0000135 start)
- Map the unclaimed FM OPL park to ring registers $80 and $90
- Move scope, panning and filter handling to web/usplayer-softaudio.js
- Print the reason when the NSD link drops
- Release WebUSB transport after a failed open
- Send one NSD request per frame to USBSID-Pico and enable FM OPL when requested
- Send the real SID count over NSD and step down when the server refuses it
- Set backend identification for each backend when initialised
- Set default USBSID ringbuffer size to 64KB
- Set UNIX_COMPILE and WINDOWS_COMPILE per platform
- Make asid device number and midi device string readable
- Update fixed device logging to use backend identification
- Fix/Add ffwd for embedded player
- Fix ASID environment message speed multiplier
- Fix automatic tune stop when using SENDSID from WebSerial
- Fix bug in previous subtune selection for web players
- Fix DeepSID buffer sizes below 200 ms being ignored
- Fix double encoded tune name, author and release in web player
- Fix environment and SID type not being sent from the web player
- Fix failed asid_init leaking RtMidiOut
- Fix FM/OPL over NSD to follow the NSD v5 spec (needs matching firmware)
- Fix IRQ badges of the web player blinking on tunes that toggle timers
- Fix memory view in web software audio with the worker
- Fix next/previous subtune for Basic tunes
- Fix NTSC CIA1 timer A default to $4295
- Fix output selection for ASID
- Fix reads from voice 3 for all modes when not using real reads
- Fix reSIDfp output differing from run to run in native builds
- Fix RSID driver placement and interrupts after init
- Fix RSID tune start, init runs like the SID file spec
- Fix sendSIDEnvironment and sendSIDType crash before init
- Fix serial-check port open and add Web Serial to the worker client
- Fix silent ASID webplay after using ReSIDfp in the browser
- Fix slow play and fast forward in web software audio (reSIDfp)
- Fix stale tune state and start race in the web player
- Fix start delay for BASIC tunes on reSIDfp
- Fix usp_audio_available() counting wrong after taking rendered audio
- Fix v5 embedded songlengths in the web player
- Fix VIC raster read timing, NMI hijack and unmapped IO reads
- Fix voice 3 reading when using the embedded player
- Fix web status line in software audio with the worker
- Fix command name print on Windows
- Fix num SIDs being higher than configured addresses
- Fix pacing and -t when the audio device stalls
- Fix stuttering on software NSD (sid-device/JSidplay2), pace by server backpressure
Commits in this release:
3bc03d2 Run dev CI builds when .version changes
c5baaef Update version for release, update CHANGELOG
0f70372 Add apt installation retries for linux in build scripts
63b857c Add missing record single subtune option to CLI player
39b0f53 Fix IRQ badges of the web player blinking on tunes that toggle timers
5853612 Fix RSID driver placement and interrupts after init - RSID files without a play address may get the driver on the screen pages $0400-$07ff again, like the old player and libsidplayfp - The screen trim from 5ad7cf8 put the driver at $0800, where 2_Canal_Diggi's init copies its data over it - No cli after RSID init, the driver idles with the I flag the tune left (libsidplayfp idle) - Amiga_Works_II enabled no IRQ vector and hung on the first CIA 1 IRQ - PSID placement and start unchanged
3d81a90 Add video standard to timing() and reset the driver address on load - load_sid() and load_prg() reset the driver address, a read before init returned the previous tune's address - New usplayer_video_known() and wasm export usp_video_known(): the tune header states PAL or NTSC - timing() returns video (PAL, NTSC, DREAN from the clock) and videoKnown
dc51764 Fix v5 embedded songlengths in the web player - USPlayerAdapter gains embeddedSongLengths(), a tune the database lacks showed 5:00 instead of the length from its own v5 table - Only via the BROWSE button and local folder play, the playlist already showed the correct tunelength
de7da27 Fix RSID tune start, init runs like the SID file spec (and libsidplayfp) - RSID init runs with I clear, $00=$2f and $01=$37, a CIA 1 IRQ latched during init no longer turns into an IRQ storm - RSID IRQ vector $0314 points to a handler that acknowledges CIA 1 only, $d019 stays set for tunes that poll it - RSID init starts 42 cycles after the CIA 1 timer start - RSID files with a play address keep the PSID start, their code can sit under BASIC ROM - PSID start unchanged, next song entry offset moves to $A0 - Fixes MUSICIANS/A/Andy/I_Like_It.sid and DEMOS/Temple.sid, HVSC RSID write counts move toward sidplayfp
586c93e Set default USBSID ringbuffer size to 64KB - High IO demanding tunes like the one below require this MUSICIANS/A/Andy/Justinblue_tune_6.sid
8796c7f Disable windows msys2 update on gitea workflows
c8f38c1 Add gated driver ring size override for CLI testing
2d4f32a Use pre-installed msys on Windows builds (Gitea)
8d60f96 Update workflow dependency versions and cache emsdk
33667cd Use pre-installed msys on Windows builds
b8917e6 Fix failing MacOS 14 workflow build
89fd105 Fix VIC raster read timing, NMI hijack and unmapped IO reads - VIC: $D012 read shows the previous line while cycle 1 runs, line 0 one cycle later, CPU read follows the VIC phase of its cycle - CPU: NMI hijack of an IRQ checked in the PCL push cycle - Justinblue_tune_6 plays at full speed, NMI no lo - MMU: unmapped IO1/IO2 reads return the VIC bus byte, not RAM or $FF - SID: answers() tells which addresses a chip owns, the rest of IO2 reads the VIC bus - Player: a SID with no stated clock plays PAL, no longer inherits the previous tune's video standard - Player: keep_video_model() keeps a forced -P or - test_vic: read $D012 after the VIC phase of cycle 1 - Tests for unmapped IO reads and the unspecified
92c719c Fix stale tune state and start race in the web player - Adapter keeps the snapshot from the worker loadSID reply, timing and driver address belong to the new tune - Reuse the loaded bytes on a repeat load of the same URL, no network fetch - Worker audioFill steps only a started player, no frames between loadSID and audioConfigure
334172c Add onboard embedded player to the CLI outputs - --output=onboard uploads a SID or PRG to the board's own player and stays attached - Same keys as the normal play loop: pause, subtune, restart, fast forward, voice mute, chip select, quit - Status line from the board's play time, polled every 250 ms - Song end follows the song lengths, a tune with more songs moves on to the following one - --detach sends the tune and exits, the tune keeps playing - --board-stop, --board-pause, --board-next, --board-prev control the board without a file - A path of - reads the tune from stdin - -s, -t, -f, -m, -b and the song length options work with onboard, -T -S -ms -ss -fa -w are refused - Refuse firmware without the onboard player - Songlengths lookup moved to load_songlengths, used by both paths - onboard_map.h holds the song and end logic, tests in test_onboard.cpp
ae5ff4e Add reSIDfp patch for a settled ExternalFilter start - ExternalFilter: reset clears a primed flag, the first clock sets Vlp and Vhp to its input - Removes the t=0 DC step through the output highpass (start tick), no added start delay - Restoring a State sets it primed - patches/residfp/README.md: list 0002-extfilter-settled-start.patch
15dc2bf Fix start delay for BASIC tunes on reSIDfp - Mos6581_8580: pause_idle_render stops render_idle from pushing frame time into a software SID, reset clears it - Player::init_prg: pause idle rendering during boot_kernal, resync after the boot - Writes and reads during RUN typing no longer carry deltas from the boot - Start delay 2.665 s to 0.386 s, the rest is RUN typing and BASIC start
5ef8d21 Fix serial-check port open and add Web Serial to the worker client - serial-check: open and close the picked port itself, the transport leaves adopted ports alone - Worker client: available('webserial') checks navigator.serial, connect uses the serial picker
58515a5 Add config requests and port sharing to the Web Serial transport - configRequest: one request at a time with a known reply length, safe next to SID writes on the same port - connectGrantedAny: open the first granted port that answers, no picker - Drop stale input after opening a port - USPlayerAdapter adoptSerial: play on a port the host page owns, the adapter never closes it - Export BAUD_RATE
b1a936a Add Gitea Actions as of the GitHub workflows
d4272d9 CHANGELOG.md
3f22e92 Add deferred volume write replacing the drivers hardcoded volum write
3e67eed Disable volume write in driver
1155200 Remove psiddrv.o65 from the tracked files
a3ccb0a Fix subtune issues
6fcd7ab Fix/Add ffwd for embedded player
bbf84d8 CHANGELOG.md
d52e014 Fix automatic tune stop when using SENDSID from WebSerial
de8fcee Fix output selection for ASID
ca4f075 usp_audio_release
e69e46e Fix environment and SID type not being sent from the web player
cc73ecb Fix silent ASID webplay after using ReSIDfp in the browser
01f8c61 Fix reads from voice 3 for all modes when not using real reads
641f348 Update fixed device logging to use backend identification
ab170b0 Make asid device number and midi device string readable
d036b82 Set backend identification for each backend when initialised
0607fbc Add identification of backend used to redirect reads for voice 3
f172bac CHANGELOG.md
9cc8710 README.md
bffca70 README.md
3465482 API_WEB.md
bc44e20 API_EMBEDDED.md
efcafa9 .gitignore
b70b890 CI Workflows
cdfb6e3 CMakeLists.txt
d33c9ea usbsid-player.cmake
546a5c7 .gitignore
8396288 Formatting
5f44745 Force voice3 reads for ReSIDfp and fix for USBSID-Pico (thanks @WilfredC64), add some debug logging.
4180990 Fix FmOpl play being off spec with NSD spec
1c95e34 Correct keybinding help in cli player
fc8c2a7 Force fmopl and sid to 100% volume in cli player when output is audio
b06599e Fix command name print on Windows
63afecd Add tagged releases workflow
dbec6bf Fix builds failing on unittests due to missing temporary assignments
90eebcf Fix Windows builds failing due to mingw64 deprecation
49da0f1 Fix oopsie in build script
c5009e9 CHANGELOG.md
2eb7676 Flip hi/lo for NTSC, what was I thinking!?
2c2e971 Well that belongs there too!
21915d6 Don't forget the makethingy for ASID
6453bd4 Moar missings!
655e949 Missed a naming convention :D
191baba Documentation
b12a4dd Send correct speed multiplier in ASID
4ff425b Add missing libasound2-dev to CI workflows
32dce0f Add ASID to unittests
83b128c Fix premature crashes
c661bd5 Fix speedMultiplier to zero
06ac1c4 Fix leaky init and close sequence
aabade9 Convert SID slot select line to separate new lines
5b3ac23 Line out the options in the help menu
aa2ce7c Add initial ASID support to CLI player
f0b5d7a Map the unclaimed FM OPL park to ring registers $80 and $90
a0be7a1 Fix missing renames
66b3c41 Fix hardcoded sid directory for tests
c6e1c71 Update docs
16623d8 Rename CLI executable to usplayer, short for USBSID-Player ;-)
39ce831 Release WebUSB transport after a failed open
52d219f Fix pacing and -t when the audio device stalls
d29b348 Show wall clock elapsed time on lagging outputs, add r to restart (sub)tune
f3f530b Test v5 SID count against the generated addresses
804b376 Add Network SID Device client unittests
2d77478 Send the real SID count and step down when a server refuses it
bd081ea Send one NSD request per frame to USBSID-Pico and enable FM OPL when requested
d170f3b Print the reason when the Network SID Device link drops
d44e09e Link libstdc++, libgcc, winpthread and libusb (libusb-1.0.a) statically on MinGW. Application started silently with 0xC0000135 (DLL not found) when the MSYS2 DLLs were not in the same directory or on PATH.
fc114bc Add Windows and macOS support for the Network SID Device output
1715565 Fix support software NSD (sid-device/JSidplay2) Pace playback by server backpressure instead of wall clock Fix stuttering when playing on software NSD
a03be99 Fix num sids being higher then configured addresses
9a0b3bb Web player fixes
ef6662d Fix status line numbers in web software audio with the worker
c6b005b Add oscilloscope, stereo and filter control to web software audio
52d980d CHANGELOG.md
4ffc9c3 Fix reSIDfp speed, memory view and WebUSB reads in the web player
7b6ce6a Add session layer for interactive frontends
b5c07bc Add no-ROM mode
2d0038d Fix Tune-name encoding
8c5bc08 Change the licence to GPL-2.0-or-later (was GPL-2.0-only)
1a4f41e Fixes in webusb/webserial, see CHANGELOG
Full Changelog: v1.4.0...v1.5.0