Commit Graph

  • cd73c562ea Implement addressing mode 1 LSL/LSR with register Jeffrey Pfau 2013-05-01 23:08:22 -07:00
  • aeecbdb56f Draw backgrounds with variant palette when appropriate Jeffrey Pfau 2013-05-01 02:51:33 -07:00
  • 40e9a7ef26 Update variant palettes when writing to palette Jeffrey Pfau 2013-05-01 02:37:15 -07:00
  • 03361f20a2 Start drawing backdrop Jeffrey Pfau 2013-05-01 02:32:56 -07:00
  • 2e9a64a26e Implement Sqrt Jeffrey Pfau 2013-05-01 00:27:31 -07:00
  • 6ed3c18afd Support IWRAM in LZ77 Jeffrey Pfau 2013-05-01 00:24:28 -07:00
  • 5f6cf337a0 16-bit DMA address writes Jeffrey Pfau 2013-04-30 23:22:39 -07:00
  • da489b90f8 Ensure shifter carry-out gets bits set right Jeffrey Pfau 2013-04-30 21:02:56 -07:00
  • f7fbb877e0 Fix Div output registers Jeffrey Pfau 2013-04-30 20:54:09 -07:00
  • 118c393d1b Fix addressing mode 2 register post-indexed Jeffrey Pfau 2013-04-30 02:43:12 -07:00
  • 337d4dc1e6 Implement addressing mode 1 ROR with register Jeffrey Pfau 2013-04-30 01:57:36 -07:00
  • e1963c6e60 Implement SMULL Jeffrey Pfau 2013-04-30 01:42:11 -07:00
  • 698bc0ada5 Re-add 256-color Jeffrey Pfau 2013-04-30 01:32:48 -07:00
  • 6cdfa43e97 hflip in fast path Jeffrey Pfau 2013-04-29 22:05:32 -07:00
  • 87e5973039 Proper blending on sprite targets Jeffrey Pfau 2013-04-29 21:27:29 -07:00
  • 2d4c1fdc2c Add back compositing Jeffrey Pfau 2013-04-29 21:27:05 -07:00
  • 56333d3344 Use base rendering mode Jeffrey Pfau 2013-04-29 21:12:56 -07:00
  • 7bb4d9d5ff Throw out slow background renderer. Let me try again. Jeffrey Pfau 2013-04-29 00:42:04 -07:00
  • 6c2f7b3b73 Use 32-bit color internally Jeffrey Pfau 2013-04-28 23:01:45 -07:00
  • 7c597d5205 Rearrange some code in preparation of adding windows Jeffrey Pfau 2013-04-28 02:57:06 -07:00
  • dfd360bfbb Remove accidentally left in testing code Jeffrey Pfau 2013-04-28 01:46:43 -07:00
  • 5f6b57734d Implement character mapping Jeffrey Pfau 2013-04-28 01:43:39 -07:00
  • 8072ff7d2c Rotate LDR Jeffrey Pfau 2013-04-28 01:33:59 -07:00
  • 6450ce16b2 Fix LDR(3) Jeffrey Pfau 2013-04-28 01:33:45 -07:00
  • e86f7d79fb Clean up and fix conditions for CPSR V Jeffrey Pfau 2013-04-28 00:19:15 -07:00
  • 19f9b72c33 Fix CPSR C being written Jeffrey Pfau 2013-04-28 00:06:13 -07:00
  • 682684cb6d Output MUL into the right register Jeffrey Pfau 2013-04-27 23:44:33 -07:00
  • 2c8786ae4c Use LE instead of GE where appropriate Jeffrey Pfau 2013-04-27 23:44:17 -07:00
  • dd4e6b0ce1 Stub RegisterRamReset Jeffrey Pfau 2013-04-27 22:54:41 -07:00
  • ca959c640a Implement EEPROM Jeffrey Pfau 2013-04-27 21:51:58 -07:00
  • f4fa423135 EEPROM only works in DMAs Jeffrey Pfau 2013-04-27 20:39:14 -07:00
  • 4380ec0260 Start implementing EEPROM Jeffrey Pfau 2013-04-27 20:25:31 -07:00
  • e02059947c Start implementing save games Jeffrey Pfau 2013-04-27 19:59:41 -07:00
  • dab27463a9 Implement DivArm Jeffrey Pfau 2013-04-27 19:58:21 -07:00
  • fd5661e941 Fix alpha blending when neither target 1 or target 2 are set Jeffrey Pfau 2013-04-27 03:09:23 -07:00
  • 2e78381e55 Implement SWI Jeffrey Pfau 2013-04-27 02:56:34 -07:00
  • 6c44cf8dfc Implement BL Jeffrey Pfau 2013-04-27 02:54:16 -07:00
  • 21b9222357 Fix entering SWI mode Jeffrey Pfau 2013-04-27 02:50:35 -07:00
  • bd9714b540 Implement STR(2)/STRH(2) Jeffrey Pfau 2013-04-27 02:42:42 -07:00
  • 2fc5474d91 Implement addressing mode 1 ROR immediate Jeffrey Pfau 2013-04-27 01:54:57 -07:00
  • 2bc23e7aa2 Redo compositing and sprite blending Jeffrey Pfau 2013-04-27 01:36:06 -07:00
  • b3e1aa7853 Don't blend if not target 1 Jeffrey Pfau 2013-04-27 00:11:04 -07:00
  • f7922c1627 Restructure background drawing code for multipalette Jeffrey Pfau 2013-04-26 23:59:50 -07:00
  • 1ff337c6fc Allow 256-color rendering Jeffrey Pfau 2013-04-26 22:21:38 -07:00
  • 13c95a2aae Build fixes for linux Jeffrey Pfau 2013-04-26 03:08:52 -07:00
  • 3cd5e8d093 Implement Div Jeffrey Pfau 2013-04-26 02:05:54 -07:00
  • d2e84f0a30 Implement IntrWait Jeffrey Pfau 2013-04-26 02:00:59 -07:00
  • 7c895f6091 Load files from arg 1 Jeffrey Pfau 2013-04-26 01:50:14 -07:00
  • 301c07dda3 Implement ADC, SBC Jeffrey Pfau 2013-04-26 01:25:31 -07:00
  • c61812325c Transformed sprites Jeffrey Pfau 2013-04-26 01:06:41 -07:00
  • f91149e30f Flipped background tiles Jeffrey Pfau 2013-04-25 22:03:15 -07:00
  • a1910206c0 Support blending with sprites behind a background Jeffrey Pfau 2013-04-25 02:08:12 -07:00
  • fefbf7a296 Flip sprites vertically after applying boundary operations Jeffrey Pfau 2013-04-25 01:55:47 -07:00
  • cea8109c06 Run Vblank and Hblank DMAs Jeffrey Pfau 2013-04-25 01:50:28 -07:00
  • e9e29610a4 Read from palette memory Jeffrey Pfau 2013-04-25 01:48:28 -07:00
  • 65e0445375 Implement TST Jeffrey Pfau 2013-04-25 00:56:43 -07:00
  • cfc3ec4f3b Implement ROR Jeffrey Pfau 2013-04-25 00:53:24 -07:00
  • 21490dcf51 Implement CMN Jeffrey Pfau 2013-04-25 00:48:35 -07:00
  • c8b2d2753e Use variant palette on sprites when target 1 Jeffrey Pfau 2013-04-25 00:28:39 -07:00
  • e1932f2411 Implement sprite flipping Jeffrey Pfau 2013-04-25 00:17:17 -07:00
  • 9dbd925d90 Allow for negative-y sprites Jeffrey Pfau 2013-04-25 00:11:27 -07:00
  • 4446e0dbde Implement blending on sprites Jeffrey Pfau 2013-04-24 23:49:16 -07:00
  • 07b96cddef Begin sprites Jeffrey Pfau 2013-04-24 23:40:22 -07:00
  • 00dd5bdaa8 Dual condition-variable non-hacky waiting-on-frame Jeffrey Pfau 2013-04-24 02:43:55 -07:00
  • 5122a236e0 Squelch warnings, turn on -Werror Jeffrey Pfau 2013-04-24 01:24:48 -07:00
  • 1c0af22990 Implement BLDALPHA Jeffrey Pfau 2013-04-24 01:16:03 -07:00
  • 40b00e7927 Refactor some code to enable compositing code to be shared Jeffrey Pfau 2013-04-24 00:50:17 -07:00
  • 0d7657e845 Implement BLDCNT (partially) and BLDY Jeffrey Pfau 2013-04-24 00:34:50 -07:00
  • b3d9a1918b Kludge to prevent busy-waiting while no frames are generating Jeffrey Pfau 2013-04-23 23:07:24 -07:00
  • 754725e124 Start using pixel flags to keep track of pixel states Jeffrey Pfau 2013-04-23 22:48:01 -07:00
  • 7c7e934dac Turbo mode Jeffrey Pfau 2013-04-23 22:32:15 -07:00
  • 190f9b41e6 Implement STRB(2) Jeffrey Pfau 2013-04-23 02:13:59 -07:00
  • e82fd991fa More sane way of writing 32-bit values to VRAM, palette Jeffrey Pfau 2013-04-23 02:05:10 -07:00
  • 3a76cdc6e0 VRAM reading Jeffrey Pfau 2013-04-23 02:03:06 -07:00
  • 21704ab37a Allow use of wrong LZ77 destination Jeffrey Pfau 2013-04-22 22:55:49 -07:00
  • 11d1de39e1 Fix non-zero character base Jeffrey Pfau 2013-04-22 02:28:03 -07:00
  • bcf446737c Start implementing transparency Jeffrey Pfau 2013-04-22 02:07:35 -07:00
  • e1d5f3f457 Fix drawing wide backgrounds Jeffrey Pfau 2013-04-22 02:07:19 -07:00
  • b48b868cfb Write to VRAM Jeffrey Pfau 2013-04-22 01:59:25 -07:00
  • f136d8165a Was accidentally chopping off a bit in LZ77UnCompVram Jeffrey Pfau 2013-04-22 01:12:48 -07:00
  • 060ae364b5 Start drawing backgrounds Jeffrey Pfau 2013-04-22 01:11:48 -07:00
  • 764b6010c0 Sort backgrounds Jeffrey Pfau 2013-04-21 20:59:43 -07:00
  • a6fb91bb7d Do some cleanup of pthread data Jeffrey Pfau 2013-04-21 14:52:25 -07:00
  • 225729b79c Implement BGxHOFS/BGxVOFS Jeffrey Pfau 2013-04-21 14:43:28 -07:00
  • 3ec0afa8fc Implement BGxCNT Jeffrey Pfau 2013-04-21 14:09:41 -07:00
  • 265bbe4f8f Add struct for keeping track of background state Jeffrey Pfau 2013-04-21 13:17:15 -07:00
  • 933e8330d2 Start implementing DISPCNT Jeffrey Pfau 2013-04-21 12:48:14 -07:00
  • cdddcbf7aa Pass off video registers to renderer Jeffrey Pfau 2013-04-21 12:39:33 -07:00
  • 573fcead5d Start building up structs for video registers Jeffrey Pfau 2013-04-21 12:33:03 -07:00
  • 9f425c53c8 Spring IRQs if we need to Jeffrey Pfau 2013-04-21 01:09:11 -07:00
  • 3ca5e52de1 Handle key, quit events Jeffrey Pfau 2013-04-21 00:35:21 -07:00
  • 71986b0477 Support writing to palette, display palette on screen Jeffrey Pfau 2013-04-20 22:08:58 -07:00
  • 2860714714 Draw output buffer Jeffrey Pfau 2013-04-20 21:40:06 -07:00
  • eba5d547b9 Start using SDL for graphics syncing Jeffrey Pfau 2013-04-20 20:29:53 -07:00
  • a094024ad5 Add missing files Jeffrey Pfau 2013-04-20 18:08:52 -07:00
  • 67d25794e1 Fix LDMIA/STMIA Jeffrey Pfau 2013-04-20 18:03:59 -07:00
  • 14100f19d1 Implement LSL(2) Jeffrey Pfau 2013-04-20 18:03:48 -07:00
  • 0bfb77106b Properly init and deinit renderers Jeffrey Pfau 2013-04-20 16:47:04 -07:00
  • b4cee4c286 Properly isolate threading Jeffrey Pfau 2013-04-20 16:44:03 -07:00
  • fffe39153f Wait on thread initialization before returning from thread creation Jeffrey Pfau 2013-04-20 16:40:08 -07:00