Commit Graph

7848 Commits

Author SHA1 Message Date
Jeffrey Pfau a1910206c0 Support blending with sprites behind a background 2013-04-25 02:08:12 -07:00
Jeffrey Pfau fefbf7a296 Flip sprites vertically after applying boundary operations 2013-04-25 01:55:47 -07:00
Jeffrey Pfau cea8109c06 Run Vblank and Hblank DMAs 2013-04-25 01:50:28 -07:00
Jeffrey Pfau e9e29610a4 Read from palette memory 2013-04-25 01:48:28 -07:00
Jeffrey Pfau 65e0445375 Implement TST 2013-04-25 00:56:43 -07:00
Jeffrey Pfau cfc3ec4f3b Implement ROR 2013-04-25 00:53:24 -07:00
Jeffrey Pfau 21490dcf51 Implement CMN 2013-04-25 00:48:35 -07:00
Jeffrey Pfau c8b2d2753e Use variant palette on sprites when target 1 2013-04-25 00:28:39 -07:00
Jeffrey Pfau e1932f2411 Implement sprite flipping 2013-04-25 00:17:17 -07:00
Jeffrey Pfau 9dbd925d90 Allow for negative-y sprites 2013-04-25 00:11:27 -07:00
Jeffrey Pfau 4446e0dbde Implement blending on sprites 2013-04-24 23:49:16 -07:00
Jeffrey Pfau 07b96cddef Begin sprites 2013-04-24 23:40:22 -07:00
Jeffrey Pfau 00dd5bdaa8 Dual condition-variable non-hacky waiting-on-frame 2013-04-24 02:43:55 -07:00
Jeffrey Pfau 5122a236e0 Squelch warnings, turn on -Werror 2013-04-24 01:32:49 -07:00
Jeffrey Pfau 1c0af22990 Implement BLDALPHA 2013-04-24 01:16:03 -07:00
Jeffrey Pfau 40b00e7927 Refactor some code to enable compositing code to be shared 2013-04-24 00:50:17 -07:00
Jeffrey Pfau 0d7657e845 Implement BLDCNT (partially) and BLDY 2013-04-24 00:34:50 -07:00
Jeffrey Pfau b3d9a1918b Kludge to prevent busy-waiting while no frames are generating 2013-04-23 23:07:24 -07:00
Jeffrey Pfau 754725e124 Start using pixel flags to keep track of pixel states 2013-04-23 22:48:01 -07:00
Jeffrey Pfau 7c7e934dac Turbo mode 2013-04-23 22:32:15 -07:00
Jeffrey Pfau 190f9b41e6 Implement STRB(2) 2013-04-23 02:13:59 -07:00
Jeffrey Pfau e82fd991fa More sane way of writing 32-bit values to VRAM, palette 2013-04-23 02:05:10 -07:00
Jeffrey Pfau 3a76cdc6e0 VRAM reading 2013-04-23 02:03:06 -07:00
Jeffrey Pfau 21704ab37a Allow use of wrong LZ77 destination 2013-04-22 22:55:49 -07:00
Jeffrey Pfau 11d1de39e1 Fix non-zero character base 2013-04-22 02:28:03 -07:00
Jeffrey Pfau bcf446737c Start implementing transparency 2013-04-22 02:07:35 -07:00
Jeffrey Pfau e1d5f3f457 Fix drawing wide backgrounds 2013-04-22 02:07:19 -07:00
Jeffrey Pfau b48b868cfb Write to VRAM 2013-04-22 01:59:25 -07:00
Jeffrey Pfau f136d8165a Was accidentally chopping off a bit in LZ77UnCompVram 2013-04-22 01:12:48 -07:00
Jeffrey Pfau 060ae364b5 Start drawing backgrounds 2013-04-22 01:11:48 -07:00
Jeffrey Pfau 764b6010c0 Sort backgrounds 2013-04-21 20:59:43 -07:00
Jeffrey Pfau a6fb91bb7d Do some cleanup of pthread data 2013-04-21 14:52:25 -07:00
Jeffrey Pfau 225729b79c Implement BGxHOFS/BGxVOFS 2013-04-21 14:43:28 -07:00
Jeffrey Pfau 3ec0afa8fc Implement BGxCNT 2013-04-21 14:09:41 -07:00
Jeffrey Pfau 265bbe4f8f Add struct for keeping track of background state 2013-04-21 13:17:15 -07:00
Jeffrey Pfau 933e8330d2 Start implementing DISPCNT 2013-04-21 13:16:06 -07:00
Jeffrey Pfau cdddcbf7aa Pass off video registers to renderer 2013-04-21 12:39:33 -07:00
Jeffrey Pfau 573fcead5d Start building up structs for video registers 2013-04-21 12:34:24 -07:00
Jeffrey Pfau 9f425c53c8 Spring IRQs if we need to 2013-04-21 01:09:11 -07:00
Jeffrey Pfau 3ca5e52de1 Handle key, quit events 2013-04-21 00:35:21 -07:00
Jeffrey Pfau 71986b0477 Support writing to palette, display palette on screen 2013-04-20 22:08:58 -07:00
Jeffrey Pfau 2860714714 Draw output buffer 2013-04-20 21:40:06 -07:00
Jeffrey Pfau eba5d547b9 Start using SDL for graphics syncing 2013-04-20 20:29:53 -07:00
Jeffrey Pfau a094024ad5 Add missing files 2013-04-20 18:11:27 -07:00
Jeffrey Pfau 67d25794e1 Fix LDMIA/STMIA 2013-04-20 18:03:59 -07:00
Jeffrey Pfau 14100f19d1 Implement LSL(2) 2013-04-20 18:03:48 -07:00
Jeffrey Pfau 0bfb77106b Properly init and deinit renderers 2013-04-20 16:47:04 -07:00
Jeffrey Pfau b4cee4c286 Properly isolate threading 2013-04-20 16:44:03 -07:00
Jeffrey Pfau fffe39153f Wait on thread initialization before returning from thread creation 2013-04-20 16:40:08 -07:00
Jeffrey Pfau 9ba9fac898 Restructure video memory 2013-04-20 16:16:37 -07:00