Commit Graph

485 Commits

Author SHA1 Message Date
meepingsnesroms
200315e51c Fix popping with non AUDIO_END_OF_FRAME % AUDIO_SAMPLES_PER_FRAME == 0 sample rates 2018-11-01 21:06:12 -07:00
meepingsnesroms
dda3237a70 Sound is fully working 2018-11-01 16:23:19 -07:00
meepingsnesroms
73c6f1b06a Yay, working audio DEEEEEWs
DEEEEEEEEEEEEEEEEEW
2018-11-01 13:09:18 -07:00
meepingsnesroms
e5a7899b0d The audio is the right pitch, still a bit glitchy though. 2018-11-01 11:52:12 -07:00
meepingsnesroms
8bcde4ef34 At least as good as the last commit 2018-10-30 18:04:03 -07:00
meepingsnesroms
2835b37e18 The test squeals now 2018-10-30 13:26:02 -07:00
meepingsnesroms
69d0d7cbd7 Fix compiling on windows again 2018-10-30 11:03:27 -07:00
meepingsnesroms
8c2c54c208 More cleanups, get Cyclone attached on RetroArch Android version 2018-10-29 21:18:07 -07:00
meepingsnesroms
74ea1c19a9 RetroArch port now working again 2018-10-29 19:12:42 -07:00
meepingsnesroms
09f6a21598 Prevent FIFOAV from being permanently set, fixes lockup with playConstantTone 2018-10-29 18:39:04 -07:00
meepingsnesroms
f739319107 Remove useless tests, add audio test
Currently the audio test locks up the emulator.
2018-10-29 15:57:11 -07:00
meepingsnesroms
a98089796e Cleanups 2018-10-29 15:10:26 -07:00
meepingsnesroms
9e9f54ee8f Cyclone is now somehow working
Almost finished with this issue, then I can bet back to audio and the side project.
2018-10-28 18:28:45 -07:00
meepingsnesroms
ef573ba2a8 Add debug functions for Cyclone 2018-10-28 16:49:43 -07:00
meepingsnesroms
76d5d2572d RetroArch port loads again, but crashes on closing, now usin asan too 2018-10-28 15:16:03 -07:00
meepingsnesroms
389883062c Now using vfs, but crashing. 2018-10-28 13:23:27 -07:00
meepingsnesroms
9dc85a2ab3 Well Android is full speed with out ARM optimization on RetroArch
Qt on Android is just defective I guess.
2018-10-28 11:32:56 -07:00
meepingsnesroms
6ed141251d Finish fixing RetroArch port build 2018-10-28 10:55:56 -07:00
meepingsnesroms
b2e58912f6 Try to fix RetroArch port 2018-10-28 10:43:57 -07:00
meepingsnesroms
ba0221632e Almost have opcodes executing in cyclone, made endianess cyclone compatible
Almost certainly broke the RetroArch build
2018-10-27 17:50:51 -07:00
meepingsnesroms
afad28958a More ARM stuff, allow read/write safety check disableing 2018-10-27 10:46:30 -07:00
meepingsnesroms
acd5e9afd5 Almost have ARM core working 2018-10-27 02:21:52 -07:00
meepingsnesroms
d88b508f69 Most of ARM specific CPU core 2018-10-27 01:02:38 -07:00
meepingsnesroms
33d07a410a Reduce musashi references, prepare to add ARM optimized 68k emulator 2018-10-26 22:47:13 -07:00
meepingsnesroms
343705b12e Fix 2 broken things 2018-10-26 20:59:05 -07:00
meepingsnesroms
e4832cc757 Nitpicks and tiny speed inprovement 2018-10-26 18:05:02 -07:00
meepingsnesroms
7f55aaf80b Some misc updates 2018-10-26 14:18:24 -07:00
meepingsnesroms
03d7ea2bcf The audio still sounds lower frequency, but the correct samples are playing
At this point its likely the speaker just doset squeal the same way as the Palm  and never will since its not a peizo buzzer.
2018-10-26 13:02:44 -07:00
meepingsnesroms
8f112ca0be Emulate inductor, its still not tuned properly 2018-10-26 10:16:27 -07:00
meepingsnesroms
cf681eb246 I really wanted to just be lazy, but it looks like I have to emulate the inductor for proper squealing 2018-10-26 08:39:42 -07:00
meepingsnesroms
74bc0b15f8 Change PLL disable method 2018-10-25 16:48:20 -07:00
meepingsnesroms
f622aa8695 Make the audio copy threaded 2018-10-25 14:03:18 -07:00
meepingsnesroms
14f2bbf4de More audio info 2018-10-24 19:57:04 -07:00
meepingsnesroms
91d6861409 Audio is a little better, low and high options in settings dont seem to work though. 2018-10-20 17:32:55 -07:00
meepingsnesroms
2e73303419 Fix how duty cycle is used 2018-10-20 15:55:31 -07:00
meepingsnesroms
0a9a7ae3a1 Prevent audio from overwriting previous sample if a second sample is played after 2018-10-20 09:29:30 -07:00
meepingsnesroms
4af9d407ed Make PWM period equal to PWMP1 + 2
Still a clicky mess
2018-10-19 15:40:09 -07:00
meepingsnesroms
891daf66be Hopefully fix sample overflow
When a sample was written on the first set of SYSCLKs of the first CLK32 of a frame and PWM1 was waiting for a sample it would subtract the cycles from 0 then when cast to unsigned would overflow the max number of samples.
2018-10-19 14:13:38 -07:00
meepingsnesroms
65c1329543 Change the way FIFOAV works 2018-10-19 12:41:02 -07:00
meepingsnesroms
a769afe99b Reset the PWM1 variables on boot
Also use newFrameReady() instead of double buffering for threads, less useless copying.
2018-10-19 11:48:19 -07:00
meepingsnesroms
4ce4beef6d Finish for today 2018-10-18 18:21:37 -07:00
meepingsnesroms
c3bf60dfc4 Cleanups 2018-10-18 18:04:44 -07:00
meepingsnesroms
9799b6ecc4 Switch to libretro-common 2018-10-18 17:50:41 -07:00
meepingsnesroms
8de8a3ecdd Fix half speed bug 2018-10-18 16:46:12 -07:00
meepingsnesroms
ac74668562 Fix libretro joystick 2018-10-18 16:09:06 -07:00
meepingsnesroms
1ca70e0719 More cleanups and a audio safety check 2018-10-18 12:28:38 -07:00
meepingsnesroms
06f22b714a Audio can now run in CLK32 mode and play past samples 2018-10-18 12:03:58 -07:00
meepingsnesroms
3a95f471e3 Clean up messy code 2018-10-18 11:51:27 -07:00
meepingsnesroms
5fc429ff14 Mostly working audio, better than POSE! 2018-10-18 11:35:09 -07:00
meepingsnesroms
0f37324265 Prepare to add FIFO queue back, audio is working normaly for single writes now 2018-10-18 10:24:24 -07:00