Commit graph

96 commits

Author SHA1 Message Date
jpd002
8627d177b2 IPU Changes:
- Not using threads anymore, because there's no point in using them.
- Will try to execute commands ASAP, even waiting till more data can be pulled from DMA channel.
- Some minor bugfixes.
Can you believe it still doesn't work properly after all that?

git-svn-id: http://svn.purei.org/purei/trunk@1092 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-03-12 06:38:44 +00:00
jpd002
91f6d7d10f Added a way to flush parts of the instruction cache when loading data from disk.
git-svn-id: http://svn.purei.org/purei/trunk@1091 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-03-10 05:11:53 +00:00
jpd002
a5aaa0bea0 Rewrote the profiler to make it simpler to use and more accurate.
git-svn-id: http://svn.purei.org/purei/trunk@1051 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-12-23 21:35:04 +00:00
jpd002
f0a025f11e Moved CBiosBase shared ptr definition in BiosBase.h.
git-svn-id: http://svn.purei.org/purei/trunk@1021 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-10-21 02:08:14 +00:00
jpd002
30dfc3fe28 Changed way ticks are counted to make sure the speed hacks are activated when both the EE and IOP are idle. EE/IOP time synchronization is probably not quite right yet though.
git-svn-id: http://svn.purei.org/purei/trunk@1006 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-25 03:17:46 +00:00
jpd002
3182d98813 Moved clock frequency constant in Ps2Const and normalized some of the names in there.
git-svn-id: http://svn.purei.org/purei/trunk@996 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-12 01:03:53 +00:00
jpd002
1a2379e41f Added presentation parameters in GSH_OpenGL (to move in GSHandler maybe).
Added support for window resizing and full screen on MacOSX.
Updated MacOSX project.

