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
meepingsnesroms
c4078bf4a5
Audio always seems to work on touch down in RetroArch, just need to add FIFO back
2018-10-16 18:04:45 -07:00
meepingsnesroms
d108d33c64
Well the audio is shitty and the FIFO is missing but buttons sometimes make noise
2018-10-16 17:51:30 -07:00
meepingsnesroms
42f5a7d8e5
Add print audio buffer, audio still broken
2018-10-16 17:33:46 -07:00
meepingsnesroms
ed5f2549e7
Add a fixed frame timer for audio
2018-10-16 16:45:21 -07:00
meepingsnesroms
22fb689097
Add blank instance of blip_buf
2018-10-16 15:44:46 -07:00
meepingsnesroms
13a9efee6e
Remove last of old audio code
2018-10-16 11:36:31 -07:00
meepingsnesroms
204c3f9a44
Remove broken PWM1 implementation
...
Going to try again using blip_buf and no FIFO
2018-10-16 11:29:18 -07:00
meepingsnesroms
66de6ea791
Fix buffer overflow from audio, prevented the emulator from starting in release mode
2018-10-15 15:27:20 -07:00
meepingsnesroms
1e8831cf9a
Remove excess ifs from CPU runloop
2018-10-13 09:28:48 -07:00
meepingsnesroms
d08d4a45bc
PWM1 can now be used by SYSCLK and CLK32
...
Although its off right now because the glitchy audio needs to be reimplemented.
2018-10-11 13:17:56 -07:00
meepingsnesroms
f77344dae2
SYSCLKs are now separeate from CLK32
2018-10-11 10:55:47 -07:00
meepingsnesroms
508cab0b41
Prepare timers for switch to SYSCLK accuracy
2018-10-11 10:16:01 -07:00
meepingsnesroms
8944e0c954
Update src/emulator.h
2018-10-11 09:33:12 -07:00
meepingsnesroms
47124bda2e
Use correct sound buffer size everywhere
2018-10-10 15:13:11 -07:00
meepingsnesroms
fe361ca97c
Remove empty function
2018-10-10 08:46:23 -07:00
meepingsnesroms
86dfa09fe1
Put back the desired changes from the blip_buf branch
2018-10-09 21:11:54 -07:00
meepingsnesroms
30d2359325
Add cursors for libretro port, doesnt fully compile since the mac update though
2018-10-09 14:35:47 -07:00
meepingsnesroms
e94b98b8b8
Add PWM1 to savestates
2018-10-07 13:44:05 -07:00
meepingsnesroms
b50ed1e21a
Update changelog
2018-10-07 12:18:47 -07:00
meepingsnesroms
21c99fb75e
Formatting fixes
2018-10-06 18:41:27 -07:00
meepingsnesroms
c9f7c55022
Cleanups allow reading palmSpecialFeatures from inside the emulator
2018-10-06 18:31:46 -07:00
meepingsnesroms
785512f534
address error and bus error are now emulated, hwTestSuite can now detect the emu without crashing
...
Also switched the tabs in musashi for spaces, I will likely need to edit musashi again anyway.
2018-10-06 17:10:56 -07:00
meepingsnesroms
76d3cc1371
Can now detect actual hardware, but crashes on emu when emu features is disabled
2018-10-06 14:17:10 -07:00
meepingsnesroms
f41a81b7f7
Add actual isEmulator test, still crashes device, the assembly buffer likely isnt right
2018-10-06 10:05:38 -07:00
meepingsnesroms
6847540583
Misc cleanups
2018-10-05 20:03:31 -07:00
meepingsnesroms
71be0617c8
Put emu registers in EMUCS
2018-10-05 17:53:03 -07:00
meepingsnesroms
82fc6217d3
It now compiles on windows
...
Still wont load the ROM when play is pushed, dont know why, the path and name are correct.
2018-09-28 18:04:49 -07:00
meepingsnesroms
707d55abaf
Fix multiply by 0
2018-09-25 16:17:33 -07:00
meepingsnesroms
966fbf902d
Sound now kinda working in galax
2018-09-25 15:44:46 -07:00
meepingsnesroms
3aaed024fa
Somewhat better in galax
2018-09-25 14:23:24 -07:00
meepingsnesroms
d4b5638184
Qt now plays audio and the audio is influenced by the Palm state but there is a nasty squeal
2018-09-25 14:16:17 -07:00
meepingsnesroms
f28987796f
More cleanups
2018-09-25 13:13:50 -07:00