Commit graph

  • 4e89d41399 Automated build master Paul Holden 2024-01-07 10:13:26 +00:00
  • b083ec1938 Fix stray ' Paul Holden 2024-01-07 10:12:29 +00:00
  • 3c4349934f Add more details to EmulatedException. Paul Holden 2023-11-18 17:31:28 +00:00
  • 38d841b876 Reorder lookupFragment and avoid invalidating if opsCompiled is zero. Paul Holden 2023-11-18 17:28:51 +00:00
  • 43769f7eb0 ramDV is unused now. Paul Holden 2023-11-18 17:26:39 +00:00
  • b73727596f Remove loadInstructionFast as it's the same as loadU32fast. Paul Holden 2023-11-18 17:25:50 +00:00
  • cd42f25798 Use Uint8Array for CPU1 register index lookup tables. Paul Holden 2023-11-18 17:22:33 +00:00
  • c6bf8bf2c2 Add a benchmarch for cop1 register indexing strategies. Paul Holden 2023-11-18 17:15:59 +00:00
  • 6eb1baadb4 Remove COUNTER_INCREMENT_PER_OP as it's always 1. Paul Holden 2023-11-18 14:47:38 +00:00
  • 804292cb1b Avoid a little overhead with instruction fetches by caching the DataView. Paul Holden 2023-11-18 14:41:24 +00:00
  • 4c89533028 Implement RSP PC as a regular member variable rather than using a DataView. Paul Holden 2023-11-18 14:38:14 +00:00
  • 86a603f190 Add benchmark for updating RSP pc. Paul Holden 2023-11-18 14:14:40 +00:00
  • 85dc4ffd23 Remove all the signed versions of memory read accessors and just do this as needed in memaccess. Paul Holden 2023-11-18 11:17:35 +00:00
  • 21c6d6d55f Add benchmark for signed/unsigned conversions. Paul Holden 2023-11-18 11:01:17 +00:00
  • 293e7c907c Load instructions as unsigned values. Paul Holden 2023-11-18 10:13:22 +00:00
  • e8f99daa00 Reorder functions. Paul Holden 2023-11-18 10:09:33 +00:00
  • d2edeaa7c8 Move instruction load performance hackery to memaccess. Paul Holden 2023-11-18 10:06:37 +00:00
  • f1c65ccb9c Sort imports Paul Holden 2023-11-18 09:54:37 +00:00
  • a966914ced Use EmulatedException() for address alignment. Paul Holden 2023-11-18 09:49:52 +00:00
  • 0a540b96ff Stop exporting functions which aren't referenced elsewhere. Paul Holden 2023-11-18 09:42:40 +00:00
  • 4be55b6c30 Init RSP in Hardware constructor. Paul Holden 2023-11-18 09:31:44 +00:00
  • 65c60e403f Automated build Paul Holden 2023-11-18 00:10:05 +00:00
  • d14f0ff852 Fix bug in runImpl which was preventing backwards branches from being detected and therefore rendering dynarec inert most of the time. Paul Holden 2023-11-18 00:08:26 +00:00
  • a8b88b712f Fix a couple of instructions which should be setting might_adjust_next_pc. Paul Holden 2023-11-17 23:51:18 +00:00
  • 10f3d66bf0 Fix bug with dynarec when RSP interrupt causes dynarec fragment to return early. Paul Holden 2023-11-16 23:35:01 +00:00
  • 81e6575bee Fix stray char Paul Holden 2023-11-16 22:49:33 +00:00
  • 5dedf7163a Remove stale todo. Paul Holden 2023-11-16 08:41:28 +00:00
  • 7468826334 Format Paul Holden 2023-11-16 08:36:35 +00:00
  • f02ccf0c39 Automated build Paul Holden 2023-11-15 08:13:37 +00:00
  • 09dc5fd235 Add some text to HLE/LLE options. Paul Holden 2023-11-15 08:12:07 +00:00
  • 0995959cfc Optimise RSP accumulator. Paul Holden 2023-11-14 23:07:37 +00:00
  • fccb771801 Add a benchmark for RSP accumulator Paul Holden 2023-11-13 20:47:55 +00:00
  • ccd673407b Automated build Paul Holden 2023-11-12 19:11:50 +00:00
  • 398e3285ee Make some helpers members of RSP. Paul Holden 2023-11-12 18:45:19 +00:00
  • af1a1148d6 Fix RSP jumps to 0x1000. Paul Holden 2023-11-12 11:37:00 +00:00
  • cb9156f9a1 Fix LLV and LDV disassembly. Paul Holden 2023-11-11 23:32:22 +00:00
  • c1ec538a66 Make dumpMicrocodeSubstring optional. Paul Holden 2023-11-11 09:00:49 +00:00
  • 34b1233f1e Format Paul Holden 2023-11-11 09:00:14 +00:00
  • e5509d1f53 Fix VSAR for the default case. Paul Holden 2023-11-10 09:12:06 +00:00
  • bf010761d9 Fix bug with getCyclesUntilEvent - this was returning undefined which breaks VI and AI syncing. Paul Holden 2023-11-09 08:56:43 +00:00
  • c215dcee83 Automated build Paul Holden 2023-11-08 23:44:02 +00:00
  • 1f78a2493b Fix imports. Paul Holden 2023-11-08 23:43:16 +00:00
  • 96dd7deae0 Rename flip to rightMajor. Paul Holden 2023-11-08 23:42:42 +00:00
  • 38eeb0b54b Add an option to dump RDP commands. Paul Holden 2023-11-08 23:41:52 +00:00
  • 74a57e46be Automated build Paul Holden 2023-11-07 22:26:15 +00:00
  • c6f5c71981 Call executeUnhandled. Paul Holden 2023-11-07 21:39:51 +00:00
  • 9663de9311 Call RDP from DPC. Paul Holden 2023-11-07 21:37:19 +00:00
  • 4d6b999455 Add an RDP device and flesh out commands. Paul Holden 2023-11-07 21:34:13 +00:00
  • 37f82a4b3f Fix executeRDPCommandHalf22Final. Paul Holden 2023-11-07 09:06:51 +00:00
  • b48f2a06eb Add a RDPBuffer helper. Paul Holden 2023-11-07 09:03:01 +00:00
  • 9b1f644a86 Build out RDP disassembly Paul Holden 2023-11-06 09:07:49 +00:00
  • 89d23d0d64 Improve bounds checking Paul Holden 2023-11-05 22:36:47 +00:00
  • 6214e19985 Add debug option for running graphics using LLE (it doesn't do anything yet). Paul Holden 2023-11-05 22:14:55 +00:00
  • 3114249948 Use a DataView for RDP commands. Paul Holden 2023-11-05 21:56:40 +00:00
  • 09baa89e25 Fix Commands name Paul Holden 2023-11-05 20:38:35 +00:00
  • f100a56ffa Update n64-systemtest rom Paul Holden 2023-11-05 19:35:35 +00:00
  • f0c95b24d5 Resolve TODO. Paul Holden 2023-11-05 14:01:10 +00:00
  • 321f698de3 Automated build Paul Holden 2023-11-05 11:59:55 +00:00
  • 6886989be6 First pass fixing sky rendering for Goldeneye. Paul Holden 2023-11-05 11:59:31 +00:00
  • 92adefb0c9 Implement texRect and texRectRot in terms of lleRect. Paul Holden 2023-11-05 11:56:45 +00:00
  • c2100db40e Handle different triangle types, helpers for getting texture coords, tests. Paul Holden 2023-11-05 11:44:12 +00:00
  • 80fb47f458 Split out lle/rdp.js Paul Holden 2023-11-04 15:27:44 +00:00
  • fcbd357127 Flesh out RDP triangle disassembly. Paul Holden 2023-11-04 15:05:17 +00:00
  • a05bafa4ab Tidy Paul Holden 2023-11-04 15:02:33 +00:00
  • 1627cf3ec6 Flesh out RDP disassembler. Paul Holden 2023-11-03 09:24:42 +00:00
  • 585e1aa053 Build a buffer of RDP command words in GE and PD. Paul Holden 2023-11-03 09:09:21 +00:00
  • 383fa5c192 Automated build Paul Holden 2023-11-02 22:57:27 +00:00
  • 72e4a2e3fc Tidy Paul Holden 2023-11-02 22:57:04 +00:00
  • 41f83741a9 Update a comment. Paul Holden 2023-11-01 23:16:02 +00:00
  • 922bea813b Automated build Paul Holden 2023-11-01 23:14:26 +00:00
  • e7d1ac3855 Add a disassembleUnknown. Paul Holden 2023-10-31 08:17:43 +00:00
  • 10f241a177 Automated build Paul Holden 2023-10-31 08:15:14 +00:00
  • 8f229e7aa0 Use TaskOffsets for RSP task struct field names. Paul Holden 2023-10-31 08:14:45 +00:00
  • 3b676d6867 Automated build Paul Holden 2023-10-30 08:15:21 +00:00
  • 054cf34f5b Hide the debug UI when starting a rom. Paul Holden 2023-10-30 08:14:53 +00:00
  • 3ac251e4e7 Move Debugger to top of file. Paul Holden 2023-10-30 08:11:28 +00:00
  • f28390fa83 Split code for breakpoints into separate file. Paul Holden 2023-10-30 08:09:15 +00:00
  • 95b94a5781 Remove n64js.emitRunningTime. Paul Holden 2023-10-30 07:55:04 +00:00
  • b6a1f5fd24 Rename to memory_region.js Paul Holden 2023-10-30 07:51:54 +00:00
  • 705878a0be externs/ is no longer used. Paul Holden 2023-10-29 19:56:04 +00:00
  • a112963000 Automated build Paul Holden 2023-10-29 19:54:24 +00:00
  • 26458e4e05 Tidy Paul Holden 2023-10-29 19:54:03 +00:00
  • 3269f3af54 Tidy Paul Holden 2023-10-29 19:50:22 +00:00
  • 44b5715e02 Tidy Paul Holden 2023-10-29 19:47:16 +00:00
  • 1289274953 Tidy Paul Holden 2023-10-29 19:44:41 +00:00
  • 6f8054f1b4 Tidy Paul Holden 2023-10-29 19:43:36 +00:00
  • 98a8520c45 Tidy Paul Holden 2023-10-29 19:41:46 +00:00
  • 5f1d7dcd5e Fix Vector4.create. Paul Holden 2023-10-29 19:41:25 +00:00
  • 909f8a111e Automated build Paul Holden 2023-10-29 19:21:10 +00:00
  • ba4a3ff3ce Rename cpu0_constants to cpu0reg. Paul Holden 2023-10-29 19:20:52 +00:00
  • 77a9fd4c2f Tidy Paul Holden 2023-10-29 19:16:28 +00:00
  • 9d3caebed0 Automated build Paul Holden 2023-10-29 19:10:56 +00:00
  • 2e67645d00 Use forEach. Paul Holden 2023-10-28 22:39:51 +01:00
  • 1dc2005069 Automated build Paul Holden 2023-10-28 21:33:43 +00:00
  • e551e07348 Dedupe some code in TriangleBuffer. Paul Holden 2023-10-27 09:08:38 +01:00
  • 30f9ae6c98 branchAddress isn't used. Paul Holden 2023-10-27 09:02:21 +01:00
  • a10ada47ae Remove some unused constants. Paul Holden 2023-10-27 09:01:22 +01:00
  • 17e0b87194 Remove stuff around fragment invalidation events. Paul Holden 2023-10-27 08:59:02 +01:00
  • a1efb448c3 Remove some unused args. Paul Holden 2023-10-27 08:55:41 +01:00
  • e199767402 unimplemented is no longer used. Paul Holden 2023-10-27 08:54:29 +01:00