git-svn-id: http://svn.purei.org/purei/trunk@986 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-05 00:08:05 +00:00
jpd002
e8b6f2541b Removed OsEventViewWnd (wasn't even being used)
Added ThreadViewWnd and moved some of the stack crawling stuff in MIPSAnalysis.

git-svn-id: http://svn.purei.org/purei/trunk@926 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-05-21 06:31:50 +00:00
jpd002
012c95760a Added basic support for LoadPS2Exec system call.
git-svn-id: http://svn.purei.org/purei/trunk@903 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-04-14 21:08:33 +00:00
jpd002
25670a567c Cleanup.
git-svn-id: http://svn.purei.org/purei/trunk@902 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-04-14 06:00:28 +00:00
jpd002
15f9dd84d1 Honor OS's request to flush the instruction cache.
Moved the vblank timing checks after interrupts are triggered to allow programs to see the vblank start/end bits being set.

git-svn-id: http://svn.purei.org/purei/trunk@837 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-12-25 04:50:54 +00:00
jpd002
23f127c82e Added ability to read VU0 memory from EE.
Added VU0 execution in the main loop.
Added CALLMS support.
Re-enabled code cache invalidation when writing to a memory area that is cached.
Removed lots of unused code.
Changed the way interrupts are handled and allowed some instructions (like EI) to force a check for pending interrupts.


git-svn-id: http://svn.purei.org/purei/trunk@817 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-11-26 21:03:20 +00:00
jpd002
2580b346e2 Added a little something that allows dumping of the VM state before executing any VU1 microprogram.
git-svn-id: http://svn.purei.org/purei/trunk@745 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-03-29 00:46:18 +00:00
jpd002
4e1f402006 Made PS2 Doom work:
- Rehabilitated Timer support.
- Added support for FINISH flag in GSHandler.
- Added fake IOP RAM area in EE memory space.
- Fixed minor IOP stuff.

git-svn-id: http://svn.purei.org/purei/trunk@710 b36208d7-6611-0410-8bec-b1987f11c4a2
2010-10-13 01:53:26 +00:00
jpd002
795411ebbc Many updates for Half-Life.
git-svn-id: http://svn.purei.org/purei/trunk@537 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-08-10 00:56:50 +00:00
jpd002
bced4b20e2 Some work done to make Half-Life work.
git-svn-id: http://svn.purei.org/purei/trunk@509 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-04-28 01:20:03 +00:00
jpd002
f55b033d32 Added a little installer script for Purei.
Modified how the version information is stored in the header files to allow installer script to read the info.

git-svn-id: http://svn.purei.org/purei/trunk@504 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-04-20 23:52:47 +00:00
jpd002
a6e12114d7 Added changes to MIPSInstructionFactories. Not a singleton anymore, so it allows a 32-bits and 64-bits version of the architecture to live together.
PsfPlayer bios memory ownership fixes.

git-svn-id: http://svn.purei.org/purei/trunk@490 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-03-30 04:57:52 +00:00
jpd002
d1bd353096 Attempt to make texture uploading faster.
Better cleaning up of GS when closing emulator.

git-svn-id: http://svn.purei.org/purei/trunk@483 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-02-18 03:38:59 +00:00
jpd002
c21ef94a37 git-svn-id: http://svn.purei.org/purei/trunk@426 b36208d7-6611-0410-8bec-b1987f11c4a2 2008-11-28 02:56:27 +00:00
jpd002
ee3ec9c361 Added configurable frame skip, some esthetic code changes and compilation fix.
git-svn-id: http://svn.purei.org/purei/trunk@355 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-07-20 20:57:49 +00:00
jpd002
1ba2aa5dde Changed lots of stuff to try to see how to make the thing faster... But with no real success...
git-svn-id: http://svn.purei.org/purei/trunk@354 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-07-20 17:26:08 +00:00
jpd002
581b212a93 Castlevania finally loads and displays stuff! \o/
git-svn-id: http://svn.purei.org/purei/trunk@347 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-06-23 01:35:05 +00:00
jpd002
ffe5a4646e Added proper separation of code and data address spaces in MemoryMap.
Added DMA channels 0 and 8.
Added VU0 stuff.
Major tweakage of UNPACK in VPU.

git-svn-id: http://svn.purei.org/purei/trunk@342 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-06-15 19:55:28 +00:00
jpd002
6d6b93bb5d Put the shaders back on for Win32.
Converted some stuff (timers).

git-svn-id: http://svn.purei.org/purei/trunk@333 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-05-30 00:40:39 +00:00
jpd002
df3dc6e7f2 MacOSX boost1.35 fixes
git-svn-id: http://svn.purei.org/purei/trunk@285 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-03-31 03:37:16 +00:00
jpd002
71c27fe9f3 First demo of Slave of the VU works reasonably well.
git-svn-id: http://svn.purei.org/purei/trunk@284 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-03-30 22:12:52 +00:00
jpd002
db53541884 Added XGKICK.
Added support for E bit.

git-svn-id: http://svn.purei.org/purei/trunk@281 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-03-25 00:07:10 +00:00
jpd002
d38d3f2e90 More conversion done for VU.
git-svn-id: http://svn.purei.org/purei/trunk@278 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-03-24 01:18:20 +00:00
jpd002
5c63662cba Fixed some CodeGen stuff for slave_of_the_vu
VIF back in action.

git-svn-id: http://svn.purei.org/purei/trunk@276 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-03-21 01:53:44 +00:00
jpd002
93fac4df68 Removed some unused/old stuff.
Added a basic idle loop skipper.

git-svn-id: http://svn.purei.org/purei/trunk@272 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-03-19 11:30:45 +00:00
jpd002
a332db60f5 IPU back in service. First frame of the movie can be decoded, but hangs.
git-svn-id: http://svn.purei.org/purei/trunk@237 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-02-01 02:34:50 +00:00
jpd002
efc1f86642 Readded PadHandler creation and rewrote GSHandler creation.
git-svn-id: http://svn.purei.org/purei/trunk@232 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-24 01:37:47 +00:00
jpd002
ff52e430f6 Begun conversion for Ys1&2. (cdrom0 and some instructions)
git-svn-id: http://svn.purei.org/purei/trunk@226 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-19 03:36:27 +00:00
jpd002
669ac71159 Even more conversion done for quake.elf (SIF/IOP overhaul)
git-svn-id: http://svn.purei.org/purei/trunk@224 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-15 20:27:44 +00:00
jpd002
b07241ba0d More conversion done for quake.elf.
git-svn-id: http://svn.purei.org/purei/trunk@222 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-12 01:27:04 +00:00
jpd002
0f0fad5ab4 1987 runs completely (still a bug though).
Fixed FPS counter.

git-svn-id: http://svn.purei.org/purei/trunk@213 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-03 07:42:54 +00:00
jpd002
2c5b592126 New VM state engine
git-svn-id: http://svn.purei.org/purei/trunk@202 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-17 04:08:46 +00:00
jpd002
a34cafb0c4 git-svn-id: http://svn.purei.org/purei/trunk@191 b36208d7-6611-0410-8bec-b1987f11c4a2 2007-12-09 02:28:28 +00:00
jpd002
6835a6da83 Completed enough opcodes to be able to run the "Final Heaven" demo.
git-svn-id: http://svn.purei.org/purei/trunk@181 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-06 21:36:12 +00:00
jpd002
38e1632c11 Project heavily modified from previous revision.
git-svn-id: http://svn.purei.org/purei/trunk@180 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-01 04:08:34 +00:00
jpd002
3e81da22a5 git-svn-id: http://svn.purei.org/purei/trunk@107 b36208d7-6611-0410-8bec-b1987f11c4a2 2006-12-26 21:53:04 +00:00
jpd002
1732437f76 git-svn-id: http://svn.purei.org/purei/trunk@106 b36208d7-6611-0410-8bec-b1987f11c4a2 2006-12-26 05:43:34 +00:00
jpd002
e3e105e00a git-svn-id: http://svn.purei.org/purei/trunk@62 b36208d7-6611-0410-8bec-b1987f11c4a2 2006-07-18 12:08:40 +00:00
jpd002
fc10d9b0e0 git-svn-id: http://svn.purei.org/purei/trunk@48 b36208d7-6611-0410-8bec-b1987f11c4a2 2006-06-27 21:44:45 +00:00
jpd002
0c5fb983fd Moved remotely
git-svn-id: http://svn.purei.org/purei/trunk@40 b36208d7-6611-0410-8bec-b1987f11c4a2
2006-06-15 04:19:30 +00:00