Commit graph

1120 commits

Author SHA1 Message Date
tehpola
5a8d47e223 Many dynarec fixes including leaving r13 alone. 2008-10-10 00:25:02 +00:00
tehpola
026c4562f7 Added some debugging _break()s to pure_interp, added check_memory when in dynarec, and fixed up a couple macros 2008-10-09 23:26:00 +00:00
emukidid
62829ca468 Better make it only for GC just incase it causes problems on Wii 2008-10-07 07:11:17 +00:00
emukidid
4d2eb0e408 Embedded Fonts no longer required for Qoob users 2008-10-07 07:07:52 +00:00
emukidid
fb29e53241 TLB block invalidation and fixup 2008-10-07 00:03:06 +00:00
emukidid
dbb3938fb6 Fixed up minor issue in loading from CARD 2008-10-03 01:47:56 +00:00
emukidid
364a9ec1ba Fixed CARD file loading to adjust for icon+comment space 2008-10-03 01:37:00 +00:00
emukidid
8f4acfe3df saving to memory card now displays file time and file name so you can know what is what from the IPL memcard managment screen 2008-10-03 01:34:57 +00:00
tehpola
ec9821953d Fixing a serious oversight: some instructions (I might not have gotten them all) were not recompiled or interpreted. Fixes the div by zero in some games, but still nothing runs as far as I know. 2008-09-20 17:53:18 +00:00
tehpola
5258b0930a Various fixes to dynarec: fixed up branches, accurate (at least more so) instruction counting, and register mapping. 2008-09-15 00:11:44 +00:00
tehpola
8bd42310e3 All 32 registers, hi, and lo are now guaranteed to be contiguous. Instruction count fix up to work appropriately for dynarec and pure interpreter. 2008-09-14 23:06:16 +00:00
emukidid
9ed13d52ad Makefile.GLN64_dev transformed to quieter format.. more compiler warnings removed 2008-09-11 05:53:26 +00:00
emukidid
81f0d52cc6 Removed more compiler warnings, removed VCR files, if we do implement that later on, just grab them from PC source. 2008-09-11 05:06:28 +00:00
emukidid
44a3c6a699 Removed some old PC files, added readme from tehpola's branch 2008-09-11 04:30:00 +00:00
emukidid
c660158726 Added the Zip support files 2008-08-20 13:18:15 +00:00
emukidid
9fa91d84dd Integration of Erant's Wii DVD-Loading via libdi and Wii Zip ROM support (Use: 7za a -tzip -mx=9 rom.zip rom.z64). GC ROM-Cache needs a re-work to add in Zip support, then some of the nastyness of my quick-fix hacks to get this compiling for both GC and Wii will be gone! 2008-08-20 13:17:04 +00:00
sepp256
941dfe086e Edited wiki page through web user interface. 2008-08-13 20:26:00 +00:00
emukidid
6ee88c6612 Moved TLB dumping to separate functions. Made TLB cache LUT's static once again 2008-08-12 12:53:07 +00:00
emukidid
066d58a1c3 Fixed savestate filenames, fixed DVD directories glitch (removed trailing '/'), fixed minimum DVD entries to 1024, removed savestates.c (PC) file 2008-08-12 08:13:17 +00:00
emukidid
08238a2be2 TLB LUT clearing on Init since they are no longer statically allocated as NULL initialised arrays. 2008-08-09 00:42:13 +00:00
emukidid
490feea15d fixed multiple declaration of tlb luts 2008-08-08 23:31:17 +00:00
emukidid
bef9c0c5fb TLB Saving/Loading in savestates, tested it on a handful of ROMS and it seems to work 2008-08-08 13:21:51 +00:00
tehpola
860fb958fd Dynarec now successfully executes the standard N64 apploader and works on a (extremely simple, controlled) demo that we created. SLT/SLTI/SLTU/SLTIU instructions were not correct in every case and now should work in all cases. Only dirty registers are flushed and when flushed they are properly sign extended. r0 and decodeNInterpret are now mapped as constant so fewer instructions are generated with respect to those operations. Still no commercial games will run, and no already existing demos that I tried ran so there's still plenty of work to do. 2008-08-05 02:49:01 +00:00
tehpola
179d82fbe3 Dynarec: too much to name. The dynarec matches the interpreter for memory accesses through the 0xa4000000 block and proceeds into 0x80000000 where the CRC check for the DMA transfer of the game code off the cart fails. 2008-07-28 13:14:28 +00:00
emukidid
82a6085f3b Mempaks should format every time a new game is loaded (to avoid Corrupt Mempak warnings) 2008-07-06 06:08:51 +00:00
emukidid
0f6311962c Savestate issue with expansion pak fixed (for later on) 2008-07-05 13:38:20 +00:00
sepp256
cf7a8eb211 - Fixed texture interleaving (SSB textures).
- Cleaned up texture code.
- Added PolygonOffset switching for near clipped triangles.
- Cleaned up combiner code.
- Updated glN64 makefiles.
2008-07-04 05:43:16 +00:00
tehpola
131f3554a4 Making progress on both dynarecs 2008-07-03 20:27:32 +00:00
sepp256
f785afcd76 - Reworked VI to use the PreRetrace callback in GX_gfx plugin, which improves the framerate a little. 2008-07-03 02:27:26 +00:00
sepp256
db8964e9fc - Implemented Fog using GX hardware.
Note: Fog requires the patched gx.c included in this update.
- Implemented Polygon Offset using matrix transforms.
  Note: Let me know if you still see any flashing co-planar polygons.
