Commit graph

  • b6361cdfa9 Start LDM/STM timings Jeffrey Pfau 2013-05-11 17:05:57 -07:00
  • 0a37300bcf Improve LDR/STR cycle counting Jeffrey Pfau 2013-05-11 14:55:29 -07:00
  • 013e322c0b Improved cycle counting for branches Jeffrey Pfau 2013-05-11 14:45:31 -07:00
  • f6592b17b8 Implement MUL timings Jeffrey Pfau 2013-05-11 14:35:10 -07:00
  • 5c31757912 Remove int operations and vectorize shader calculation Jeffrey Pfau 2013-05-08 21:10:32 -07:00
  • f246587a9d Add support for (my) joystick Jeffrey Pfau 2013-05-08 16:31:32 -07:00
  • 12e681392d Fragment shader now no longer requires extensions Jeffrey Pfau 2013-05-08 15:19:54 -07:00
  • 8047ce11d0 Fix off-by-one scanline Jeffrey Pfau 2013-05-07 22:22:35 -07:00
  • 5b5251434f Add background sizes to GLSL mode 0 Jeffrey Pfau 2013-05-07 22:21:40 -07:00
  • f278805255 Fix x indexing into VRAM Jeffrey Pfau 2013-05-07 21:48:46 -07:00
  • 5388fb8cea Draw backdrop in GLSL renderer Jeffrey Pfau 2013-05-07 04:40:25 -07:00
  • 03fb87acd0 Continue implementing GLSL mode 0, now with layers and offsets Jeffrey Pfau 2013-05-07 04:11:49 -07:00
  • cc2262149e Reindent GBAVideoGLSLRendererProcessEvents Jeffrey Pfau 2013-05-07 03:36:50 -07:00
  • 20b67240ae Start on mode 0 renderer Jeffrey Pfau 2013-05-07 03:36:34 -07:00
  • f6a9467e86 Write to renderer VRAM Jeffrey Pfau 2013-05-07 03:36:15 -07:00
  • bb1e598a78 Start GLSL renderer Jeffrey Pfau 2013-05-07 01:04:36 -07:00
  • db96be98dc Deinit video when shutting down Jeffrey Pfau 2013-05-07 01:00:18 -07:00
  • 8bc5ec4222 Roll out incorrect fix for Halt bug and apply proper fix Jeffrey Pfau 2013-05-05 20:37:35 -07:00
  • 7ec435b94c Fix 512x512 backgrounds in Mode 0 Jeffrey Pfau 2013-05-05 01:33:05 -07:00
  • ae3f623fd5 Overwrite IF while attempting to IntrWait Jeffrey Pfau 2013-05-05 00:44:30 -07:00
  • fc7aec557b Count cycles for load/store singles Jeffrey Pfau 2013-05-04 23:57:12 -07:00
  • 738b3dc44e Implement ArcTan2 Jeffrey Pfau 2013-05-04 15:50:42 -07:00
  • 374aca2ff7 Move event polling to after framedraw only Jeffrey Pfau 2013-05-04 14:49:04 -07:00
  • ac0c7ba792 Implement BgAffineSet Jeffrey Pfau 2013-05-04 01:20:42 -07:00
  • fb2ddd6c32 Start implementing modes 1/2 Jeffrey Pfau 2013-05-04 00:51:40 -07:00
  • 7373c37e19 Fix sprite blending with between layers Jeffrey Pfau 2013-05-03 22:23:45 -07:00
  • 813b2c0697 Partially implement frameskip Jeffrey Pfau 2013-05-03 10:24:56 -07:00
  • 3ad2510b78 Get rid of flags struct and redo compositing Jeffrey Pfau 2013-05-03 10:02:01 -07:00
  • 6ef3e3b6a8 Copy ObjAffineSet implementation from GBA.js Jeffrey Pfau 2013-05-03 01:43:39 -07:00
  • 2bc11c9aac 32- and 16-bit reads of OAM Jeffrey Pfau 2013-05-03 01:33:20 -07:00
  • 862c93916d Support edge cases for 256-color mode 0, excluding hflip Jeffrey Pfau 2013-05-03 01:21:25 -07:00
  • 1c6fc26bf7 Support hflip on mode 0 edges Jeffrey Pfau 2013-05-02 21:51:00 -07:00
  • ebb1c08840 Fix warnings on gcc Jeffrey Pfau 2013-05-02 00:40:12 -07:00
  • 13a46429e2 Remove -Wno-unused and fix resulting errors Jeffrey Pfau 2013-05-02 00:35:32 -07:00
  • a635f4de4d Implement addressing mode 1 ASR register shift Jeffrey Pfau 2013-05-02 00:32:04 -07:00
  • 86c228f2e4 Implement SMLAL Jeffrey Pfau 2013-05-02 00:29:06 -07:00
  • a80175e689 Fix sprite variant condition Jeffrey Pfau 2013-05-01 23:56:59 -07:00
  • 3b3f55b14c Variant and 256-color transformed sprites Jeffrey Pfau 2013-05-01 23:54:39 -07:00
  • 0423656ad8 Extract more into macros Jeffrey Pfau 2013-05-01 23:46:15 -07:00
  • d6c88fc7cb Introduce macros for sprite drawing Jeffrey Pfau 2013-05-01 23:35:51 -07:00
  • e3fddc5739 Support 256-color sprites Jeffrey Pfau 2013-05-01 23:27:49 -07:00
  • 61c6b7186e Implement UMLAL Jeffrey Pfau 2013-05-01 23:11:00 -07:00
  • 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