Commit graph

1751 commits

Author SHA1 Message Date
PSI-Rockin
dda9b4c934 Added VITOF0 and VCLIP instructions 2018-06-02 19:29:00 -04:00
PSI-Rockin
079f1204b8 Added keybindings for LEFT, RIGHT, TRIANGLE, and SQUARE 2018-06-02 17:16:41 -04:00
PSI-Rockin
4448157b49 Added IMAGE2 for GIF
Also commented out section header code in execute_ELF (fixes Katamari Damacy segfault)
2018-06-02 16:56:13 -04:00
PSI-Rockin
1d31ea0e80 Big changes! Atelier Iris: Eternal Mana goes in-game
Unfortunately it requires a hack to skip movie playing - will work on that soon
Added incomplete BDEC implemnentation
Lots of GS improvements - added PSMCT16 CLUTs and swizzling, fixed alpha blending bug, and much more
Added "MPG" command for VIF
Added more SPU infrastructure
Various instructions implemented
2018-06-02 15:48:49 -04:00
András Ottó Földes
73693f7975 GS triangle optimizations and minor cleanup (#41)
* Added minor optimization to render_triangle

* Simplified GS code by fully utilizing the Vertex struct. Removed all previous uses of Point, as Vertex has the same utility now.

* Optimized render_triangle

* Implemented texture mapping for draw_pixel() and render_line(), and minor improvements
2018-05-25 20:10:15 -04:00
PSI-Rockin
a156fdf45f Fixed a bug in the get and set methods of DPCR2 2018-05-20 22:14:25 -04:00
PSI-Rockin
94c096547f Increased VSYNC timings to their proper NTSC value
Kingdom Hearts magically boots now (but sadly hangs just before reaching menus)
2018-05-20 19:24:38 -04:00
PSI-Rockin
4fead09dbe Added missing header 2018-05-20 16:20:45 -04:00
PSISP
57a160fb03
Merge pull request #44 from tokumeiwokiboushimasu/master
Remove VLC_Table struct
2018-05-20 16:18:59 -04:00
PSI-Rockin
40c9b01f50 Somehow, Shadow of the Colossus boots now
Made some minor changes to DMAC emulation (added call/ret tags)
Added support for line strip primitives
Added stubs for more VIF commands
2018-05-20 16:17:25 -04:00
tokumeiwokiboushimasu
8db7f5ac82
Update ipu.hpp 2018-05-17 18:34:54 +09:00
PSISP
aff10e1e26
Merge pull request #42 from tokumeiwokiboushimasu/master
cstdio is needed by printf
2018-05-16 19:57:52 -04:00
tokumeiwokiboushimasu
2546527b91
cstdio is needed by printf 2018-05-17 08:52:49 +09:00
PSI-Rockin
0e44144924 Implemented basic VIF and IPU components
This allows Atelier Iris to progress past the memory card screen and start playing a movie (it crashes on BDEC)
Added uint128_t/int128_t types - EE read/write and DMAC methods adopt these types now
Added very ugly IOP ALU tests
2018-05-16 16:36:11 -04:00
PSI-Rockin
0e5b2bc7eb Magically made the pad work. Only UP, DOWN, CIRCLE, and CROSS implemented
Fixed mult/multu bugs in IOP - gonna need to do some unit tests for the rest of the instructions
Placed GS depth test in its own function
Added ST for PACKED mode in GIF
2018-05-07 22:06:29 -04:00
PSI-Rockin
cf6de8e230 Split emulation onto its own thread
Possibly buggy; needs more testing
Added file path of currently loaded executable/disc to the title bar
Implemented TEX2 and slightly optimized render_triangle
2018-04-29 00:04:49 -04:00
PSI-Rockin
0fb7577e3c Made master_int_enable (bit 16) of COP0 writable
Fixes KH1 hang, possibly in other games as well
Hopefully fixed parsing issues for SYSTEM.CNF?
Added CSM1 CLUTs for 4-bit textures
Added VRGET and VRXOR
Added basic and buggy SIO2in/SIO2out implementation to IOP DMA
2018-04-28 15:13:08 -04:00
PSI-Rockin
7cd227cd07 Big changes. Rewrote some GS functions and implemented PSMCT32 swizzling
The memory card screen in Disgaea looks a lot better now (but not perfect). Swizzling fixed the CLUTs
Added a lot more MMI instructions too
2018-04-27 21:58:04 -04:00
PSI-Rockin
a2b8a7099c Fixed deadly PCPYUD bug
Some games get further in execution now; Atelier Iris displays an interesting particle effect on screen (but no other graphics)
Also fixed edge case bugs in other instructions, such as DIV
2018-04-23 23:06:52 -04:00
PSI-Rockin
fbcc88854f Added more MMI ops and VU ops
Added "FIELD" bit for GS CSR
Fixed ErrorEPC logic in COP0
Added compare check for EE timers
All these changes help games progress, but nothing still boots...
2018-04-22 23:04:03 -04:00
PSI-Rockin
604e64a88c Added some VU ops and support for PSMCT16 2018-04-21 19:40:00 -04:00
PSI-Rockin
7bd9292f49 Added suba.s, madd, dsub, and paddub ops 2018-04-21 17:53:00 -04:00
PSI-Rockin
5c4d17f484 Updated README and removed TASKS file
Added some missing EE instructions. Disgaea gets to the memory card screen! (but it looks janky as all hell)
Added SPU stub
Removed some SIF printf statements
2018-04-21 16:25:22 -04:00
PSI-Rockin
6073caa070 Merge branch 'master' of https://github.com/PSI-Rockin/DobieStation 2018-04-21 15:07:05 -04:00
PSI-Rockin
0fd3f5310f Big changes. Added SIO2 and some pad functionality
Added very dumb scheduling system
Added stubs for SPU/SPU2 DMA
Changed timings for CDVD
Some adjustments to IOP timings
2018-04-21 15:06:51 -04:00
PSISP
354be2a034
Merge pull request #33 from DidgeridooMH/menu-bar-load-elf
Add ability to load ELFs and ISOs from a Qt menubar
2018-04-21 14:37:26 -04:00
DidgeridooMH
e3fd5c1b80 Fixed capitalization. 2018-04-19 21:44:10 -04:00
DidgeridooMH
cec1f718f5 Added a missing paranthesis 2018-04-18 22:05:50 -04:00
DidgeridooMH
041c3947fd Changed the name of the options 2018-04-18 22:03:23 -04:00
DidgeridooMH
d2470dd0fd Fixed include order to be consistent. Fixed conditional code-style to be consistent. Cleaned up loose comments. Changed menu names. Added another option to the menu context. 2018-04-16 22:53:40 -04:00
DidgeridooMH
8d3b988bd6 Removed useless window function calls. 2018-04-16 18:47:27 -04:00
DidgeridooMH
66e97cc78b Fixed the skip bios feature being swapped. Loading a rom now resets the system. Checks for allocated space before loading the bios. OSX window focus may have been fixed. 2018-04-16 01:33:36 -04:00
DidgeridooMH
e8634cf5f4 Deleted an include that randomly got added 2018-04-15 22:08:07 -04:00
DidgeridooMH
5f481aa10f Fixed tabulation issue 2018-04-15 21:57:47 -04:00
PSI-Rockin
ae3e075837 Add PCR and BC0 instructions
This allows Disgaea to display its boot screen
Decoupled COP0 and COP1 from EE and placed them in Emulator core
2018-04-15 21:37:37 -04:00
DidgeridooMH
be508fb54b Added menu bar and rom loading under a menu 2018-04-15 19:23:46 -04:00
DidgeridooMH
db530cf42b Added a menu bar and the ability to load elf/iso files with or without the bios skip hack. 2018-04-15 19:18:29 -04:00
PSISP
7d93e6fbc2
Merge pull request #32 from PSI-Rockin/cdvd
Fixed CPU bugs in Deci2Call and added support for multiple GS formats
2018-04-15 14:16:02 -04:00
PSI-Rockin
d1edc4d196 Fixed CPU bugs in Deci2Call and added support for multiple GS formats
Fixed bugs in the GIF as well
These changes allow our first game, Mortal Kombat, to start booting
Re-enabled IOP VBLANKs due to issues with the PADMAN module
SIO2 stuff still needs work it seems, as the game hangs after initializing PADMAN
2018-04-15 14:15:27 -04:00
PSISP
9d8581b4d8
Merge pull request #31 from tokumeiwokiboushimasu/master
include <cstring>
2018-04-12 07:46:55 -04:00
tokumeiwokiboushimasu
4ae65106d7
include <cstring>
memset and memcpy need <cstring>.
2018-04-12 20:40:06 +09:00
PSISP
c6599c8085
Merge pull request #30 from PSI-Rockin/cdvd 2018-04-11 23:02:30 -04:00
PSI-Rockin
175b130443 Used PCSX2's implementation for unaligned memory access
That, along with an adjustment to IOP DMA, fixed bugs in Disgaea, allowing it to read an IRX patch file successfully.
Also added PXOR
2018-04-11 23:01:25 -04:00
PSISP
34c088510b
Merge pull request #29 from Nobbs66/master
Add branch and link instructions
2018-04-11 21:07:50 -04:00
PSISP
2e2f68af42
Another break statement 2018-04-11 21:07:07 -04:00
PSISP
d186c5c5ee
Add break statement 2018-04-11 21:06:35 -04:00
PSI-Rockin
1f720377a4 Added VBLANK-based latencies for N commands
Mortal Kombat now successfully loads "SIO2MAN.IRX"
Disgaea still fails due to sector 0 bug. CPU bug? Are latencies not accurate enough for it? Dunno
2018-04-11 21:03:48 -04:00
PSI-Rockin
d3fc1c8cfd Fixed DvdRead a bit. Still crashes, but reads are starting to work now 2018-04-11 17:43:52 -04:00
Nobbs66
b333478a82 Add branch and link instruction
Adds the four branch and link instructions to the EE interpreter. Also reverts the hack for the pillgen demo.
2018-04-10 17:23:52 -05:00
PSI-Rockin
38c2be3894 Revert back that pillgen hack... oops 2018-04-09 19:00:09 -04:00