Commit graph

7632 commits

Author SHA1 Message Date
tildearrow cb23036f9e guess what? this code still fails! 2025-04-12 15:10:42 -05:00
tildearrow 1653d237aa work in progress: new code for optimization...
not working at all right now
2025-04-12 04:55:57 -05:00
Paddyk45 1430749ea6 use double instead of int and multiply by 100 2025-04-12 10:47:51 +02:00
tildearrow 2ea7bf65ea TO DO:
- FIX CIELOS
- FIX HUGE STACKS

BYE
2025-04-11 20:21:46 -05:00
tildearrow ca67378173 fix benefit sort...
huge losses
2025-04-11 15:42:23 -05:00
tildearrow fbc5357b63 sort by benefit
huge gains
2025-04-11 15:04:59 -05:00
tildearrow 1790a99be5 add a call stack view 2025-04-11 14:57:23 -05:00
tildearrow a813f73557 improve cmd stream hex view visual aid
definitely not vspcplay
2025-04-11 04:57:42 -05:00
tildearrow acf7a4f2ca Revert "speed up match finding?"
regression...
This reverts commit 71be28a195.
2025-04-09 06:21:08 -05:00
tildearrow 71be28a195 speed up match finding?
i need to benchmark it
2025-04-09 04:34:22 -05:00
tildearrow 51f133036d some "optimizations"
fast match size algorithm
16-bit calls are back
2025-04-09 03:53:17 -05:00
tildearrow 196256de61 it plays again
now how am I gonna optimize this...
2025-04-09 02:52:11 -05:00
tildearrow 876bb3cc5c HOW IS THIS LESS OPTIMAL - DO NOT USE!!!
THIS FAILS HORRIBLY... I am trying to do a global search
2025-04-08 19:52:26 -05:00
tildearrow d4e34db5b6 GUI: fix bit 30 macro offset/scale bugs 2025-04-08 16:41:12 -05:00
tildearrow 05da08d6da GUI: threaded command stream export, part 1
no progress bar yet
2025-04-08 04:59:00 -05:00
tildearrow ad5fb97822 arp commands should have 1 byte arg 2025-04-08 04:00:55 -05:00
tildearrow 24cd378e50 GUI: consider pass disable opts in CS exprt dialog 2025-04-08 03:31:42 -05:00
tildearrow b946f08122 fix cmd stream corruption when cmd stream playing 2025-04-08 03:30:56 -05:00
tildearrow a2c745cb10 Y8950: fix ADPCM chan osc 2025-04-08 02:12:28 -05:00
tildearrow 032ff82955 fix low quality not working in acquireDirect
performance may be reduced
2025-04-07 23:12:27 -05:00
tildearrow 584305f1fa fix build failure 2025-04-07 20:44:25 -05:00
tildearrow 914ba11e3b fast block search part 5
call protection
2025-04-07 19:05:17 -05:00
tildearrow ecb9782025 fast block search part 4 - almost there
now using recursion
2025-04-07 18:56:23 -05:00
tildearrow ef7e6b9ce2 fast block search part 3 - BETAAAAAAAA
now using a gain/loss estimator to skip blocks which don't offer any advantage when subbed
2025-04-07 18:35:50 -05:00
tildearrow fc0a7a5e17 fast block search part 2 - still ALPHA
now tested... it works but size is not optimal
2025-04-07 13:17:27 -05:00
tildearrow 2fd6fa1a87 support empty short command line param names
also add a parameter to disable command stream export optimizations
2025-04-07 13:16:49 -05:00
tildearrow f79c0689ba fast block search - A L P H A
much faster but untested on playback...
next commit will fix stuff if it didn't work first try
2025-04-07 12:21:24 -05:00
tildearrow 6a7f276454 get the size down 2025-04-07 04:48:13 -05:00
tildearrow 873bad1613 stuff 2025-04-07 04:33:28 -05:00
tildearrow 27cde60f0b prepare to allow disable opt passes 2025-04-07 00:20:48 -05:00
tildearrow e9911ab0aa 16-bit call... B E T A 2025-04-06 04:59:01 -05:00
tildearrow 9227695bb0 fix it 2025-04-06 04:47:32 -05:00
tildearrow bf7abe99ef speed dial commands and disassembly 2025-04-06 04:24:17 -05:00
tildearrow da771145f4 GUI: bring the play cmd stream debug button back 2025-04-05 19:53:25 -05:00
tildearrow 6fba60818d implement command playback - UNTESTED! 2025-04-05 19:27:44 -05:00
tildearrow d7922baa07 implement all commands
no playback yet!
2025-04-05 18:19:41 -05:00
tildearrow 110562c2c4 prepare to implement stuff in cmd stream
vol slide with target, tremolo, panbrello and pan slide
2025-04-05 04:33:46 -05:00
tildearrow a49664a3f5 GUI: make command stream player visible
window > debug > command stream player
2025-04-05 03:22:48 -05:00
tildearrow f7c2fce461 more command stream work
including a disassembler, large stack, and some other things
2025-04-05 03:19:44 -05:00
tildearrow 39ea7e6da0 sub-blocks, part 2
works but result still kind of big
2025-04-04 19:28:29 -05:00
tildearrow d5f1d3c25c sub-blocks, part 1
currently awful
2025-04-04 05:01:49 -05:00
tildearrow c110f87548 delay condensation and nop removal 2025-04-03 17:04:34 -05:00
tildearrow 491a361392 command stream relocation 2025-04-03 06:26:25 -05:00
tildearrow 28f8423f23 command stream work
disassemble call/jump/ret instructions
prepare for relocation
implement loop (but it doesn't work)
2025-04-03 05:09:40 -05:00
tildearrow 20f322d78c handle a situation in where MSVC uses C++17
always screwing something up
2025-04-02 23:33:45 -05:00
tildearrow 3095a57080 GUI: mismatched delete 2025-04-02 23:25:12 -05:00
tildearrow 05f2c99bb4 OPL4: fix 12-bit related glitches 2025-04-02 19:18:33 -05:00
tildearrow c3f98e50d3 add cheat code for modified sine wave
chain barrel
2025-04-02 18:52:20 -05:00
tildearrow 6e4458d04d NDS: fix drift 2025-04-02 18:30:38 -05:00
tildearrow 1ea872f6fb speed up .tfe loader 2025-04-02 17:23:33 -05:00
tildearrow 1dbb932048 YM2612: fix pitch issues
issue #2447
2025-04-02 17:14:34 -05:00
tildearrow d47d61fb6a fuck this shit 2025-04-01 20:53:56 -05:00
tildearrow 3df72f757e Merge branch 'pitch-test' 2025-04-01 20:52:38 -05:00
tildearrow 93e3ccf93f prepare for command stream compression
don't optimize waits (this will be the final pass)
2025-04-01 17:28:03 -05:00
tildearrow c064cf089d prepare to fix pitch linearity issues 2025-04-01 14:11:45 -05:00
tildearrow f95336befe renderGL: setting to set settings to set stencil a
nd buffer size

it appears this may be the cause of visual glitches
2025-03-30 15:13:39 -05:00
tildearrow 7d96ddaef2 release v0.6.8 2025-03-29 22:26:09 -05:00
tildearrow 13b56870ec new demo song
by ALTMUS
2025-03-29 22:26:00 -05:00
tildearrow c9f9cc0d8b GUI: add a setting to toggle fallback pat font 2025-03-27 19:02:29 -05:00
tildearrow e02404222d planes 2025-03-26 20:39:39 -05:00
tildearrow c9e48fb17b PC speaker: fix chan osc in real output 2025-03-26 14:01:22 -05:00
tildearrow a3a0acd871 run the last step 2025-03-25 00:55:10 -05:00
Electric Keet 14e5db0efc Some letter icons realigned.
Also, the instructional MD file and the comment within the SFD file have been updated to make the steps a little clearer.

Catch is, something broke and I can't fully run `make-iconfont.sh` so until I can fix that someone else will have to do that step.
2025-03-25 00:55:10 -05:00
tildearrow f21da72eaf NES: fix envelope mode not set in reset/forceIns 2025-03-24 18:04:20 -05:00
tildearrow 2871e8df07 NDS: fix non 8/16/IMA sample formats 2025-03-24 15:05:17 -05:00
tildearrow 3020485500 release v0.6.8pre2 2025-03-23 14:01:43 -05:00
tildearrow c1e99b94ef OPL4: fix corrupted non-8/12/16-bit samples 2025-03-23 13:53:08 -05:00
tildearrow fd3335f1ee OPL4: fix end of sample 2025-03-23 13:49:23 -05:00
tildearrow 4370f77230 GUI: fix the chevron 2025-03-23 13:24:06 -05:00
tildearrow 1470564267 C64: fix PCM chan osc 2025-03-23 13:02:12 -05:00
tildearrow 402a658454 OPNA/B: fix ADPCM-A/RSS muting with LLE core 2025-03-23 04:36:20 -05:00
tildearrow 2e9621073e OPZ: add FMS2/AMS2 macros 2025-03-23 04:22:43 -05:00
tildearrow beb7411ba7 what is this tab doing in my CODE!!!!!!! 2025-03-23 03:59:47 -05:00
tildearrow fadf516d0b GUI: improve chan export chan count estimation
issue #2431
2025-03-23 03:57:39 -05:00
tildearrow 0d1a482cbd Supervision: some hopeful fixes 2025-03-23 03:44:06 -05:00
tildearrow f919d1779a GUI: fix macro list jumping around
in single macro editor layout
2025-03-23 03:30:31 -05:00
tildearrow 9b3da929bf GUI: add presets for C64 PCM and Defle MSX2 2025-03-22 20:44:19 -05:00
tildearrow 24b2440daf .ftm import: VRC7 patch switch effect
thanks LTVA
2025-03-22 20:16:00 -05:00
tildearrow 9297ff7c8b release v0.6.8pre1
after a thousand years
2025-03-22 03:38:01 -05:00
tildearrow 76cdc66e05 X1-010: fix env slides in low latency mode 2025-03-22 02:05:24 -05:00
tildearrow bdc10b2ca0 credits 2025-03-22 01:38:08 -05:00
tildearrow 841af611ba WonderSwan: bring Mednafen core back 2025-03-22 01:38:08 -05:00
Adrian Siekierka b4b0481b3f swan: fix edge case in APU emulation 2025-03-22 01:38:08 -05:00
Adrian Siekierka 17363d9a28 swan: Fix new engine command name position 2025-03-22 01:38:08 -05:00
Adrian Siekierka 652f3662af swan: Support higher frequency rates at the emulation core level 2025-03-22 01:38:08 -05:00
Adrian Siekierka 99c022cd82 swan: Fix new engine command position 2025-03-22 01:38:08 -05:00
Adrian Siekierka c4561b15a5 swan: Fix noise emulation 2025-03-22 01:38:08 -05:00
Adrian Siekierka 14bdbd852e swan: Minor fixes 2025-03-22 01:38:08 -05:00
Adrian Siekierka c93dc6f4f3 swan: Add command to change internal speaker loudness 2025-03-22 01:38:08 -05:00
Adrian Siekierka b59fc1e8f5 swan: Implement headphone/internal speaker output toggle 2025-03-22 01:38:08 -05:00
Adrian Siekierka 03b87258c8 swan: Rewritten audio driver
Now outputs 24000 Hz digital samples, matching real hardware (as
opposed to 3072000 Hz samples). It has also been rewritten from
scratch to match recent research and make the code significantly
more readable.
2025-03-22 01:38:08 -05:00
tildearrow 8dcb2d02ad OPL4: fix a couple issues with samples
issue #2217
2025-03-21 17:38:28 -05:00
tildearrow 4546df5636 ES5506: fix memory overflow
issue #2422
2025-03-21 16:01:07 -05:00
tildearrow 97d6b00322 fix another possible hang in MIDI code 2025-03-21 02:34:02 -05:00
tildearrow 8692aa5ff5 fix a possible hang in MIDI clock code 2025-03-20 17:26:49 -05:00
tildearrow 7e3c879a39 GUI: fix NES loop end hint 2025-03-20 03:20:01 -05:00
tildearrow 0f4d70a34e GUI: add chan osc DC off correction strat options
off: no DC offset correction
normal: the old algorithm
high-pass: a new algorithm

also fix a hang!
2025-03-17 04:07:22 -05:00
tildearrow 1dcb9e809b XM import: improve envelope conversion again
issue #2026
2025-03-16 16:28:36 -05:00
tildearrow 3fae6a4ba8 XM import: improve envelope conversion
still buggy
2025-03-16 04:21:21 -05:00
tildearrow 93f3ff3500 change default TIunA export params
so it works by just replacing song.asm
2025-03-15 04:09:59 -05:00
tildearrow 7a544fc0e0 GUI: optimize orders window
don't render cell if not visible
2025-03-14 14:27:27 -05:00
tildearrow 036fd94ea6 GUI: fix a spacing issue in FM editor 2025-03-14 13:56:11 -05:00
tildearrow 7d483e1bbb GUI: hide custom clock for PCM DAC
doesn't make sense
2025-03-14 13:14:26 -05:00
tildearrow 07fd199ffd NDS: fix custom clock not working 2025-03-14 13:12:45 -05:00
tildearrow f04fa49de2 add invincible powerup and allow quit on mobile
after game over
2025-03-14 13:11:55 -05:00
tildearrow a551b2d194 and more
make user listen at least 1/4 of a song
2025-03-14 04:52:57 -05:00
tildearrow 896c84c205 Combat Vehicle changes
- new "speed" mod
- small stages
2025-03-14 04:35:51 -05:00
tildearrow b52699d370 GUI: fix note input when follow pattern is off 2025-03-12 18:33:46 -05:00
tildearrow 96405706a8 GUI: fix note input not working when step playing 2025-03-12 18:32:30 -05:00
tildearrow c5dca3cc52 GUI: fix it 2025-03-11 12:04:56 -05:00
tildearrow 411e492c81 GUI: a better strat to find init samp in chan osc 2025-03-11 12:00:11 -05:00
tildearrow 5ac5006a21 C64: possibly fix chan osc when using reSIDfp 2025-03-11 11:34:45 -05:00
tildearrow ab4922def7 TIA: fix chan osc
issue #2409
2025-03-11 11:29:46 -05:00
tildearrow 79e71c3d02 possibly fix VGM, ZSM and SAP-R export
issue #2408
2025-03-11 11:23:25 -05:00
tildearrow 6ae3f33513 GUI: disable sample filter sweep by default 2025-03-11 05:10:42 -05:00
tildearrow 1642646899 GUI: fix when using groove 2025-03-11 04:15:14 -05:00
tildearrow ad8d1b5060 GUI: improve note input timing
during playback, it rounds to nearest cell now
this greatly enhances the recording experience

to-do: test on higher latencies and see if we have to compensate somehow...
2025-03-11 04:03:05 -05:00
tildearrow 6deee95d87 GUI: prepare to improve note input timing
the idea is to snap to the closest Y position...
2025-03-10 19:31:05 -05:00
tildearrow 44605a42a5 GUI: make non-sweep sample filter not sweep
issue #2407
2025-03-10 17:37:23 -05:00
tildearrow 1321979017 GUI: honor DC off correction setting in chan osc
issue #2405
2025-03-10 12:52:28 -05:00
tildearrow 957a05665a fix crash 2025-03-10 12:46:46 -05:00
tildearrow b46a60e96d possibly solve vZoom/vScroll issue
move these to a new DivInstrumentTemp struct
this way, undo history is not altered every time these change

issue #2179
2025-03-10 12:35:05 -05:00
tildearrow b7a8745581 GUI: hide SCV once again
after the unification the system ID and chan count are stable
however, the system is still beta...
it won't be ready by 0.6.8 so I am going to hide it
2025-03-10 11:43:17 -05:00
tildearrow 72a2fa1b2e GUI: fix instrument drag
issue #2386
2025-03-10 04:16:38 -05:00
tildearrow b64a92668a GUI: fix drag-and-drop crash
this time for real!
issue #2327
2025-03-10 04:14:01 -05:00
tildearrow f49395194b µPD1771C: unification work... 2025-03-10 04:11:26 -05:00
tildearrow d853c59b3d SCV unification 2025-03-10 04:05:12 -05:00
tildearrow 85981822fa K007232: acquireDirect() 2025-03-09 18:20:44 -05:00
tildearrow 804e8b7fb8 NDS: fix chan osc 2025-03-09 16:19:13 -05:00
freq-mod ca89b5beb8 Add files via upload 2025-03-09 13:46:24 +01:00
tildearrow 418780b82b BubSys: acquireDirect() 2025-03-09 04:16:41 -05:00
tildearrow ef1fae3bee SM8521: the actual rate is /2 rather than /4 2025-03-09 04:06:47 -05:00
tildearrow d1234ad59e SM8521: acquireDirect() 2025-03-09 03:58:09 -05:00
tildearrow 1c05bb8b05 T6W28: fix chan osc! 2025-03-09 03:31:03 -05:00
tildearrow e7df0c7b0a fix possible incomplete MIDI message 2025-03-09 02:25:20 -05:00
tildearrow 5a2d4662aa NDS: get rid of core quality 2025-03-09 01:27:59 -05:00
tildearrow 87d1cf24a1 T6W28: chan osc which does not work right 2025-03-09 01:23:10 -05:00
tildearrow 6537125976 T6W28: acquireDirect() 2025-03-09 00:03:11 -05:00
tildearrow 001cda561a T6W28: fix
but no sound
2025-03-08 22:57:29 -05:00
tildearrow 1e8b93c92a T6W28: completely break the system 2025-03-08 19:38:16 -05:00
tildearrow eea95b1f90 2%
LD.ZRsku p jrsyju rsp jyrsp jyrsp nyeapby eal
 PT P#
2025-03-08 19:32:11 -05:00
tildearrow 3d59d68158 it gets worse 2025-03-08 18:58:31 -05:00
tildearrow 0d78e9bb10 NDS: squeeze out a bit more 2025-03-08 18:48:06 -05:00
tildearrow c9695caf35 NDS: acquireDirect()
it took a while

master volume may not work
2025-03-08 18:42:19 -05:00
tildearrow ce59a015e9 fix build failure 2025-03-08 04:59:01 -05:00
tildearrow d8f66523b6 NDS: prepare for optimization 2025-03-08 04:37:42 -05:00
tildearrow 9981ab7e43 SN: acquireDirect() 2025-03-08 03:23:49 -05:00
tildearrow b8f214020f AY: get TFX and DAC working!
sadly I don't think I can improve this any further for now...
2025-03-08 03:05:09 -05:00
tildearrow 42920b9101 AY: this sucks, part 3
improve heuristics... noise is very slow
2025-03-08 02:22:45 -05:00
tildearrow ccf9277bfe AY: this sucks, part 2 2025-03-07 20:32:23 -05:00
tildearrow 9681f25e54 AY: this sucks, part 1 2025-03-07 20:19:24 -05:00
tildearrow cb67527103 AY: prepare for optimization 2025-03-07 19:37:18 -05:00
tildearrow 33aebf29c6 PCE: improve sample performance 2025-03-07 18:46:53 -05:00
yohannd1 f2d6ae78fa sample filter ui: clamp frequency on popup 2025-03-07 18:41:17 -05:00
yohannd1 37d49ffe0f sample filter ui: add sweep option 2025-03-07 18:41:17 -05:00
tildearrow 0d7ef2e8eb WonderSwan: acquireDirect() 2025-03-07 18:37:25 -05:00
tildearrow 3d915270b1 GUI: remove Virtual Boy quality setting 2025-03-07 17:06:47 -05:00
tildearrow 6050b2c31b Virtual Boy: acquireDirect() 2025-03-07 17:05:12 -05:00
tildearrow 229003c597 VRC6: acquireDirect()
to-do: check for regressions? I need to sleep
2025-03-07 06:28:03 -05:00
tildearrow 0e7df18ab3 NES and MMC5: heuristic oopsie 2025-03-07 05:11:18 -05:00
tildearrow c5492f2f2c PCE: oh man a typo 2025-03-07 04:34:27 -05:00
tildearrow 8ee01d15f7 TIA: acquireDirect()
# TIA Benchmark

twin.fur

acquire(): 11.324s
acquireDirect(): 1.267s

Balmeranda.fur

acquire(): 11.923s
acquireDirect(): 1.093s

# MMC5 (Goofy Asses per second)

unoptimized: 9.22/s
optimized: 108.96/s
2025-03-07 03:58:13 -05:00
tildearrow 9730988cef MMC5: reset write queue... 2025-03-07 03:21:04 -05:00
tildearrow 47f176b0f0 MMC5: acquireDirect(), part 2
PCM now works
2025-03-07 03:12:18 -05:00
tildearrow 1070fb5d10 MMC5: acquireDirect(), part 1
no samples
also fixed chan osc
2025-03-07 03:07:52 -05:00
tildearrow 86fb92595a NES: fix a little accuracy problem 2025-03-07 02:31:38 -05:00
tildearrow 54d1998c70 make it clear I modified some of these cores 2025-03-07 02:16:09 -05:00
tildearrow 007ef91e84 NES: puNES acquireDirect(), part 3
reduce CPU usage a bit
2025-03-07 02:10:08 -05:00
tildearrow 08e7112d85 NES: fix unused variable 2025-03-07 02:02:55 -05:00
tildearrow 29849972dd NES: puNES acquireDirect(), part 2
per-chan osc
2025-03-07 02:02:04 -05:00
tildearrow 5df3e1f030 NES: make it C++
so we can submit to chan osc buffer
2025-03-07 01:57:52 -05:00
tildearrow 1d60bb03cc NES: reduce CPU usage when no channels active 2025-03-07 01:48:10 -05:00
tildearrow dde97171ab NES: puNES acquireDirect(), part 1
no per-chan osc
2025-03-07 01:29:40 -05:00
tildearrow ad8437e5ae this is why I don't use tabs
in one editor it's 8 spaces, in another it's 2...
spaces on the other hand are the same regardless of editor
2025-03-06 23:23:46 -05:00
tildearrow f43715775c no to-do 2025-03-06 20:23:10 -05:00
tildearrow 645e97ef93 NES: puNES macro expansion
preparations for acquireDirect()
2025-03-06 20:21:26 -05:00
tildearrow c2228cd74b SCC: acquireDirect() 2025-03-06 19:06:45 -05:00
tildearrow 7a6f6a6745 PCE: remove core quality 2025-03-06 12:18:10 -05:00
tildearrow 4c166b9b5a move blip_buf to extern
so it can be used by other cores
2025-03-06 12:07:28 -05:00
tildearrow 2078949093 Amiga: tweak the filters once again 2025-03-06 02:00:07 -05:00
tildearrow abaea665af GUI: find/replace selection in selected channels
issue #2393
2025-03-05 19:27:15 -05:00
tildearrow 43891b8d79 PCE: optimize 5ms 2025-03-05 19:07:10 -05:00
tildearrow 68a550a419 update the acquireDirect API
size_t offset is no more - it is always 0
2025-03-05 18:57:17 -05:00
tildearrow ec451cd80e Amiga: acquireDirect, part 3 2025-03-05 15:26:17 -05:00
tildearrow 69a43a70fc Amiga: improve filter calc 2025-03-05 05:40:39 -05:00
tildearrow e941dfb174 Amiga: acquireDirect, part 2
the filter is back!
2025-03-05 04:49:22 -05:00
tildearrow e116f2e523 PCE: fix anti-click 2025-03-05 00:17:09 -05:00
tildearrow 655b3621f6 Merge branch 'master' into amigaOpt 2025-03-04 13:18:07 -05:00
tildearrow 6e40a6980b PCE: fix chan osc!
ready to merge...
2025-03-04 12:57:59 -05:00
tildearrow ac8df480ab PCE: half working channel osc
it doesn't look right
2025-03-04 12:37:31 -05:00
tildearrow 11c99f9f96 PCE: push it even further!
now a bit faster
2025-03-04 12:21:56 -05:00
tildearrow ec5aafb9ad PCE: PCM works
CPU usage increases though when it's in use :<
2025-03-04 12:19:46 -05:00
tildearrow 5d3a22a502 PCE: PCM might work again 2025-03-04 11:57:41 -05:00
tildearrow f0a3e3f590 PCE: Mednafen is wonderful
the PSG emulator already comes with heuristics... I stripped them off
for Furnace but now that we have acquireDirect() we can give it our
blip_buf and handle everything there

from 40-70% to 10% CPU usage on my phone, and highest quality!

TODO:
- PCM
- chan osc (should be very easy)
2025-03-03 20:29:34 -05:00
tildearrow 95b1085aed I have no idea what's going on 2025-03-03 17:18:52 -05:00
tildearrow acdce2c795 Amiga: acquireDirect, part 1
filter no longer works... I'll think of a possible approach
2025-03-03 04:11:01 -05:00
tildearrow f5589d0084 Amiga: increase DMA off delay 2025-03-03 02:32:11 -05:00
tildearrow 71ac185cbf FDS: lower CPU usage 2025-03-03 02:27:00 -05:00
tildearrow b3b50bdb66 ESFM: optimize osc buf 2025-03-03 01:45:42 -05:00
tildearrow cf4807b5d0 optimize putSample a bit
use 16-bit precision even on 64-bit....
this allows some code optimizations
2025-03-03 00:51:47 -05:00
tildearrow 2926fad77e ASHA SDGFHJKLADG F;LHKJ 2025-03-02 23:18:02 -05:00
tildearrow 6f8da93714 size_t 2025-03-02 23:04:48 -05:00
tildearrow 8dcbd0fe1c Merge branch 'ga20opt' 2025-03-02 20:53:53 -05:00
tildearrow f39039766e possibly fix build. 2025-03-02 20:49:10 -05:00
tildearrow 6d55c8088c GA20: yaaaay I fixed chan osc 2025-03-02 20:41:34 -05:00
tildearrow 8f54445625 GA20: acquireDirect optimizations, part 1
buggy, slow and glitchy
output is good but chan osc is now broken

from 1.5 to 0.4 seconds
2025-03-02 20:29:28 -05:00
tildearrow 2c75555fae GA20: excellent... 2025-03-02 19:34:52 -05:00
tildearrow 6813c30e3a new chan osc, part 8
fix remaining bugs
2025-03-02 18:02:38 -05:00
tildearrow 49a8693dcb new chan osc, part 7
i am done
2025-03-02 16:14:49 -05:00
tildearrow 6265d2cd39 new chan osc, part 6
more adaptations

how can I get you out of my head... I want to go back to work!
2025-03-02 04:11:10 -05:00
tildearrow fe00ee805d new chan osc, part 5
fix C64 rate
2025-03-01 19:57:16 -05:00
tildearrow a16d20e190 new chan osc, part 4
adapt dispatch code to it
2025-03-01 19:49:56 -05:00
tildearrow c0e4552c52 new chan osc, part 3
fix the jerkiness!
2025-03-01 18:46:11 -05:00
tildearrow 10e60ec8c1 new chan osc, part 2
why is it jerky?
2025-03-01 17:22:34 -05:00
tildearrow 6dc4f16689 GUI: add an audio load chart 2025-03-01 06:10:59 -05:00
tildearrow dd7e1def3d new chan osc work in progress 2025-03-01 05:05:50 -05:00
tildearrow 0eea0ec139 a new method for setting chan osc rate... 2025-03-01 00:33:15 -05:00
tildearrow c83ecfe993 prepare new chan osc code
chan osc output will be 65536Hz - always
new functions for initializing the osc buffer and all
2025-02-26 20:29:13 -05:00
tildearrow e94d99d79e PC Speaker: fix it 2025-02-26 15:45:26 -05:00
tildearrow d935d3c6d1 acquireDirect proof of concept
extremely low CPU usage in PC Speaker

WARNING! no per-chan osc yet!
2025-02-25 19:58:25 -05:00
tildearrow 4502fa6912 FIX BUILD FAILURE 2025-02-25 18:56:04 -05:00
tildearrow 4b1e883d1b PC speaker: prepare for acquireDirect 2025-02-25 18:53:02 -05:00
tildearrow 231819da2e Revert "Revert "prepare acquireDirect API" - stupid crap"
thought of an idea for optimization. let's try again.

This reverts commit 4ca7033dec.
2025-02-25 18:45:28 -05:00
tildearrow 8d8e51d36a disable 32-bit float audio export in per-chip mode
issue #2389
2025-02-25 15:34:36 -05:00
tildearrow 7d0ef24574 GUI: use three hashes
it wasn't two...
2025-02-22 20:25:42 -05:00
tildearrow f674a38d8e GUI: optimize pattern view
don't render what isn't visible
from 3.5ms to 2ms in my phone

to-do: check for regressions...
2025-02-22 19:57:53 -05:00
tildearrow dd9983778b GUI: selection/scroll improvements
now you can scroll left/right by dragging selection to the side edges
2025-02-22 18:43:46 -05:00
tildearrow f4d357ff6f GUI: update credits 2025-02-22 15:55:04 -05:00
techmetx11 18c5d80a09 Use more .getPattern() 2025-02-22 15:18:23 -05:00
techmetx11 27a1914924 Use .getPattern() 2025-02-22 15:18:23 -05:00
techmetx11 56937d8f05 Fix naming 2025-02-22 15:18:23 -05:00
techmetx11 308aacc1e6 Implement looping in TFM import 2025-02-22 15:18:23 -05:00
LTVA1 c58a7cba20 Update sid3.c 2025-02-22 14:45:09 -05:00
tildearrow a80cdbb1dd ES5506: increase precision in Amiga pitch mode
issue #2120
2025-02-22 01:32:31 -05:00
tildearrow c5576ebcd2 PCE: fix sample linger in VGM export
issue #2322
2025-02-21 19:41:48 -05:00
tildearrow 9af53cac73 PCE: fix sample volume in VGM export
issue #2319
2025-02-21 19:35:29 -05:00
tildearrow 41d3dcde66 Virtual Boy: handle phase reset first 2025-02-21 18:58:58 -05:00
tildearrow 0b1e90b908 Virtual Boy: disable channel 5 when changing mod t
able
2025-02-21 18:50:00 -05:00
tildearrow cfb962236a WaveSynth: add change detection
don't update wave if it is intact
issue #2298
2025-02-21 17:25:05 -05:00
tildearrow 8c67ea8eb9 GUI: load fallback fonts in pattern font...
issue #2312
2025-02-21 16:58:59 -05:00
tildearrow 040ceb788d .ftm import: improvements
- cut/delay policy is now lax (why was it set to strict?)
- macro release mode is now Active (issue #2376)
2025-02-21 16:23:21 -05:00
tildearrow 4ca7033dec Revert "prepare acquireDirect API" - stupid crap
the most POINTLESS plan of all time... acquireDirect.
why? because you gotta fill in the oscBufs anyway, which will take
precious CPU time, so you can't just pass the blip_bufs to dispatch
and hope it'll help by not processing when nothing's happening.

"so disable it when the per-chan osc is up!" NO! we need this for
volume calculation....

"how about rewrite per-chan osc logic?" you know what? I don't have
either the time or the will for that.
now back to Something Else......

This reverts commit 08177d839a.
2025-02-21 01:27:04 -05:00
tildearrow cf89a4ff44 GA20: yet another optimization 2025-02-20 04:44:19 -05:00
Natt Akuma c6bb7acfad Merge branch 'master' of https://github.com/tildearrow/furnace 2025-02-20 05:33:31 +07:00
Natt Akuma b084b5f977 Add a missing chrono include
This fixes MSVC v143 build failure
2025-02-20 05:33:06 +07:00
tildearrow 08177d839a prepare acquireDirect API
provide direct access to blip_buf to dispatch code, which may allow for some serious optimizations
2025-02-19 15:46:10 -05:00
tildearrow a2bd669792 Virtual Boy: where did the noise channel go? 2025-02-19 04:29:54 -05:00
tildearrow 1d445d574a Amiga: more validation export changes
this will do... i have no idea how it works
2025-02-19 04:28:22 -05:00
tildearrow 331c146ad8 Amiga: validation export improvements
now it uses VBlank interrupts
also works when fast memory is present!
2025-02-19 04:17:08 -05:00
tildearrow 5b6721738b GUI: change instrument on mobile? 2025-02-19 00:14:21 -05:00