Commit graph

  • 6716b13621 Ability to reset emulator while running Jeffrey Pfau 2014-07-15 00:01:35 -07:00
  • 939c349533 Slightly more accurate waitstate emulation Jeffrey Pfau 2014-07-13 22:21:37 -07:00
  • 94438e141e Only assemble NEON code when NEON is enabled Jeffrey Pfau 2014-07-13 18:32:10 -07:00
  • 0b9d6e03f1 Support 5_6_5 in SDL/GL port Jeffrey Pfau 2014-07-13 18:31:28 -07:00
  • ca23c47aeb Add missing include Jeffrey Pfau 2014-07-13 05:47:16 -07:00
  • 5958d8c0da Fix missing value for divide precedence Jeffrey Pfau 2014-07-12 18:41:11 -07:00
  • 4638e4a017 Add parenthesis support Jeffrey Pfau 2014-07-12 17:58:03 -07:00
  • a58f8f8675 Support identifiers Jeffrey Pfau 2014-07-12 17:25:51 -07:00
  • b89d6216ac Free identifiers Jeffrey Pfau 2014-07-12 17:13:58 -07:00
  • ce1dd4416f Proper parser, without identifier support currently Jeffrey Pfau 2014-07-12 17:12:35 -07:00
  • f71edb1684 Parse expressions in a separate function Jeffrey Pfau 2014-07-12 14:50:09 -07:00
  • f74815988b Remove redundant includes Jeffrey Pfau 2014-07-12 04:43:41 -07:00
  • 66191ee92a GNU C extensions are not used, switch to C99 compat mode Jeffrey Pfau 2014-07-12 04:42:24 -07:00
  • 47ca4201fd Disable CLI debugger on Windows Jeffrey Pfau 2014-07-12 04:40:13 -07:00
  • 5b7da978d1 Remove project name strings from the code Jeffrey Pfau 2014-07-12 04:29:12 -07:00
  • 8f151ec90f DebugVectors should inherit failure Jeffrey Pfau 2014-07-12 04:12:04 -07:00
  • 903f384e05 Operations on numbers in CLI debugger Jeffrey Pfau 2014-07-12 04:04:15 -07:00
  • 5b7a551ed8 Add disassemble CLI debugger command Jeffrey Pfau 2014-07-12 03:36:04 -07:00
  • aefa5f0ab8 Merge branch 'decoder' Jeffrey Pfau 2014-07-12 00:40:40 -07:00
  • 3261dd482c Fix should-be-zero operands being listed Jeffrey Pfau 2014-07-12 00:39:05 -07:00
  • b41e11d4c1 Decode MSR and MRS Jeffrey Pfau 2014-07-12 00:29:00 -07:00
  • a2eec31632 Show s flag for ARM instructions Jeffrey Pfau 2014-07-12 00:13:11 -07:00
  • d245eb3f88 Remove leftover code Jeffrey Pfau 2014-07-11 23:52:17 -07:00
  • 027a6f129c Fix ordering of flags and condition Jeffrey Pfau 2014-07-11 23:31:46 -07:00
  • a09d8649ee Begin work on ARM disassembler Jeffrey Pfau 2014-07-11 03:50:29 -07:00
  • ba4874f8b7 Cleaning up writeback and add some TODOs Jeffrey Pfau 2014-07-11 03:19:02 -07:00
  • 874f23fc59 Add mnemonics and fourth operand for ARM Jeffrey Pfau 2014-07-11 01:28:02 -07:00
  • 2b0dccb243 Fold direction into memory format Jeffrey Pfau 2014-07-11 01:27:32 -07:00
  • 45c6299b3b Fix decoding Thumb TST Jeffrey Pfau 2014-07-11 01:26:57 -07:00
  • 2921ba8842 Split ARM emitters into own file Jeffrey Pfau 2014-07-10 23:21:28 -07:00
  • fde2107a6b Fix disassembler memory boundary conditions Jeffrey Pfau 2014-07-10 03:31:24 -07:00
  • 64cc5ada86 Merge Thumb mnemonics into ARM mnemonics in preparation for ARM decoder Jeffrey Pfau 2014-07-10 03:30:59 -07:00
  • a22c89fedb Remove notion of special register Jeffrey Pfau 2014-07-10 02:33:16 -07:00
  • 6c1476403e Reorder log levels so more important ones have lower numbers Jeffrey Pfau 2014-07-10 01:12:25 -07:00
  • b810e38bd7 Fix a compiler warning in SIO code Jeffrey Pfau 2014-07-10 01:05:28 -07:00
  • d56dec79e7 Fix function prototype for GBAThreadInterrupt Jeffrey Pfau 2014-07-10 01:03:02 -07:00
  • c2fc2dbac3 Remove unused variable Jeffrey Pfau 2014-07-10 01:02:13 -07:00
  • 55977796f3 Move UNUSED macro to common.h Jeffrey Pfau 2014-07-10 01:00:38 -07:00
  • 0a48d4cc2f Draw a polygon every frame, even when paused, to make sure screen is not stale (fixes #87) Jeffrey Pfau 2014-07-09 23:18:34 -07:00
  • 87913a4c33 Add missing return statement Jeffrey Pfau 2014-07-09 23:17:51 -07:00
  • 642cbf3429 Hopefully fix edge cases for windows for real this time (fixes #88) Jeffrey Pfau 2014-07-09 23:09:28 -07:00
  • b762ce41a0 Only take slow mosaic path when mosiac is actually in play Jeffrey Pfau 2014-07-09 23:01:03 -07:00
  • e6863a6cc5 Fix mosaic drawing of 256-color mirrored background tiles Jeffrey Pfau 2014-07-09 22:49:05 -07:00
  • c3136b914e Fix sampling order of sound channel 3 Jeffrey Pfau 2014-07-09 03:52:58 -07:00
  • 3e827c24a8 Fix 8-bit IO writes on SOUND3CNT_X Jeffrey Pfau 2014-07-09 03:52:43 -07:00
  • 78bd884a05 Fix setting window sizes to 0xFFFF from actually making a window Jeffrey Pfau 2014-07-09 02:24:19 -07:00
  • 3ee3f7625f Link with SDL2_LIBDIR if necessary Jeffrey Pfau 2014-07-08 23:02:30 -07:00
  • f1b4e7039f Fix sprites whose tiles go out of bounds Jeffrey Pfau 2014-07-09 01:32:02 -07:00
  • 79cfc4fd0a Make GBAThreadInterrupt work properly with paused threads again Jeffrey Pfau 2014-07-09 00:36:04 -07:00
  • ecee71cfa1 Resizing of SDL2 windows Jeffrey Pfau 2014-07-09 00:03:05 -07:00
  • 548793e551 Remove audio processing loop now that there is an event processing loop Jeffrey Pfau 2014-07-08 22:00:53 -07:00
  • 83e16d56c0 Fix a case where deserializing the FIFO may not restore up to three bytes Jeffrey Pfau 2014-07-08 21:56:03 -07:00
  • a62a932282 Ensure interrupting the GBA thread actually gets to a safe point to read from the thread Jeffrey Pfau 2014-07-08 00:04:38 -07:00
  • 8c9790bb3b Add audio FIFOs to savestates Jeffrey Pfau 2014-07-08 00:02:39 -07:00
  • 6bf0e704d2 Allow for savestates to be loaded between BIOS versions so long as they aren't in BIOS code Jeffrey Pfau 2014-07-07 22:59:24 -07:00
  • ea656f188e Remove out-of-date TODO Jeffrey Pfau 2014-07-07 03:00:58 -07:00
  • a450b0470a UPS patch loading support Jeffrey Pfau 2014-07-07 01:54:40 -07:00
  • f420232bbf IPS patch loading support Jeffrey Pfau 2014-07-06 23:39:27 -07:00
  • a6c8089601 Add read watchpoints (fixes #69) Jeffrey Pfau 2014-07-05 22:30:20 -07:00
  • 28ba251cfb Fix some warnings Jeffrey Pfau 2014-07-05 16:29:31 -07:00
  • ced5220975 Out of bounds start coordinates are treated as 0 for windows (fixes #82) Jeffrey Pfau 2014-07-05 14:40:15 -07:00
  • 7142a0f820 Fix WININ priority trampling over the active windows (fixes #75) Jeffrey Pfau 2014-07-05 14:34:10 -07:00
  • ae12dd907c Reduce the code size of division by zero a bit Jeffrey Pfau 2014-07-05 13:55:36 -07:00
  • 2fd9ab1197 Emulate division by zero edge cases (fixes #80) Jeffrey Pfau 2014-07-05 05:19:58 -07:00
  • 26c33b18e1 Properly do bounds checking in CpuSet and CpuFastSet (fixes #81) Jeffrey Pfau 2014-07-05 03:52:07 -07:00
  • 34145543f2 Remove redundant checks that are in the BIOS code already Jeffrey Pfau 2014-07-05 01:03:04 -07:00
  • dea143829a Prevent lr from being trampled in the middle of long-running CpuSet Jeffrey Pfau 2014-07-05 01:01:29 -07:00
  • 107f91aac8 Fix typo in documentation Jeffrey Pfau 2014-07-05 00:13:54 -07:00
  • 678c5465ff Add (currently undocumented) command line flag for setting logging level Jeffrey Pfau 2014-07-04 18:43:07 -07:00
  • 80d1764e6c Save some registers we were overwriting in IntrWait Jeffrey Pfau 2014-07-04 18:41:13 -07:00
  • d6a28c8a6e Log SWIs in debug Jeffrey Pfau 2014-07-04 18:17:34 -07:00
  • 599537a41b Fix and optimize CpuSet and CpuFastSet a bit Jeffrey Pfau 2014-07-04 17:48:38 -07:00
  • fde6515a56 Implement CpuSet/CpuFastSet in assembly (fixes #31 and #76) Jeffrey Pfau 2014-07-03 03:51:53 -07:00
  • e5245b6cbb Reset timers when enabling them (fixes #78) Jeffrey Pfau 2014-07-02 00:48:20 -07:00
  • 2693f9d09b Implement high VRAM mirroring for writes Jeffrey Pfau 2014-07-01 00:26:57 -07:00
  • a7eced1324 Fix stub debugger entering Jeffrey Pfau 2014-04-26 18:25:45 -07:00
  • 12e5425b9b Use subparsers instead of stuffing everything into one parser Jeffrey Pfau 2014-04-26 16:05:09 -07:00
  • 6ca25e44aa Add some NEON resizing code Jeffrey Pfau 2014-04-26 03:31:53 -07:00
  • 6e32ade69e Clear alpha channel in fragment shader (fixes #51) Jeffrey Pfau 2014-04-25 23:48:51 -07:00
  • 084f0f037e Fix fullscreen initialization Jeffrey Pfau 2014-04-25 21:33:07 -07:00
  • 0386d41b40 Add option of not using GL Jeffrey Pfau 2014-04-25 03:34:21 -07:00
  • 7e90eb2631 Start porting sw-main to SDL2 Jeffrey Pfau 2014-04-25 03:34:03 -07:00
  • 82f3a45888 Build fix in case no debuggers are being built Jeffrey Pfau 2014-04-23 21:50:26 -07:00
  • 64e8d3fb83 Fix GBDStub build on Windows Jeffrey Pfau 2014-04-23 21:42:08 -07:00
  • 16608a408c Bring sw-main into line Jeffrey Pfau 2014-04-23 02:09:27 -07:00
  • ffea820148 Remove some redundant flags Jeffrey Pfau 2014-04-23 02:09:06 -07:00
  • 0ab39aa6bd Ignore swapfiles Jeffrey Pfau 2014-04-16 22:08:07 -07:00
  • 232abab7f4 Add long-missing arm-algo.S Jeffrey Pfau 2014-04-16 02:41:26 -07:00
  • 53389684db Add more command line options and perf-main duration Jeffrey Pfau 2014-04-20 22:15:17 -07:00
  • 810c35c318 Disentagle graphics flags from global flags Jeffrey Pfau 2014-04-20 21:54:05 -07:00
  • 5b300bbcff Make command line arguments more dynamic Jeffrey Pfau 2014-04-20 21:41:21 -07:00
  • 7334b89833 Add more command line options + usage Jeffrey Pfau 2014-04-20 21:32:40 -07:00
  • 7c356ffd07 Move debugger creation off the stack Jeffrey Pfau 2014-04-20 04:19:03 -07:00
  • 89ccb41b03 Start moving command line parsing into a separate file Jeffrey Pfau 2014-04-20 04:06:44 -07:00
  • e739e4000b Initialize halt Jeffrey Pfau 2014-04-20 01:05:29 -07:00
  • 9bf77f6653 Call ARMDeinit Jeffrey Pfau 2014-04-20 00:52:37 -07:00
  • 7a4ca414e5 Restructure watchpoints Jeffrey Pfau 2014-04-20 00:47:49 -07:00
  • 0f68dbc832 Redo component model/type punning Jeffrey Pfau 2014-04-20 00:19:55 -07:00
  • c0eb7c81f7 Remove ARMMemory and ARMBoard shims Jeffrey Pfau 2014-04-19 18:14:17 -07:00
  • 775e417cc6 Move halting functionality out of GBAHalt Jeffrey Pfau 2014-04-16 23:05:44 -07:00