Commit graph

405 commits

Author SHA1 Message Date
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
Blue
822dc626a4 Project: Remove unused imports 2020-06-20 11:24:53 +02:00
Nelson C
937991eff1
Isolated Winforms from rest of solution (#12)
Moved Winforms references away
2020-06-20 11:09:05 +02:00
Blue
7619bc539c CDROM: Fix read XA sector not reseting counter. 2020-06-18 22:06:48 +02:00
Blue
c5061e70a7 CDROM: Delay SeekL and SeekP secondary interrupt and handle STAT. This makes Gran Turismo 2 playable. 2020-06-18 21:58:56 +02:00
Blue
59d3d06d37 CDROM: SetLoc remove unneded int2 2020-06-18 21:47:05 +02:00
Blue
423d5071dc Merge branch 'master' of https://github.com/BluestormDNA/ProjectPSX 2020-06-10 22:17:20 +02:00
Blue
5a8803143b CDROM: Add XaAdpcm Decoder stub 2020-06-10 22:15:02 +02:00
Blue
38a3c65e8c CDROM: Refactor 2020-06-10 22:14:39 +02:00
Blue
d31a5e7513 Refactor: Disassembler 2020-06-10 22:13:14 +02:00
Blue
dc6d88bdc9 GTE: Early return on flags 2020-06-10 22:12:35 +02:00
Pedro Cortés
295463a03c
Update README.md 2020-06-05 21:22:54 +02:00
Blue
7c44e9155b CDROM: Further work on getTN, getTD, and play.
Tihs makes Wipeout playable when loading from CUE the full tracks.
2020-06-05 20:37:28 +02:00
Blue
efc2c04b2d CD: Use ttacks from bin or cue parser when available 2020-06-05 20:30:43 +02:00
Blue
f4e8615b69 Add: TrackBuilder
This is a util class that builds track arrays for CDs so the CDROM can use getTD getTN and Play CDDA. It  contains a bare bones CUE parser only useful for my test use cases...
2020-06-05 20:28:32 +02:00
Blue
56a5701a0b GPU: Fix poly vertex 11bit sign extend, reject lines over VRAM size
This fixes weird lines on RR4, and lacking polys on THPS and probably other games...
2020-04-04 19:55:39 +02:00
Blue
3675227a03 MemoryCard: Add memory card. Fix joypad/controller. 2020-03-29 21:33:55 +02:00
Blue
e79a0e673b InterruptController: Interpolate strings 2020-03-29 21:33:13 +02:00
Blue
1c57e7ed5b CDROM: Use Add Range on getID NoDisk and DoorOpen 2020-03-29 21:22:27 +02:00
Blue
bcc73745c3 DigitalController: Fix input on games that poll with 0x01 instead of 0x00 like soul edge, thps and some others... 2020-03-24 01:19:53 +01:00
Blue
523b2582f5 Remove unneded 4.7 framework file 2020-03-24 01:17:00 +01:00
Blue
793013ee30 DMA: use lists bulk addRange on LinkedLists instead of queues for add 2020-03-17 21:21:44 +01:00
Blue
cfc2b44a3e CD: WIP read sector header and subheader info 2020-03-17 21:20:00 +01:00
Blue
14110a8d86 CDROM: WIP Sector Header and SubHeader handling. Dequeue secondary int on clear IF. Handle getLocL and setFilter. 2020-03-17 21:19:27 +01:00