Commit Graph

4457 Commits

Author SHA1 Message Date
Jeffrey Pfau 6829b54234 Bitmap of enabled sprites 2013-07-21 18:58:32 -07:00
Jeffrey Pfau edecf6c1f6 Minor optimization to backgroud mode 0 2013-07-21 18:56:45 -07:00
Jeffrey Pfau 8dc3fa9bec Use software renderer for EGL, just use it for uploading the texture 2013-07-21 05:15:02 -07:00
Jeffrey Pfau da7853bda6 Mode 5 2013-07-20 01:46:40 -07:00
Jeffrey Pfau 15a2e43b2b Fix read/write 0x0400020A 2013-07-20 01:40:17 -07:00
Jeffrey Pfau 02cb9c56c5 Reuse bitmap mode background code 2013-07-20 01:38:13 -07:00
Jeffrey Pfau 90ddf937a5 Implement modes 3 and 4 2013-07-19 21:51:14 -07:00
Jeffrey Pfau 1e4a82ef5b Update GBA BIOS from GBA.js 2013-07-18 02:14:22 -07:00
Jeffrey Pfau 6a1afbda50 8-bit write to IO 2013-07-18 02:13:49 -07:00
Jeffrey Pfau 8215afcee6 Decouple GLSL and GL mains 2013-07-17 23:31:19 -07:00
Jeffrey Pfau 49de0fb52e Different mains for SDL and EGL, supporting Raspberry Pi and BeagleBone Black 2013-05-29 21:18:25 -07:00
Jeffrey Pfau f8b0acd86a Fix tile mapping for 256-color sprites 2013-05-13 02:47:11 -07:00
Jeffrey Pfau c20efb42ff Clean up thread locking in the software renderer 2013-05-11 21:07:10 -07:00
Jeffrey Pfau 63b72657c1 Fix transformed sprites that are off the top of the screen 2013-05-11 18:36:35 -07:00
Jeffrey Pfau f7ddc3a2b6 Implement RLUnCompWram/RLUnCompVram 2013-05-11 18:22:23 -07:00
Jeffrey Pfau a6d87bbfb9 Better cycle counting for STR 2013-05-11 18:01:16 -07:00
Jeffrey Pfau b6361cdfa9 Start LDM/STM timings 2013-05-11 17:05:57 -07:00
Jeffrey Pfau 0a37300bcf Improve LDR/STR cycle counting 2013-05-11 14:55:29 -07:00
Jeffrey Pfau 013e322c0b Improved cycle counting for branches 2013-05-11 14:45:31 -07:00
Jeffrey Pfau f6592b17b8 Implement MUL timings 2013-05-11 14:35:10 -07:00
Jeffrey Pfau 5c31757912 Remove int operations and vectorize shader calculation 2013-05-08 21:10:32 -07:00
Jeffrey Pfau f246587a9d Add support for (my) joystick 2013-05-08 16:57:17 -07:00
Jeffrey Pfau 12e681392d Fragment shader now no longer requires extensions 2013-05-08 15:19:54 -07:00
Jeffrey Pfau 8047ce11d0 Fix off-by-one scanline 2013-05-07 22:22:35 -07:00
Jeffrey Pfau 5b5251434f Add background sizes to GLSL mode 0 2013-05-07 22:21:40 -07:00
Jeffrey Pfau f278805255 Fix x indexing into VRAM 2013-05-07 21:48:46 -07:00
Jeffrey Pfau 5388fb8cea Draw backdrop in GLSL renderer 2013-05-07 04:40:25 -07:00
Jeffrey Pfau 03fb87acd0 Continue implementing GLSL mode 0, now with layers and offsets 2013-05-07 04:11:49 -07:00
Jeffrey Pfau cc2262149e Reindent GBAVideoGLSLRendererProcessEvents 2013-05-07 03:36:50 -07:00
Jeffrey Pfau 20b67240ae Start on mode 0 renderer 2013-05-07 03:36:34 -07:00
Jeffrey Pfau f6a9467e86 Write to renderer VRAM 2013-05-07 03:36:15 -07:00
Jeffrey Pfau bb1e598a78 Start GLSL renderer 2013-05-07 01:04:36 -07:00
Jeffrey Pfau db96be98dc Deinit video when shutting down 2013-05-07 01:00:18 -07:00
Jeffrey Pfau 8bc5ec4222 Roll out incorrect fix for Halt bug and apply proper fix 2013-05-05 20:37:35 -07:00
Jeffrey Pfau 7ec435b94c Fix 512x512 backgrounds in Mode 0 2013-05-05 01:33:05 -07:00
Jeffrey Pfau ae3f623fd5 Overwrite IF while attempting to IntrWait 2013-05-05 00:44:30 -07:00
Jeffrey Pfau fc7aec557b Count cycles for load/store singles 2013-05-04 23:57:12 -07:00
Jeffrey Pfau 738b3dc44e Implement ArcTan2 2013-05-04 15:50:42 -07:00
Jeffrey Pfau 374aca2ff7 Move event polling to after framedraw only 2013-05-04 14:49:04 -07:00
Jeffrey Pfau ac0c7ba792 Implement BgAffineSet 2013-05-04 01:20:42 -07:00
Jeffrey Pfau fb2ddd6c32 Start implementing modes 1/2 2013-05-04 01:20:24 -07:00
Jeffrey Pfau 7373c37e19 Fix sprite blending with between layers 2013-05-03 22:23:45 -07:00
Jeffrey Pfau 813b2c0697 Partially implement frameskip 2013-05-03 10:24:56 -07:00
Jeffrey Pfau 3ad2510b78 Get rid of flags struct and redo compositing 2013-05-03 10:02:01 -07:00
Jeffrey Pfau 6ef3e3b6a8 Copy ObjAffineSet implementation from GBA.js 2013-05-03 01:43:39 -07:00
Jeffrey Pfau 2bc11c9aac 32- and 16-bit reads of OAM 2013-05-03 01:33:20 -07:00
Jeffrey Pfau 862c93916d Support edge cases for 256-color mode 0, excluding hflip 2013-05-03 01:21:25 -07:00
Jeffrey Pfau 1c6fc26bf7 Support hflip on mode 0 edges 2013-05-02 21:51:00 -07:00
Jeffrey Pfau ebb1c08840 Fix warnings on gcc 2013-05-02 00:40:12 -07:00
Jeffrey Pfau 13a46429e2 Remove -Wno-unused and fix resulting errors 2013-05-02 00:35:32 -07:00