- Cleaned up stuff in VI.
- Other various cleanup stuff.
2008-07-03 02:09:40 +00:00
tehpola
8df5c5053f Scheme: Making some good progress, but getting an exception prematurely. 2008-07-01 23:03:48 +00:00
tehpola
6d6d498ea5 Grr... 2008-06-28 05:46:20 +00:00
tehpola
87c68897ea Scheme dynarec in a compilable state (however scheme doesn't think 'dynarec' is defined). 2008-06-28 01:28:22 +00:00
tehpola
192f4aa235 More Scheme work (interfacing mostly which is a lot less fun) 2008-06-27 04:38:31 +00:00
tehpola
bdf09faacd Scheme dynarec (still incomplete), still needs C interface to run and interact with 2008-06-24 13:12:33 +00:00
tehpola
ed30f38901 Added NO_BT flag so bluetooth can be disabled to allow stepi to work in gdb. 2008-06-17 12:12:59 +00:00
tehpola
cb50ab26cb Latest dynarec work. Recompiles the code, but disappears after it branches into the recompiled code. 2008-06-16 02:19:36 +00:00
emukidid
7321c40a61 the 0x40/0x80 loops make a difference for us since we define 4mb sometimes 2008-06-15 12:43:03 +00:00
emukidid
8c4a299693 4mb fix now works on more games 2008-06-15 12:38:39 +00:00
tehpola
6b8f335471 Latest changes to the dynarec. I'm not exactly sure what's going on, but something is being corrupted in the recompilation stage it seems. 2008-06-15 06:17:27 +00:00
tehpola
e01e4a1ed4 Getting close to finishing all the work for overhauling out the 1-1 register mapping. Same thing as before, compiles, but I'm fairly certain it won't work (yet). 2008-06-14 22:15:15 +00:00
tehpola
cc15c6fda7 Committing all my latest sources to my branch. 2008-06-12 23:39:13 +00:00
tehpola
32b0f261ba Moving closer to eliminating 1-1 register mapping. Compiles but does not run (yet). 2008-06-12 23:35:25 +00:00
emukidid
c528abf3dd TLB cache is now working faster 2008-06-12 15:14:24 +00:00
tehpola
99c3a519d5 Fix to TLB instructions (no more redundant TLB sets). 2008-06-12 02:26:12 +00:00
tehpola
9abf46654d I've significantly improved the TLB Cache hash function (it was just terrible!), but strangely, that was not the issue: TLB Cache dumping (which is added) has shown Goldeneye's TLB to be empty (although Mario 64 had it slightly populated). 2008-06-11 04:31:40 +00:00
emukidid
d537eaf78d TLB Should now be saved in save states for MEM2 and should still regardless, States made before this commit won't work anymore 2008-06-10 05:16:40 +00:00
sepp256
7774ed01a1 Added/Fixed viewport and scissoring. 2008-06-09 15:48:12 +00:00
tehpola
00f50dd18e Got my branch compiling with some new (unfinished) dynarec code. 2008-06-08 22:54:58 +00:00
tehpola
80c36993c6 Created tehpola branch 2008-06-08 21:55:45 +00:00