Commit graph

428 commits

Author SHA1 Message Date
Blue
b5eaa2419a MDEC: Handle min max on q_scale 0 and cleanup 2021-01-11 22:32:13 +01:00
Blue
409aec9eac MDEC: Handle more than 1 possible 0xFE00 padding 2021-01-10 21:44:07 +01:00
Blue
a2d031f093 MDEC: Clean up IDCT, use ReadOnlySpan on ZagZig 2021-01-10 13:07:31 +01:00
Blue
3ffc3a26cb Use Span<T> on Dma from Ram and GPU LinkedLists 2021-01-09 01:27:38 +01:00
Blue
f88d4f9088 DMA: Simplify BlockCopy 2021-01-08 23:42:24 +01:00
Blue
fa7a97d6b4 DMA: Remove linkedList list, send to gpu each node 2021-01-08 23:18:42 +01:00
Blue
71cf6ac11f Bus: Remove load and write width from Cdrom, joypad and timers 2021-01-08 20:27:17 +01:00
Blue
86a03931ce Project: Recover debug console on Visual Studio >= 16.8 2020-11-20 16:26:12 +01:00
Blue
02aa6bafcb OpenTK: Update to 4.2 2020-11-20 16:25:14 +01:00
Blue
98996a01e2 Update: OpenTK 4 pre10 2020-10-02 01:11:32 +02:00
Blue
f8c5fe39df OpenTK: Simplify OpenAL bufferdata 2020-09-19 19:32:08 +02:00
Blue
87ee1af1f9 OpenTK: Update to 4 Pre9.6
This version fixes some deps problems on linux
2020-09-19 19:20:29 +02:00
Blue
8d3fc2536b GPU: Remove colorRef and unnecesary ANDs 2020-09-19 19:19:09 +02:00
Blue
3b0eaec887 CPU: Nop special case
Skip Nop go brr
2020-08-26 19:51:59 +02:00
Blue
a28458328e GTE: RTPS Unr Tests 2020-07-31 16:32:54 +02:00
Blue
f525e5b9dc GPU: Remove unneded delegate 2020-07-31 16:32:37 +02:00
Blue
652c5132ed SPU: Fix interrupts
This fixes MGS getting a lot of desync on voice over because interrupts where triggered on each tick as the hw is not clearing the status flag.
2020-07-28 20:37:37 +02:00
Blue
1b2e8e6fe0 GPU: Add masking
Fixes some funky graphics on Metal Gear Solid intro and the white squares everywhere on Silent Hill
2020-07-25 11:41:53 +02:00
Blue
47b6d472d0 SPU: Add Capture Buffer
This makes Crash Team Racing playable
2020-07-22 20:07:43 +02:00
Blue
89baf1df76 SPU Voice: Fix adsr step
This fixes the decay and release of voices like the ff8 main menu or the chime on bios
2020-07-21 21:47:03 +02:00
Blue
92203eaabc SPU: Merge CDDA and XA on SPU output 2020-07-21 19:12:40 +02:00
Blue
b4379491fb SPU: Handle mute 2020-07-20 21:08:27 +02:00
Blue
3902e64593 SPU: Noise generator step + 4 [0-3] = [4-7] 2020-07-20 20:40:17 +02:00
Blue
e959562068 SPU: Add ADSR Envelope
Still theres some chime not decaying or releasing on boot or in ff8 intro but better than nothing...
2020-07-20 20:06:50 +02:00
Blue
a602b52746 GPU: force exit CPUtoVRAM on last pixel 2020-07-19 00:39:35 +02:00
Blue
c0d1f602fc SPU: Add ram irqAddress interrupt
Among other things this makes Metal Gear Solid ingame
2020-07-18 21:05:05 +02:00
Blue
87b0a33ffd SPU: ADPCM Tests: Disable CD output. Dma overflow handling, loop flags, noise generator, pitch modulation sample interpolation 2020-07-17 22:55:29 +02:00
Blue
b8bbd15709 Voice: Setup registers, Decode Spu Adpcm 2020-07-17 22:52:29 +02:00
Blue
d2dd261af1 Project: refactor constructors to main instead of bus 2020-07-05 23:37:31 +02:00
Blue
a7f05514f3 CDROM: Handle cdda and xa output to spu 2020-07-05 23:35:41 +02:00
Blue
5add15c86e CDROM: Add volume handling to cdda and xa 2020-07-02 21:37:10 +02:00
Blue
d3453bd05c CDROM: Further work on getLocP
This should fix Capcom vs SNK sound stopping
2020-06-27 23:27:15 +02:00
Blue
f8cc3f48ae Bus: Remove IO address space
Handle only the memoryCache register
2020-06-27 15:48:42 +02:00
Blue
6ecf039783 SPU: Add stub 2020-06-27 10:59:06 +02:00
Blue
7e695a448d Timers: remove static timerCounter and move parameter to constructor.
This was causing problems relaunching another game on opentk as it was initing timers 3, 4, 5...
2020-06-25 20:24:01 +02:00
Blue
739ad037a0 OpenTK: Add drag and drop for bin and cue files for testing 2020-06-25 20:22:29 +02:00
Blue
19565b056d Winforms: Implement main loop from ui level 2020-06-25 20:21:24 +02:00
Blue
509a695ec3 Core: Simplify Interface, move parameters to constructors on devices 2020-06-25 20:20:39 +02:00
Blue
0d697e33de Project: Update interface methods names 2020-06-22 21:31:19 +02:00
Blue
a90ff95999 Project: Add barebones OpenTK frontend
This hopefully works on Linux...
2020-06-21 22:16:15 +02:00
Blue
4f5f276b2e Project: Add RunFrame 2020-06-21 22:15:30 +02:00
Blue
89030dfc04 Audio: Enable CDDA and XA Play
This is handled with NAudio. Cracks and pops are either for too fast or too slow emulation as we miss a proper main loop, yet...
2020-06-21 01:59:30 +02:00
Blue
1eb8669c05 XaAdpcm: Fix mono resampling
18900Hz still pending...
2020-06-21 01:58:41 +02:00
Blue
840b25e05b Project: Update Project files 2020-06-20 22:42:33 +02:00
Blue
2cee141cde Project: Add WinForm project 2020-06-20 22:42:20 +02:00
Blue
7060dc993b Project: Split Winform from ProjectPSX core 2020-06-20 22:41:46 +02:00
Blue
c00b8a7e99 XaAdpcm: Handle decoding and interpolating.
Missing handle mono correctly, 18900hz interpolating and fixing the crack on some audio. Very annoying on some intros like castelvania, gran turismo or dragon ball gt bandai mdec...
2020-06-20 13:05:42 +02:00
Blue
a640bcb60a CDROM: Try to unhardcode getLocP subchannel info 2020-06-20 12:38:34 +02:00
Blue
304da3b759 CDROM: Handle rawSector from CD read when needed, prepare for XA and CDDA play... 2020-06-20 12:35:17 +02:00
Blue
901caea606 CD: Allways read whole sector.
The logic of raw vs data is better handled on the CDROM as some cases like CDDA overwrite the raw flag...
2020-06-20 11:32:34 +02:00