Commit Graph

68 Commits

Author SHA1 Message Date
Jeffrey Pfau 787b2bd1a3 GBA BIOS: Fix GetBiosChecksum to return the value of a real GBA, regardless of used BIOS 2015-01-13 21:23:07 -08:00
Jeffrey Pfau 2688642f01 GBA BIOS: Fix HuffUnComp to work when games pass an invalid bit length 2015-01-13 20:46:29 -08:00
Jeffrey Pfau 97291824a5 GBA BIOS: Fix LZ77UnCompVram to use 16-bit loads from decompressed memory 2015-01-10 20:55:01 -08:00
Jeffrey Pfau 6d18b9aea5 GBA Memory: Simplify memory API and use fixed bus width 2015-01-10 01:20:21 -08:00
Jeffrey Pfau f2e24f9c55 GBA BIOS: Implement SoftReset 2015-01-07 22:33:16 -08:00
Jeffrey Pfau afc0a9df57 GBA BIOS: Implement (most of) RegisterRamReset 2015-01-07 22:24:18 -08:00
Jeffrey Pfau 600080ba0c GBA BIOS: Implement Diff8bitUnFilterVram 2015-01-07 21:43:21 -08:00
Jeffrey Pfau fb35a8b3f7 GBA BIOS: Clean up decompression routines and add writeback 2015-01-07 21:31:39 -08:00
Jeffrey Pfau 7059fcc257 GBA BIOS: Fix Diff16bitUnFilter 2015-01-07 21:30:04 -08:00
Jeffrey Pfau fac82c2ca1 GBA BIOS: Implement Diff8bitUnFilterWram and Diff16bitUnFilter 2015-01-06 23:07:59 -08:00
Jeffrey Pfau 38a4e9988f All: Silence a few warnings 2014-12-31 03:11:06 -08:00
Jeffrey Pfau 9eca161dc9 GBA BIOS: Fix HLE Lz77 and RL functions to properly account for width and invalid addresses 2014-12-17 02:36:22 -08:00
Jeffrey Pfau f6a7fedb28 All: Add MPL 2.0 license and associated headers 2014-12-03 00:39:06 -08:00
Jeffrey Pfau f49ceb7e3b Remove out-of-date comment 2014-10-25 18:10:15 -07:00
Jeffrey Pfau fe3f01a5ae Fix potential overflow in huffman decoding 2014-10-25 06:05:00 -07:00
Jeffrey Pfau 61915939b5 Log division by zero 2014-10-23 01:53:18 -07:00
Jeffrey Pfau 768316a8d3 Fix two small consistency issues 2014-10-23 01:53:18 -07:00
Jeffrey Pfau d3b78b2fd2 Log level for SWI 2014-10-23 01:53:17 -07:00
Jeffrey Pfau 8ae1a3a3a3 Use bitfield for BIOS Huffman nodes 2014-10-09 03:02:35 -07:00
Jeffrey Pfau f1a58c7254 Fix ObjAffineSet over multiple inputs 2014-07-23 00:54:11 -07:00
Jeffrey Pfau c2fc2dbac3 Remove unused variable 2014-07-10 01:02:13 -07:00
Jeffrey Pfau 55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau ae12dd907c Reduce the code size of division by zero a bit 2014-07-05 13:55:36 -07:00
Jeffrey Pfau 2fd9ab1197 Emulate division by zero edge cases (fixes #80) 2014-07-05 05:19:58 -07:00
Jeffrey Pfau 34145543f2 Remove redundant checks that are in the BIOS code already 2014-07-05 01:03:04 -07:00
Jeffrey Pfau d6a28c8a6e Log SWIs in debug 2014-07-04 18:17:34 -07:00
Jeffrey Pfau fde6515a56 Implement CpuSet/CpuFastSet in assembly (fixes #31 and #76) 2014-07-03 03:51:53 -07:00
Jeffrey Pfau 0f68dbc832 Redo component model/type punning 2014-04-20 00:19:55 -07:00
Jeffrey Pfau c0eb7c81f7 Remove ARMMemory and ARMBoard shims 2014-04-19 18:14:17 -07:00
Jeffrey Pfau ecb1939ff1 Move common headers to common.h, remove util and debugger from being first class include directories 2014-04-02 23:51:35 -07:00
Jeffrey Pfau ce4d0b5203 Checksum BIOS 2014-01-18 00:17:58 -08: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 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 d8778cf516 Implement Huffman 2013-10-12 13:32:23 -07:00
Jeffrey Pfau c19d1117f1 Add timings to CpuSet and CpuFastSet 2013-10-09 01:57:53 -07:00
Jeffrey Pfau 84ad94b85e Support loading BIOS 2013-10-08 22:36:19 -07:00
Jeffrey Pfau 453fdac3fe Fix ArcTan2 2013-09-27 09:48:04 -07:00
Jeffrey Pfau 662feed390 Always go through pointers for load and store 2013-09-25 22:11:58 -07:00
Jeffrey Pfau 2a6e7db693 Make GBALog actually use its log levels 2013-09-22 15:01:23 -07:00
Jeffrey Pfau f7ddc3a2b6 Implement RLUnCompWram/RLUnCompVram 2013-05-11 18:22:23 -07:00
Jeffrey Pfau f6a9467e86 Write to renderer VRAM 2013-05-07 03:36:15 -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 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 ac0c7ba792 Implement BgAffineSet 2013-05-04 01:20:42 -07:00
Jeffrey Pfau 6ef3e3b6a8 Copy ObjAffineSet implementation from GBA.js 2013-05-03 01:43:39 -07:00
Jeffrey Pfau 2e9a64a26e Implement Sqrt 2013-05-01 00:27:31 -07:00
Jeffrey Pfau 6ed3c18afd Support IWRAM in LZ77 2013-05-01 00:24:28 -07:00