Commit graph

1873 commits

Author SHA1 Message Date
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
PSI-Rockin
b81464bd27 Much more VU0 progress. pillgen now runs!
Unfortunately, pillgen requires a GS CRTC hack in order to display anything
2018-04-09 18:55:04 -04:00
PSISP
d0556cb2d0
Merge pull request #28 from tokumeiwokiboushimasu/master
CMakeLists.txt fix
2018-04-09 12:01:02 -04:00
tokumeiwokiboushimasu
4a184cb243
CMakeLists.txt fix
Fix the typo (emotion_vu.cpp -> emotion_vu0.cpp).
2018-04-09 23:18:20 +09:00
PSI-Rockin
65c886c126 Beginnings of VU implementation
Added VSUB, QMFC2, stub for VISWR
I hate everything right now
2018-04-08 17:22:22 -04:00
PSI-Rockin
788dce2ce9 Small fix for SYSTEM.CNF parsing 2018-04-08 00:20:40 -04:00
PSI-Rockin
be28352e8f Added missing chrono header 2018-04-08 00:08:10 -04:00
PSI-Rockin
b88bece676 Added READ and other CDVD commands
IOP no longer hangs in the middle of CDVD initialization routines.
Unfortunately Disgaea is stuck in a loooong busy loop... if patched out, it starts writing to VIF0 and other scary places
2018-04-07 23:27:55 -04:00
PSI-Rockin
bd96a6b0e1 Added some CDVD registers. This allows Disgaea to go slightly further
Fixed problem with IOP messages not flushing properly.
Hooked exported module functions to console
Implemented a few more IOP timing things
Added SIO2 stub
2018-04-07 17:47:18 -04:00
PSI-Rockin
828318f8fd Added IOP ksprintf logging... needs more work
Fixed extremely dumb SRAV bug too
2018-04-06 21:59:16 -04:00
PSI-Rockin
fcc4a67a5b Added basic CDVD drive
DobieStation can now load game executables inside of ISO files. Exciting things ahead!
2018-04-05 21:24:05 -04:00
PSI-Rockin
4a33c12b5c Fixed very dumb double-buffering bug
I wasn't switching GS contexts...
2018-04-05 18:52:04 -04:00
PSISP
fdd9be68ec
Merge pull request #27 from andriii25/feat/gouraud
Added gouraud shading and fix for "slanted" demos
2018-04-05 17:27:24 -04:00
andriii25
1fe8188a26 Added gouraud shading to relevant primitives.
Also implemented a workaround to fix the slanting in the display of some demos.
2018-04-05 00:14:45 +02:00
PSI-Rockin
56bdb894fe Fixed dumb DMAC bug that caused SIF packets to be interrupted early
rom0:OSDSYS in the BIOS now boots. Some problems to resolve with zeroed out memory
(Still working on BIOS execution due to SIF problems)
2018-04-02 21:27:58 -04:00
PSISP
3e4d9c8849
Merge pull request #26 from andriii25/feat/triangle
Added triangle rendering
2018-04-01 15:36:10 -04:00
andriii25
7f462f1db4 Improved readability 2018-04-01 21:07:59 +02:00
andriii25
eb9aff5fc9 Added triangle rendering 2018-04-01 20:14:38 +02:00
PSI-Rockin
ab064cbd13 Lots of changes. Biggest is getting SCPH-39001 to the same point as SCPH-10000
Added preliminary (and ugly) skip BIOS hack, removing the need of the HLE BIOS (to be removed later)
Moved EE INTC logic into its own class
Improved EE timer logic
Something is causing the IOP to not execute DMA IRQs... gonna have to look into this.
2018-04-01 14:01:16 -04:00
PSI-Rockin
7ff7fd8157 Rewrote DMAC. The SIF protocol seems fully functional
BIOS hangs on an unimplemented VU0 instruction, so let's start trying to boot our first game...
2018-03-26 19:36:25 -04:00
PSI-Rockin
d35354e11b WE GOT SIF1 WORKING BOYS
Fixed problems with the IOP and DMA interrupts, allowing the SIF1 handler to finally send a reply to the EE over SIF0
EE DMAC needs rework in order to handle SIF0 properly
Also added stub for IOP timers
2018-03-25 23:34:45 -04:00
PSI-Rockin
4e88b64769 Added basic support for timers
Added some SIF magic (thanks refraction!)
Also fixed some compilation issues
2018-03-23 22:40:34 -04:00
PSI-Rockin
517930e000 Split EE and IOP code into their own folders
Removed superfluous VU0 files (to be added later)
Also more work on IOP DMA and interrupts; nothing groundbreaking yet
2018-03-20 19:29:53 -04:00
PSISP
79f50a48a1
Fix typo in EmotionEngine.md 2018-03-19 22:57:47 -04:00
PSISP
08cb693e66
Merge pull request #24 from tokumeiwokiboushimasu/master
Add cstdio to sif.cpp
2018-03-12 10:50:12 -04:00
tokumeiwokiboushimasu
8e7dafd9e6
build fix 2018-03-12 23:46:48 +09:00
PSI-Rockin
edae4705da Added basic IOP DMA
Connected both EE and IOP to SIF1; IOP now receives messages.
Next up is IOP interrupt handling
2018-03-10 18:09:27 -05:00
PSI-Rockin
cb0b654c09 Cleaned up COP0 and exception handling logic
Added support for INT1; INT0 to come later
Also fixed stupid bitshifting bug in D_STAT
2018-03-08 22:56:08 -05:00
PSISP
0eb3334c05
Update BIOS.md
Small correction for syscalls
2018-03-08 21:55:38 -05:00