Commit Graph

844 Commits

Author SHA1 Message Date
Jeffrey Pfau ca23c47aeb Add missing include 2014-07-13 05:47:16 -07:00
Jeffrey Pfau 5958d8c0da Fix missing value for divide precedence 2014-07-12 18:41:11 -07:00
Jeffrey Pfau 4638e4a017 Add parenthesis support 2014-07-12 17:58:03 -07:00
Jeffrey Pfau a58f8f8675 Support identifiers 2014-07-12 17:25:51 -07:00
Jeffrey Pfau b89d6216ac Free identifiers 2014-07-12 17:13:58 -07:00
Jeffrey Pfau ce1dd4416f Proper parser, without identifier support currently 2014-07-12 17:12:35 -07:00
Jeffrey Pfau f71edb1684 Parse expressions in a separate function 2014-07-12 14:50:09 -07:00
Jeffrey Pfau f74815988b Remove redundant includes 2014-07-12 04:43:41 -07:00
Jeffrey Pfau 66191ee92a GNU C extensions are not used, switch to C99 compat mode 2014-07-12 04:42:24 -07:00
Jeffrey Pfau 47ca4201fd Disable CLI debugger on Windows 2014-07-12 04:40:13 -07:00
Jeffrey Pfau 5b7da978d1 Remove project name strings from the code 2014-07-12 04:29:12 -07:00
Jeffrey Pfau 8f151ec90f DebugVectors should inherit failure 2014-07-12 04:12:04 -07:00
Jeffrey Pfau 903f384e05 Operations on numbers in CLI debugger 2014-07-12 04:04:15 -07:00
Jeffrey Pfau 5b7a551ed8 Add disassemble CLI debugger command 2014-07-12 03:36:04 -07:00
Jeffrey Pfau aefa5f0ab8 Merge branch 'decoder'
Conflicts:
	src/debugger/cli-debugger.c
2014-07-12 00:40:40 -07:00
Jeffrey Pfau 3261dd482c Fix should-be-zero operands being listed 2014-07-12 00:39:05 -07:00
Jeffrey Pfau b41e11d4c1 Decode MSR and MRS 2014-07-12 00:29:00 -07:00
Jeffrey Pfau a2eec31632 Show s flag for ARM instructions 2014-07-12 00:13:11 -07:00
Jeffrey Pfau d245eb3f88 Remove leftover code 2014-07-11 23:52:17 -07:00
Jeffrey Pfau 027a6f129c Fix ordering of flags and condition 2014-07-11 23:31:46 -07:00
Jeffrey Pfau a09d8649ee Begin work on ARM disassembler 2014-07-11 03:50:29 -07:00
Jeffrey Pfau ba4874f8b7 Cleaning up writeback and add some TODOs 2014-07-11 03:19:02 -07:00
Jeffrey Pfau 874f23fc59 Add mnemonics and fourth operand for ARM 2014-07-11 01:28:02 -07:00
Jeffrey Pfau 2b0dccb243 Fold direction into memory format 2014-07-11 01:27:32 -07:00
Jeffrey Pfau 45c6299b3b Fix decoding Thumb TST 2014-07-11 01:26:57 -07:00
Jeffrey Pfau 2921ba8842 Split ARM emitters into own file 2014-07-10 23:21:28 -07:00
Jeffrey Pfau fde2107a6b Fix disassembler memory boundary conditions 2014-07-10 03:31:24 -07:00
Jeffrey Pfau 64cc5ada86 Merge Thumb mnemonics into ARM mnemonics in preparation for ARM decoder 2014-07-10 03:30:59 -07:00
Jeffrey Pfau a22c89fedb Remove notion of special register 2014-07-10 02:33:16 -07:00
Jeffrey Pfau 6c1476403e Reorder log levels so more important ones have lower numbers 2014-07-10 01:12:25 -07:00
Jeffrey Pfau b810e38bd7 Fix a compiler warning in SIO code 2014-07-10 01:05:28 -07:00
Jeffrey Pfau d56dec79e7 Fix function prototype for GBAThreadInterrupt 2014-07-10 01:03:02 -07:00
Jeffrey Pfau c2fc2dbac3 Remove unused variable 2014-07-10 01:02:13 -07:00
Jeffrey Pfau 55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau 0a48d4cc2f Draw a polygon every frame, even when paused, to make sure screen is not stale (fixes #87) 2014-07-09 23:18:34 -07:00
Jeffrey Pfau 87913a4c33 Add missing return statement 2014-07-09 23:17:51 -07:00
Jeffrey Pfau 642cbf3429 Hopefully fix edge cases for windows for real this time (fixes #88) 2014-07-09 23:09:28 -07:00
Jeffrey Pfau b762ce41a0 Only take slow mosaic path when mosiac is actually in play 2014-07-09 23:01:03 -07:00
Jeffrey Pfau e6863a6cc5 Fix mosaic drawing of 256-color mirrored background tiles 2014-07-09 22:49:05 -07:00
Jeffrey Pfau c3136b914e Fix sampling order of sound channel 3 2014-07-09 03:53:23 -07:00
Jeffrey Pfau 3e827c24a8 Fix 8-bit IO writes on SOUND3CNT_X 2014-07-09 03:53:23 -07:00
Jeffrey Pfau 78bd884a05 Fix setting window sizes to 0xFFFF from actually making a window 2014-07-09 03:53:23 -07:00
Jeffrey Pfau 3ee3f7625f Link with SDL2_LIBDIR if necessary 2014-07-09 01:46:40 -07:00
Jeffrey Pfau f1b4e7039f Fix sprites whose tiles go out of bounds 2014-07-09 01:32:02 -07:00
Jeffrey Pfau 79cfc4fd0a Make GBAThreadInterrupt work properly with paused threads again 2014-07-09 00:36:04 -07:00
Jeffrey Pfau ecee71cfa1 Resizing of SDL2 windows 2014-07-09 00:03:05 -07:00
Jeffrey Pfau 548793e551 Remove audio processing loop now that there is an event processing loop 2014-07-08 22:00:53 -07:00
Jeffrey Pfau 83e16d56c0 Fix a case where deserializing the FIFO may not restore up to three bytes 2014-07-08 21:56:03 -07:00
Jeffrey Pfau a62a932282 Ensure interrupting the GBA thread actually gets to a safe point to read from the thread 2014-07-08 00:04:38 -07:00
Jeffrey Pfau 8c9790bb3b Add audio FIFOs to savestates 2014-07-08 00:02:39 -07:00