Commit Graph

  • 6376a1ff7f Support OBJWIN in mode 4 Jeffrey Pfau 2013-10-26 02:26:08 -07:00
  • 38116f0ead Rearrange calculation to shave off some more time Jeffrey Pfau 2013-10-26 01:30:31 -07:00
  • 71b5473563 Fix white on 5-6-5 color Jeffrey Pfau 2013-10-26 01:32:27 -07:00
  • 915b04dded Add support for PowerPC to the memory and CPU interfaces Jeffrey Pfau 2013-10-26 01:53:13 -04:00
  • 07115ca655 Ensure thread-local storage is created before it is needed Jeffrey Pfau 2013-10-25 03:15:31 -07:00
  • d5291eb1b6 Remove unnecessary sprite post-processing passes Jeffrey Pfau 2013-10-25 00:27:42 -07:00
  • c12eca835f Don't busy-wait if the emulator is paused Jeffrey Pfau 2013-10-24 01:09:01 -07:00
  • 17ccb35c33 Small, trivial optimizations in GBAVideoSoftwareRendererDrawScanline Jeffrey Pfau 2013-10-24 00:54:51 -07:00
  • 6eafbc6331 Tear out counter-productive optimization Jeffrey Pfau 2013-10-24 00:21:59 -07:00
  • 4b9e9f84be Start implementing mosaic with a half-baked mode 0 implementation Jeffrey Pfau 2013-10-23 01:17:53 -07:00
  • 9358cbd690 Initialize rumble callback to null Jeffrey Pfau 2013-10-22 00:26:09 -07:00
  • 709434ce9f Add Drill Dozer to the override list Jeffrey Pfau 2013-10-22 00:18:56 -07:00
  • e74b0125a7 Expose rumble Jeffrey Pfau 2013-10-21 21:50:29 -07:00
  • 2fde9738be Add more overrides Jeffrey Pfau 2013-10-21 21:42:28 -07:00
  • 0458184a5e Implement gyro Jeffrey Pfau 2013-10-21 02:54:52 -07:00
  • c77ed8c11e Only reset save type manually for flash Jeffrey Pfau 2013-10-21 01:28:41 -07:00
  • fcaa0eb066 Implement RTC Jeffrey Pfau 2013-10-20 21:39:47 -07:00
  • 7e5eada69b Mark more registers as safe to read Jeffrey Pfau 2013-10-20 18:14:04 -07:00
  • ddc1034d42 Start GPIO Jeffrey Pfau 2013-10-20 18:08:18 -07:00
  • 228b6aaa01 Remove obsolete errno interface Jeffrey Pfau 2013-10-20 16:48:29 -07:00
  • 4429435071 Implement sound length Jeffrey Pfau 2013-10-20 16:33:37 -07:00
  • d6e466dda1 Fix pitch of channel 3 Jeffrey Pfau 2013-10-20 16:04:22 -07:00
  • 76266a4ee7 Move mode 0 loops out of macros Jeffrey Pfau 2013-10-20 12:36:57 -07:00
  • 76f02be757 Ability to disable sound Jeffrey Pfau 2013-10-20 02:18:09 -07:00
  • ca80e5f32b Add l/r channel scaling Jeffrey Pfau 2013-10-20 01:58:52 -07:00
  • cc8eeb4353 Start audio channel 3 Jeffrey Pfau 2013-10-19 03:04:45 -07:00
  • cfb0115c0e Commit unreadable sound memory for the sake of bitewise assignment Jeffrey Pfau 2013-10-19 00:49:20 -07:00
  • 4a0a462673 Clean up channel 1 Jeffrey Pfau 2013-10-19 00:48:57 -07:00
  • 003a537dc7 Implement most of channels 1 and 2 Jeffrey Pfau 2013-10-18 23:12:14 -07:00
  • 79d483d002 Fix audio loudness issues Jeffrey Pfau 2013-10-18 19:44:55 -07:00
  • 04f99bd358 Prescale audio Jeffrey Pfau 2013-10-18 09:41:13 -07:00
  • 565ee43bb2 Fix video cycle timing to match audio timing fix Jeffrey Pfau 2013-10-18 09:41:01 -07:00
  • 093c86c943 Add channel 4 envelope, fix audio timing Jeffrey Pfau 2013-10-18 09:33:07 -07:00
  • a55b4dc87f Fix valgrind-found uninitialized values Jeffrey Pfau 2013-10-18 08:42:15 -07:00
  • 3acabb01c8 Conglomerate save data initialization to ensure the struct is always initialized Jeffrey Pfau 2013-10-18 08:36:05 -07:00
  • d99bf7fdff Rename GBAAudioWave to GBAAudioEnvelope, add fields for internal state Jeffrey Pfau 2013-10-18 08:10:10 -07:00
  • 7393351e27 Start implementing channel 4 Jeffrey Pfau 2013-10-18 01:21:44 -07:00
  • eac9dfb325 Start filling in audio framework Jeffrey Pfau 2013-10-17 23:41:11 -07:00
  • ea41ef7ae6 Fix main thread stalling when starting a game Jeffrey Pfau 2013-10-17 23:10:16 -07:00
  • 62d941a979 Plumb through filename for checking overrides Jeffrey Pfau 2013-10-17 01:07:08 -07:00
  • 451c16f4cb Fix overwriting DISPSTAT with fixed values for the lower bits Jeffrey Pfau 2013-10-16 22:23:32 -07:00
  • 3edb2da58d Make platform directory for ports Jeffrey Pfau 2013-10-16 01:35:49 -07:00
  • a1fb90635f Functions for explicitly pausing and unpausing Jeffrey Pfau 2013-10-16 00:52:52 -07:00
  • a107243c7a Support pausing Jeffrey Pfau 2013-10-16 00:46:09 -07:00
  • 8e43ffed90 Adjust scaling/rotation state for backgrounds regardless of if they were actually drawn Jeffrey Pfau 2013-10-15 22:58:47 -07:00
  • f4a1e994d6 Mark BG*CNT registers as safe to read Jeffrey Pfau 2013-10-15 21:55:28 -07:00
  • 0120ea93a5 Sprites shouldn't be blended if the current window has blending disabled Jeffrey Pfau 2013-10-15 21:44:47 -07:00
  • ce33adf5e4 Don't wait on frame swap when we aren't doing frame synchronization in the first place Jeffrey Pfau 2013-10-15 02:34:37 -07:00
  • 1b5dd352af Sprites can only be color variants when they aren't forced semitransparent Jeffrey Pfau 2013-10-15 02:09:23 -07:00
  • 1b54f50daa Allow sprites to be ordered by priority in addition to OAM order Jeffrey Pfau 2013-10-15 01:45:49 -07:00
  • ee344f0dca Optimize and fix IntrWait, make sure that SVC doesn't trample its input register r0 Jeffrey Pfau 2013-10-15 00:50:07 -07:00
  • f90b01b95d Fix setting privilege mode when entering SVC Jeffrey Pfau 2013-10-14 22:32:52 -07:00
  • 9430040cb3 Check for some invalid memory regions before performing BIOS decompression routines Jeffrey Pfau 2013-10-13 20:12:30 -07:00
  • 67007ee002 Fix 8-bit VRAM writes Jeffrey Pfau 2013-10-13 15:23:39 -07:00
  • ee44e2ac89 Add Super Mario Bros. Advance 4 to the override list Jeffrey Pfau 2013-10-13 15:06:32 -07:00
  • 187687403c Fix EEPROM initialization Jeffrey Pfau 2013-10-13 12:14:32 -07:00
  • a20117ec14 Fix Huffman destinations Jeffrey Pfau 2013-10-13 12:14:16 -07:00
  • 9d08997fdc Fix Huffman with tree sizes >127 Jeffrey Pfau 2013-10-13 03:25:46 -07:00
  • 3ca0a97ca1 Prepopulate RCNT Jeffrey Pfau 2013-10-12 16:37:10 -07:00
  • d8778cf516 Implement Huffman Jeffrey Pfau 2013-10-12 13:32:23 -07:00
  • 973abb7b94 Uncomment audio initialization line Jeffrey Pfau 2013-10-12 02:29:24 -07:00
  • 51ec1c1099 Bring SDL main to parity with GL main Jeffrey Pfau 2013-10-12 02:13:26 -07:00
  • cf298474bc Use 5_6_5 with SDL Jeffrey Pfau 2013-10-12 02:11:57 -07:00
  • 25cc40f3e1 Bring Raspberry Pi main to parity with GL main Jeffrey Pfau 2013-10-12 01:18:34 -07:00
  • 5caffd1f5a Remove reference to removed file Jeffrey Pfau 2013-10-12 00:39:03 -07:00
  • 290b64b171 Compile-time flag for disabling debugger Jeffrey Pfau 2013-10-12 00:13:11 -07:00
  • b3dc065144 Read DISPCNT, fix video register writing Jeffrey Pfau 2013-10-11 22:04:41 -07:00
  • de39f23a1b Add ROM override checking, seed with BPEE Jeffrey Pfau 2013-10-11 22:03:27 -07:00
  • 58611facf1 Fix OBJWIN blending modifications on BG modes 0 - 2 Jeffrey Pfau 2013-10-11 00:43:01 -07:00
  • cff77a3a81 Remove extraneous macros by adding a palette variable Jeffrey Pfau 2013-10-10 23:33:22 -07:00
  • e789b324dc Refactor BREAK_WINDOW into _breakWindow, fix bug cleaning up extra windows Jeffrey Pfau 2013-10-10 01:40:49 -07:00
  • 2ef64ede02 Basic tab-completion Jeffrey Pfau 2013-10-10 01:05:25 -07:00
  • 01d8569262 Remove reliance on linenoise Jeffrey Pfau 2013-10-09 21:52:56 -07:00
  • c19d1117f1 Add timings to CpuSet and CpuFastSet Jeffrey Pfau 2013-10-09 01:57:53 -07:00
  • 09a0f95ed4 Actually use GBATestIRQ Jeffrey Pfau 2013-10-09 01:56:59 -07:00
  • 6906df95e2 VCOUNT is not properly reset on wrap Jeffrey Pfau 2013-10-09 01:09:09 -07:00
  • c3a7d87214 Add missing variable Jeffrey Pfau 2013-10-09 00:44:44 -07:00
  • 9698531702 Clean up thread starting, stopping and sound Jeffrey Pfau 2013-10-09 00:44:31 -07:00
  • 2f9bcf63b7 Clean up audio sync code Jeffrey Pfau 2013-10-08 22:36:55 -07:00
  • 84ad94b85e Support loading BIOS Jeffrey Pfau 2013-10-08 22:36:19 -07:00
  • 68d85ab9b7 Implement VRAM load/store8 Jeffrey Pfau 2013-10-08 21:43:43 -07:00
  • 3e3bb58ae5 Minor timing fixes Jeffrey Pfau 2013-10-08 02:10:40 -07:00
  • 40a0a0eb11 Fix reading 32-bit unaligned IO registers Jeffrey Pfau 2013-10-06 12:28:48 -07:00
  • 45501658b5 Sync to audio by default Jeffrey Pfau 2013-10-05 02:52:57 -07:00
  • 4ef6a70731 Refactor frame synchronization Jeffrey Pfau 2013-10-05 02:11:53 -07:00
  • 2f00e3d146 Don't trample audio buffer Jeffrey Pfau 2013-10-03 12:08:52 -07:00
  • 4a09d41aab Fix circle buffers Jeffrey Pfau 2013-10-03 01:25:51 -07:00
  • 0dd69e8273 Fix incorrect condition in FIFO sampling Jeffrey Pfau 2013-10-03 01:23:16 -07:00
  • da38027654 Add missing changes Jeffrey Pfau 2013-10-02 02:45:41 -07:00
  • ba0596da07 Hook up audio for DMA sound channels Jeffrey Pfau 2013-10-02 02:40:16 -07:00
  • a834f8b1f6 Sample FIFOs with sound DMA timer Jeffrey Pfau 2013-10-02 00:46:51 -07:00
  • 71ec6162f1 Fix circle buffer sizing Jeffrey Pfau 2013-10-02 00:46:19 -07:00
  • 09b4a4a29a Build up DMA channel audio infrastructure from GBA.js Jeffrey Pfau 2013-10-01 23:56:10 -07:00
  • 9bf6b571b1 Fix naming Jeffrey Pfau 2013-09-30 02:02:26 -07:00
  • f5bcb1eace Change log level to mask Jeffrey Pfau 2013-09-30 01:48:41 -07:00
  • aaaafb90a5 Add ability to get thread-specific GBA Jeffrey Pfau 2013-09-30 01:42:31 -07:00
  • be36c1b5d6 Clean up error handling a bit Jeffrey Pfau 2013-09-30 01:31:14 -07:00
  • 3439fa5bf4 Start audio Jeffrey Pfau 2013-09-30 01:23:58 -07:00
  • 25885e1e82 Invalid memory reads Jeffrey Pfau 2013-09-27 23:48:56 -07:00
  • 453fdac3fe Fix ArcTan2 Jeffrey Pfau 2013-09-27 09:47:30 -07:00