Commit graph

487 commits

Author SHA1 Message Date
Marco Satti
d1b0b1e67b WIP sio2/sio0 implementation. SIO2 side seems to work promisingly... 2018-07-27 21:52:09 +08:00
Marco Satti
8e30f8a999 Fix build 2018-07-24 22:16:41 +08:00
Marco Satti
52a1691893 Merge branch 'master' into sio2-sio0-impl 2018-07-24 22:08:53 +08:00
Marco Satti
81913f8091 Merge branch 'hch12907-master' 2018-07-24 21:49:01 +08:00
Marco Satti
f0ecc92210 Small changes to the IPU register definitions. 2018-07-24 21:48:30 +08:00
Marco Satti
0f1b38c721 WIP sio2/sio0 implementation. 2018-07-24 21:07:45 +08:00
hch12907
2e6dab4312 Remove all *_busy() methods
in the end I think it is redundant
2018-07-15 01:42:29 +08:00
hch12907
3a25db7291 Actually use the new register classes 2018-07-12 21:10:42 +08:00
hch12907
a64d3bc210 Detail IPU_BP register 2018-07-12 21:09:06 +08:00
hch12907
213fe2fd0a Detail IPU_CTRL register and fix bug
- Thought that Bitfields are constructed with (start, end), but it's actually (start, length). Oops.
- I should rewrite those `is_busy()`s for better code reuse...
2018-07-12 21:04:32 +08:00
hch12907
e464587a73 Detail the IPU_TOP register 2018-07-12 21:04:32 +08:00
hch12907
d28f6d8ffd Detail the IPU_CMD register. 2018-07-12 21:04:15 +08:00
hch12907
ab59746cfb Fixing typo in comments 2018-07-03 21:49:38 +08:00
Marco Satti
8c8dfdf98c Fix build. 2018-05-06 22:12:59 +08:00
Marco Satti
a87dbe5588 Merge branch 'sio2-sio0-impl' of https://github.com/marco9998/orbum into sio2-sio0-impl 2018-05-06 22:07:31 +08:00
Marco Satti
6d4111207d Merge branch 'master' into sio1-sio0-impl 2018-05-06 21:42:59 +08:00
Marco Satti
ab910c6de2 Improve address caching a little, fix up all warnings under MSVC. 2018-05-05 18:10:15 +08:00
Marco Satti
90691de493 Fix a compile error. 2018-04-28 20:17:24 +08:00
Marco Satti
ba73a24a8a More speedups... 2018-04-28 19:14:47 +08:00
Marco Satti
c7e37542a2 Further optimisations - found some places where GCC correctly optimises but MSVC and Clang do not... 2018-04-28 10:57:39 +08:00
Marco Satti
0fad15217a Fix up release builds, general fixups. 2018-04-26 21:33:46 +08:00
Marco Satti
f6131af5f5 Working impl of portable ksprintf hook, but likely to change in future. 2018-04-25 21:12:19 +08:00
Marco Satti
5974692b22 Custom vprintf for the IOP, as casting to va_list is not portable. 2018-04-25 17:54:56 +08:00
Marco Satti
4988b82914 Add in platform options. 2018-04-24 22:17:05 +08:00
Marco Satti
ca956dc9ce libliborbum -> liborbum 2018-04-24 21:04:02 +08:00
Marco Satti
dd133df21a Remove boost-cmake submodule, use system boost through FindBoost cmake module. 2018-04-23 21:27:55 +08:00
Marco Satti
960d597289 Add constant to SIO2 register (device unplugged). 2018-04-15 22:41:43 +08:00
Marco Satti
cd24c79fe9 Initial commit of SIO2 / SIO work, not finished or working yet. 2018-03-11 22:14:48 +08:00
Marco Satti
c560e3d07d Merge branch 'master' of https://github.com/marco9999/orbum 2018-03-10 01:47:22 +08:00
Marco Satti
c32f230489 Added in an IOP ksprintf emulator log hook.
Can now see IOP debug messages from Sony :) Thanks guys!
Looks like there is something wrong with the SPU2 timing,
possibly thats why the EE is stalling. I'm working through
the SIO2 & SIO0 right now.
2018-03-10 01:44:24 +08:00
Marco Satti
c6ca184665 Added CDVD RTC (handle SCMD 8). 2018-03-04 19:41:48 +08:00
Marco Satti
3cbcf486b5 Mapped CDVD registers into the EE bus space, trying to track down some bugs. 2018-03-04 18:46:14 +08:00
Marco Satti
8c06674115 Turn off bus debugging option. 2018-03-04 16:30:21 +08:00
Marco Satti
0263b2e48e Found some small speedups... 2018-03-03 18:46:32 +08:00
Marco Satti
2beb09eaba Found some small speedups... 2018-03-03 17:03:57 +08:00
Marco Satti
06a50fc268 Found some small speedups... 2018-03-03 12:50:29 +08:00
Marco Satti
382c350c78 Fixed compiling under linux (and any unix?) - tried with gcc-7 and clang-5. 2018-03-02 22:42:44 +08:00
Marco Satti
55dac42eb0 Revert to previous cache.. still not great... 2018-03-01 21:18:35 +08:00
Marco Satti
f76f1b5d03 Trying out I/D caches, but I think it just made it worse... 2018-02-26 22:21:36 +08:00
Marco Satti
91aff4f9f5 Use proper names for caches. 2018-02-26 12:54:34 +08:00
Marco Satti
2bb801b21e General cleanup. 2018-02-25 23:01:12 +08:00
Marco Satti
14eb322edd Put classes in correct places. 2018-02-24 16:38:29 +08:00
Marco Satti
99968c8bfc That didnt work.. reverting to headers within projects... 2018-02-24 13:16:18 +08:00
Marco Satti
ae4661a658 Fix up cmake files a bit, for some reason debugging wasn't picking up header only files... 2018-02-24 12:35:21 +08:00
Marco Satti
fb0e7aab8e Split up file for easier profiling. 2018-02-24 11:58:14 +08:00
Marco Satti
4d8a6ab61c Good results, reduced translation hit in half... 2018-02-24 00:44:07 +08:00
Marco Satti
9d457d3bf9 Trying out idea... 2018-02-23 21:50:37 +08:00
Marco Satti
69360f5dad Big speedup for the TLB lookup (using LRU algorithim). 2018-02-19 20:48:15 +08:00
Marco Satti
45a65b8b36 Made ByteBus able to use different sized address type (templated). 2018-02-18 22:45:08 +08:00
Marco Satti
81e0382892 Finished cleaning up the ByteBus implementation, works very nicely! 2018-02-18 21:38:50 +08:00