Commit graph

  • b68df89bf7 Implement alert using a template. Paul Holden 2023-06-18 09:59:52 +01:00
  • f8fb15595a Move displayWarning and displayError to ui.js. Paul Holden 2023-06-18 09:44:22 +01:00
  • aca46ab19c Tidy. Paul Holden 2023-06-18 09:40:27 +01:00
  • cc5f41522f Extract some functions to ui.js. Paul Holden 2023-06-18 09:38:22 +01:00
  • b933245fa7 Move handleKey to controllers and update to use event.key. Paul Holden 2023-06-18 09:28:31 +01:00
  • 7dfebeaa36 Move n64js.controllers. Paul Holden 2023-06-18 09:13:40 +01:00
  • 6623b2a980 Extract boot code. Paul Holden 2023-06-18 09:04:01 +01:00
  • feaa9fbfe4 Split assert out. Paul Holden 2023-06-18 08:58:12 +01:00
  • 12d898d16a Tidy device.js. Paul Holden 2023-06-17 21:51:10 +01:00
  • 06b3cb3943 Tidy vi.js. Paul Holden 2023-06-17 21:43:18 +01:00
  • d7e4d583da Tidy sp.js. Paul Holden 2023-06-17 21:39:30 +01:00
  • 0764751751 Tidy si.js. Paul Holden 2023-06-17 21:34:30 +01:00
  • 20f561190b Tidy ram.js. Paul Holden 2023-06-17 21:27:17 +01:00
  • 8f3ef21b9b Tidy pi.js. Paul Holden 2023-06-17 21:18:10 +01:00
  • 475969d693 Tidy mi.js. Paul Holden 2023-06-17 20:41:01 +01:00
  • 19ed35d51c Tidy dps.js. Paul Holden 2023-06-17 20:35:04 +01:00
  • fbfa893fde Tidy dpc.js. Paul Holden 2023-06-17 20:33:34 +01:00
  • 99ca34c76a Tidy ai.js. Paul Holden 2023-06-17 20:22:34 +01:00
  • 7eee435a3c Hoist controllers out. Paul Holden 2023-06-17 20:08:54 +01:00
  • e35c58ed47 Move some sync functions out. Paul Holden 2023-06-17 19:55:48 +01:00
  • 030b2b5fe0 Move more functions out of n64js init. Paul Holden 2023-06-17 19:53:07 +01:00
  • 78966dd0b1 Tidy sync stuff. Paul Holden 2023-06-17 19:13:40 +01:00
  • 9f9de1a8a5 Move code out of the n64js init function. Paul Holden 2023-06-17 19:09:29 +01:00
  • da3e1aa32c Tidy. Paul Holden 2023-06-17 19:04:33 +01:00
  • 5c6ca404f0 Arrow functions. Paul Holden 2023-06-17 18:59:38 +01:00
  • 8e9c330b2f Remove unused constants. Paul Holden 2023-06-17 18:52:15 +01:00
  • 23c85a13c3 Tidy. Paul Holden 2023-06-17 18:47:10 +01:00
  • ec54c2bc5b Extract loadROM(). Paul Holden 2023-06-17 18:46:34 +01:00
  • dddbd71687 Bind getMemoryHandler for performance. Paul Holden 2023-06-17 18:41:44 +01:00
  • 3bb68b8585 Import format32 directly. Paul Holden 2023-06-17 18:39:47 +01:00
  • 47375ef091 Extract MemoryMap. Paul Holden 2023-06-17 18:35:48 +01:00
  • 181d9f005e Unused var. Paul Holden 2023-06-17 16:42:36 +01:00
  • 09c9afa92f Tidy initMemMap. Paul Holden 2023-06-17 16:40:25 +01:00
  • f3e2ee6b0f Fix. Paul Holden 2023-06-17 16:39:34 +01:00
  • a08158d3af Tidy updateController. Paul Holden 2023-06-17 16:37:18 +01:00
  • 5021f48621 Remove cachedMemDevice local. Paul Holden 2023-06-17 16:34:43 +01:00
  • 483f312b1c Format. Paul Holden 2023-06-17 16:33:16 +01:00
  • 678695d099 Tidy haltSP. Paul Holden 2023-06-17 16:32:47 +01:00
  • f62d88a515 Tidy interruptDP. Paul Holden 2023-06-17 16:26:35 +01:00
  • 558fcac79a Encapsulate miRegDevice better. Paul Holden 2023-06-17 16:24:47 +01:00
  • d01f4d1ff5 Tidy usages of viRegDevice. Paul Holden 2023-06-17 16:18:45 +01:00
  • c64edd0c6c Move device reset() to hardware.reset(). Paul Holden 2023-06-17 16:12:07 +01:00
  • 8dce9aaf0c Make devices quiet by default. Paul Holden 2023-06-17 16:09:55 +01:00
  • e37f53fcdf Tidy createROM. Paul Holden 2023-06-17 16:07:38 +01:00
  • 8378440bff Move devices to Hardware. Paul Holden 2023-06-17 16:05:44 +01:00
  • 5277a830c4 Split out endian.js. Paul Holden 2023-06-17 15:55:24 +01:00
  • 77bd992346 Tidy AssertException. Paul Holden 2023-06-17 14:43:07 +01:00
  • d9c244f0c5 Tidy handleKey. Paul Holden 2023-06-17 14:38:21 +01:00
  • 9726b13938 Cleanup memMap initialisation. Paul Holden 2023-06-17 14:36:19 +01:00
  • 8cad715d28 Rename devices. Paul Holden 2023-06-17 14:30:58 +01:00
  • 9b08e048c4 Store hardware in base Device. Paul Holden 2023-06-17 14:15:22 +01:00
  • 28fecffffb Split controller code out into a separate module. Paul Holden 2023-06-17 14:02:37 +01:00
  • cd27b0b26c Remove shadow variables for hardware. Paul Holden 2023-06-17 11:42:47 +01:00
  • 0f02463433 Encapsulate MI a bit more. Paul Holden 2023-06-17 11:37:51 +01:00
  • dbdf9a77ac Add a clear() helper. Paul Holden 2023-06-17 11:28:24 +01:00
  • f1c7e5cb92 Extract RDRamRegDevice. Paul Holden 2023-06-17 11:23:19 +01:00
  • 1514454e9b Extract SPIBISTDevice. Paul Holden 2023-06-17 11:21:19 +01:00
  • 6c28855054 Extract SI device. Paul Holden 2023-06-17 11:19:28 +01:00
  • 33fdefc3b5 Tidy Paul Holden 2023-06-17 11:07:22 +01:00
  • cb461591cd Add MI reset function. Paul Holden 2023-06-17 11:06:56 +01:00
  • f8e6485e79 Extract RI device. Paul Holden 2023-06-17 11:05:17 +01:00
  • 3df8dfc498 Extract VI device. Paul Holden 2023-06-17 11:00:31 +01:00
  • eafd246976 Extract the AI device. Paul Holden 2023-06-17 10:50:09 +01:00
  • 7b8d6319e4 Extract MI device. Paul Holden 2023-06-17 10:45:53 +01:00
  • 2178d36ec5 let/const for hardware devices. Paul Holden 2023-06-17 10:35:56 +01:00
  • b41064302b Extract SP devices. Paul Holden 2023-06-17 10:33:47 +01:00
  • b815c61a78 Move rom devices to separate file. Paul Holden 2023-06-17 10:17:19 +01:00
  • d7deb50713 setMemorySize is now unused. Paul Holden 2023-06-17 10:03:33 +01:00
  • ea2a527da8 Move ram devices to a separate file. Paul Holden 2023-06-17 10:02:25 +01:00
  • ad5bc9f5f9 Tidy. Paul Holden 2023-06-17 09:51:48 +01:00
  • 18b9f337c2 Move PI devices out to separate file. Paul Holden 2023-06-17 09:45:38 +01:00
  • 2df7eb78f2 Tidy Paul Holden 2023-06-17 09:26:39 +01:00
  • 199342d5c2 Track all the registers and memory in a Hardware class. Paul Holden 2023-06-17 09:24:26 +01:00
  • 9293107d4b Move more stuff to dps/dpc. Paul Holden 2023-06-16 23:07:11 +01:00
  • 5cab04c43b Move UncachedDPSDevice to module. Paul Holden 2023-06-16 22:59:16 +01:00
  • e7b0166b19 Move UncachedDPCHandlerDevice to separate module. Paul Holden 2023-06-16 22:53:48 +01:00
  • 401ded9d17 Tidy Paul Holden 2023-06-16 22:51:45 +01:00
  • 4598b65638 Remove unused imports. Paul Holden 2023-06-16 21:57:07 +01:00
  • cc37611768 Format index.html Paul Holden 2023-06-16 21:49:49 +01:00
  • 89b28dcb0c
    Merge pull request #11 from hulkholden/master Paul Holden 2023-06-16 21:37:14 +01:00
  • e9c1517aec Temp fix for missing n64.min.js. Paul Holden 2023-06-16 21:35:42 +01:00
  • 02321ff2b3
    Merge pull request #10 from hulkholden/master Paul Holden 2023-06-16 20:38:56 +01:00
  • 364ef69885
    Updated gtag. Paul Holden 2023-06-16 09:13:35 +01:00
  • 0b1ab4ce59 Move CPU controls outside of tabs Paul Holden 2016-12-24 17:41:35 +00:00
  • 97c9db764e Tidy CPU status display Paul Holden 2016-12-24 16:50:33 +00:00
  • 51204d81a3 Tidy debugger.js Paul Holden 2016-12-24 16:27:36 +00:00
  • eb8e85a92e Tidy up dynarec table and fix layout Paul Holden 2016-12-24 12:20:58 +00:00
  • a18f49fbd2 Make disassembly view wider Paul Holden 2016-12-24 10:33:53 +00:00
  • 5f960420af More tidying Paul Holden 2016-12-04 22:47:02 +00:00
  • 0261c1492e Use chai for asserts Paul Holden 2016-12-04 22:08:08 +00:00
  • 43a3f36e57 Extract Tile as a class and tidy convert.js Paul Holden 2016-12-04 11:47:57 +00:00
  • 5f074f792c Move clampTexture and convertTexels out of hle.js Paul Holden 2016-12-03 16:56:05 +00:00
  • 4c14d51812 Tidy var names Paul Holden 2016-12-03 16:34:35 +00:00
  • c05bb97c6d Extract Texture Paul Holden 2016-12-03 16:34:20 +00:00
  • 8f2b67b53a Move syncserver.js out of src/ Paul Holden 2016-12-03 16:04:37 +00:00
  • c7223ed9a7 Move graphics stuff to a subfolder Paul Holden 2016-12-03 16:03:04 +00:00
  • e67bc3a961 Add a nameOf function to the gbi 'enum' types to make things easier for the calling code Paul Holden 2016-11-27 17:23:30 -05:00
  • fb2271cc03 Trailing commas Paul Holden 2016-11-27 16:39:27 -05:00
  • 9a4fbde511 Nicer constant names Paul Holden 2016-11-27 16:38:14 -05:00
  • 7c4880791c Big tidy of hle.js Paul Holden 2016-11-27 16:23:06 -05:00