Commit graph

1751 commits

Author SHA1 Message Date
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
PSI-Rockin
8b07f65b29 Added SIF and re-enabled EE/DMAC
Currently working on INT1 (aka DMAC interrupts). A redesign of COP0 is in order.
2018-03-07 22:48:11 -05:00
PSI-Rockin
08f3a5e330 Some IOP fixes; now loops waiting for an SIF value to change
Small changes, but big steps! We're getting closer and closer to fully LLEing the BIOS.

Current commit gives the IOP the value it wants, which sends it to an infinite loop; this is surely intentional as the IOP won't be doing any work after initialization unless the EE or something else sends an interrupt.
2018-03-06 23:21:19 -05:00
PSISP
614b375681
Merge pull request #22 from cpba/flatpak-cmake
Flatpak cmake
2018-03-04 20:52:47 -05:00
Carles Pastor
8e38b7afbe Flatpak manifest cleanup
Make it build outside the source directory in order to remove the need
for shell clean commands.
2018-03-05 01:02:45 +01:00
Carles Pastor
8f42da01f4 Add manifest for building as a flatpak
This file allows for building DobieStation inside a flatpak container.
It's helpful for people who may want to build it in a cleaner way without
having to install the qt dependencies. I have made it use cmake internally,
this way it won't need much maintenance as long as cmake keeps being updated.

Once DobieStation becomes more mature, this file can also be used to produce
linux builds that work on any linux distribution.
2018-03-04 21:55:33 +01:00
PSI-Rockin
4209d14ab1 Updated CMakeLists.txt and dropped meson support
Maintaining two build systems is bad enough, three is too many
2018-03-04 14:20:35 -05:00
PSI-Rockin
84ca9962d5 Added IsC to IOP COP0
Temporarily disabled EE/DMAC for testing purposes
2018-03-03 18:50:37 -05:00
PSISP
fd2a947b29
Add EE memory map 2018-03-03 16:48:50 -05:00
PSISP
99512ee10e
Add basic memory map to IOP docs 2018-03-03 16:17:01 -05:00
PSI-Rockin
a257b377ad Added basic IOP core
VERY BUGGY: Some weird memory corruption on the IOP side is happening with this commit
2018-03-02 22:59:57 -05:00
PSISP
7ab7c15a0a
Create BIOS.md 2018-03-02 19:29:24 -05:00
PSISP
a8f5c8eac7
Create README for docs 2018-03-02 18:19:12 -05:00
PSISP
261049f928
Create DMAC.md 2018-03-01 22:56:39 -05:00
PSISP
975ba4612e
Create IOP.md 2018-03-01 21:56:05 -05:00
PSISP
60dc68e647
Create GIF.md 2018-03-01 21:43:24 -05:00
PSISP
5c7aaa6a6a
Create EmotionEngine.md
Start of adding public documentation
2018-02-25 14:23:07 -05:00
PSISP
f0a11c24d4
Merge pull request #18 from andriii25/feat/disassembly
Rewrote disassembly engine
2018-02-17 13:53:14 -05:00
andriii25
848c1d05f7 Removed leftover printf statements 2018-02-17 19:00:53 +01:00
PSISP
357d12bf6b
Merge branch 'master' into feat/disassembly 2018-02-16 17:04:44 -05:00
PSI-Rockin
651aed3a6b Fixed several deadly CPU bugs
The scaling effects in 1987.elf work now
Texture problems in bytheway.elf have also disappeared
2018-02-15 19:12:59 -05:00
andriii25
8ed2e9eeca Took care of problems mentioned in review and some other minor improvements 2018-02-15 17:54:02 +01:00
andriii25
7b8d82752f Added disassembly for more leftover opcodes 2018-02-14 19:15:48 +01:00