Commit graph

390 commits

Author SHA1 Message Date
Blue
0f52c35868 Project Migrate to .NET 5 2021-01-24 13:34:41 +01:00
Blue
96456b9833 OpentTK: Update to 4.4 2021-01-24 13:18:23 +01:00
Pedro Cortés
2f79a50d36
Gdi (#18)
* Push Interop

* GDI Render: UI

* Gdi: Add BltMode

* Winform GDI: Handle y ranges
This is badly handled and X still left
2021-01-24 12:16:01 +01:00
Pedro Cortés
8912d88da4
Update README.md 2021-01-22 21:19:12 +01:00
Blue
33291cb9ad Minor refactor 2021-01-22 19:23:03 +01:00
Blue
a2bd5b5816 SPU: Pass a ref to IRQController to trigger INT on DMA
WIP irq dma
2021-01-22 16:34:17 +01:00
Blue
fd7b8bb0a4 DMA: handle to device on BUS, handle SPU load 2021-01-21 23:46:55 +01:00
Blue
b9c60a2e85 DMA: OTC move to BUS 2021-01-21 22:56:48 +01:00
Blue
55b7b6a130 DMA: Handle MdecOut Span
This is the first step to trying to spanize all the dmas and set the base for resumable dmas
2021-01-19 22:07:09 +01:00
Blue
cdcf9d855f MDEC: Handle abort ctr cmd, fix status current block 2021-01-17 12:07:54 +01:00
Blue
daec73937a GPU: clamp to 0xFF x y texel coords
This fixes FF7 menus glitches
2021-01-16 16:56:12 +01:00
Blue
0b551e00c7 MDEC: Refactor buffers and decode. 2021-01-13 22:40:42 +01:00
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