Commit Graph

683 Commits

Author SHA1 Message Date
Jeffrey Pfau fcaa0eb066 Implement RTC 2013-10-20 21:39:47 -07:00
Jeffrey Pfau 7e5eada69b Mark more registers as safe to read 2013-10-20 18:14:04 -07:00
Jeffrey Pfau ddc1034d42 Start GPIO 2013-10-20 18:08:18 -07:00
Jeffrey Pfau 228b6aaa01 Remove obsolete errno interface 2013-10-20 16:48:29 -07:00
Jeffrey Pfau 4429435071 Implement sound length 2013-10-20 16:33:37 -07:00
Jeffrey Pfau d6e466dda1 Fix pitch of channel 3 2013-10-20 16:04:22 -07:00
Jeffrey Pfau 76266a4ee7 Move mode 0 loops out of macros 2013-10-20 12:36:57 -07:00
Jeffrey Pfau 76f02be757 Ability to disable sound 2013-10-20 02:18:09 -07:00
Jeffrey Pfau ca80e5f32b Add l/r channel scaling 2013-10-20 02:10:54 -07:00
Jeffrey Pfau cc8eeb4353 Start audio channel 3 2013-10-19 03:04:45 -07:00
Jeffrey Pfau cfb0115c0e Commit unreadable sound memory for the sake of bitewise assignment 2013-10-19 00:49:20 -07:00
Jeffrey Pfau 4a0a462673 Clean up channel 1 2013-10-19 00:48:57 -07:00
Jeffrey Pfau 003a537dc7 Implement most of channels 1 and 2 2013-10-18 23:12:14 -07:00
Jeffrey Pfau 79d483d002 Fix audio loudness issues 2013-10-18 19:44:55 -07:00
Jeffrey Pfau 04f99bd358 Prescale audio 2013-10-18 09:41:13 -07:00
Jeffrey Pfau 565ee43bb2 Fix video cycle timing to match audio timing fix 2013-10-18 09:41:01 -07:00
Jeffrey Pfau 093c86c943 Add channel 4 envelope, fix audio timing 2013-10-18 09:33:07 -07:00
Jeffrey Pfau a55b4dc87f Fix valgrind-found uninitialized values 2013-10-18 08:42:15 -07:00
Jeffrey Pfau 3acabb01c8 Conglomerate save data initialization to ensure the struct is always initialized 2013-10-18 08:36:05 -07:00
Jeffrey Pfau d99bf7fdff Rename GBAAudioWave to GBAAudioEnvelope, add fields for internal state 2013-10-18 08:10:10 -07:00
Jeffrey Pfau 7393351e27 Start implementing channel 4 2013-10-18 01:21:44 -07:00
Jeffrey Pfau eac9dfb325 Start filling in audio framework 2013-10-18 01:21:22 -07:00
Jeffrey Pfau ea41ef7ae6 Fix main thread stalling when starting a game 2013-10-17 23:10:16 -07:00
Jeffrey Pfau 62d941a979 Plumb through filename for checking overrides 2013-10-17 01:07:08 -07:00
Jeffrey Pfau 451c16f4cb Fix overwriting DISPSTAT with fixed values for the lower bits 2013-10-16 22:23:32 -07:00
Jeffrey Pfau 3edb2da58d Make platform directory for ports 2013-10-16 01:35:49 -07:00
Jeffrey Pfau a1fb90635f Functions for explicitly pausing and unpausing 2013-10-16 00:52:52 -07:00
Jeffrey Pfau a107243c7a Support pausing 2013-10-16 00:46:09 -07:00
Jeffrey Pfau 8e43ffed90 Adjust scaling/rotation state for backgrounds regardless of if they were actually drawn 2013-10-15 22:58:47 -07:00
Jeffrey Pfau f4a1e994d6 Mark BG*CNT registers as safe to read 2013-10-15 21:55:28 -07:00
Jeffrey Pfau 0120ea93a5 Sprites shouldn't be blended if the current window has blending disabled 2013-10-15 21:44:47 -07:00
Jeffrey Pfau ce33adf5e4 Don't wait on frame swap when we aren't doing frame synchronization in the first place 2013-10-15 02:34:37 -07:00
Jeffrey Pfau 1b5dd352af Sprites can only be color variants when they aren't forced semitransparent 2013-10-15 02:09:23 -07:00
Jeffrey Pfau 1b54f50daa Allow sprites to be ordered by priority in addition to OAM order 2013-10-15 01:45:49 -07:00
Jeffrey Pfau ee344f0dca Optimize and fix IntrWait, make sure that SVC doesn't trample its input register r0 2013-10-15 00:50:07 -07:00
Jeffrey Pfau f90b01b95d Fix setting privilege mode when entering SVC 2013-10-14 22:32:52 -07:00
Jeffrey Pfau 9430040cb3 Check for some invalid memory regions before performing BIOS decompression routines 2013-10-13 20:12:30 -07:00
Jeffrey Pfau 67007ee002 Fix 8-bit VRAM writes 2013-10-13 15:23:39 -07:00
Jeffrey Pfau ee44e2ac89 Add Super Mario Bros. Advance 4 to the override list 2013-10-13 15:06:32 -07:00
Jeffrey Pfau 187687403c Fix EEPROM initialization 2013-10-13 12:14:32 -07:00
Jeffrey Pfau a20117ec14 Fix Huffman destinations 2013-10-13 12:14:16 -07:00
Jeffrey Pfau 9d08997fdc Fix Huffman with tree sizes >127 2013-10-13 03:25:46 -07:00
Jeffrey Pfau 3ca0a97ca1 Prepopulate RCNT 2013-10-12 16:37:10 -07:00
Jeffrey Pfau d8778cf516 Implement Huffman 2013-10-12 13:32:23 -07:00
Jeffrey Pfau 973abb7b94 Uncomment audio initialization line 2013-10-12 02:29:24 -07:00
Jeffrey Pfau 51ec1c1099 Bring SDL main to parity with GL main 2013-10-12 02:13:26 -07:00
Jeffrey Pfau cf298474bc Use 5_6_5 with SDL 2013-10-12 02:11:57 -07:00
Jeffrey Pfau 25cc40f3e1 Bring Raspberry Pi main to parity with GL main 2013-10-12 01:18:34 -07:00
Jeffrey Pfau 5caffd1f5a Remove reference to removed file 2013-10-12 00:39:03 -07:00
Jeffrey Pfau 290b64b171 Compile-time flag for disabling debugger 2013-10-12 00:34:59 -07:00