6df55c2d86 
					 
					
						
						
							
							feat: implement GamePak out-of-bounds reads  
						
						
						
						
					 
					
						2022-04-08 02:34:08 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a1008738d2 
					 
					
						
						
							
							chore: run zigfmt  
						
						
						
						
					 
					
						2022-04-08 02:13:58 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						11a034658a 
					 
					
						
						
							
							chore: change implementation of rotr  
						
						
						
						
					 
					
						2022-04-08 02:13:41 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aac01b0bfe 
					 
					
						
						
							
							chore: rewrite read/write methods for remainig Bus devices  
						
						
						
						
					 
					
						2022-04-08 02:08:26 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5310c12669 
					 
					
						
						
							
							chore: mirror VRAM  
						
						
						
						
					 
					
						2022-04-08 01:10:12 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9b9de11e0c 
					 
					
						
						
							
							chore: write generic read/write for VRAM  
						
						
						
						
					 
					
						2022-04-08 00:44:52 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f8018854be 
					 
					
						
						
							
							Merge branch 'main' of ssh://musuka.dev:2222/paoda/zba  
						
						
						
						
					 
					
						2022-04-07 17:23:22 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fae4b430ab 
					 
					
						
						
							
							chore: update dependencies  
						
						
						
						
					 
					
						2022-04-07 17:23:07 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3046e6243a 
					 
					
						
						
							
							chore: don't assume 1cpi when stepping by a frame  
						
						
						
						
					 
					
						2022-03-29 09:06:26 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e127669549 
					 
					
						
						
							
							Revert "chore: tick on memory access instead of 1cpi"  
						
						... 
						
						
						
						This reverts commit 7f555095f2 
						
						
					 
					
						2022-03-29 08:58:57 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7f555095f2 
					 
					
						
						
							
							chore: tick on memory access instead of 1cpi  
						
						
						
						
					 
					
						2022-03-29 08:50:12 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						29da7b294e 
					 
					
						
						
							
							feat: implement Flash backup cartrige kinds  
						
						
						
						
					 
					
						2022-03-28 19:41:22 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf7b533b3c 
					 
					
						
						
							
							chore: stub more apu I/O addresses  
						
						
						
						
					 
					
						2022-03-28 19:40:47 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37c039fb92 
					 
					
						
						
							
							fix: don't create un-needed save file  
						
						... 
						
						
						
						If we don't know if we support a game's save type yet, avoid
creating a file for it. 
						
						
					 
					
						2022-03-22 15:03:05 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c172cff70 
					 
					
						
						
							
							fix: account for subset of disallowed chars in save file names  
						
						
						
						
					 
					
						2022-03-22 14:55:08 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bd54cba8a0 
					 
					
						
						
							
							feat: implement SRAM saving and loading  
						
						
						
						
					 
					
						2022-03-22 14:41:18 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						da4bb17782 
					 
					
						
						
							
							chore: properly deallocate OAM buffer  
						
						
						
						
					 
					
						2022-03-22 11:41:17 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5dd69500ca 
					 
					
						
						
							
							fix: speed percentage in title is now accurate  
						
						... 
						
						
						
						We now properly account for full speed being 59.97Hz not, 59Hz or 60Hz 
						
						
					 
					
						2022-03-22 10:39:42 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eff25a0ab2 
					 
					
						
						
							
							chore: make some variables const  
						
						
						
						
					 
					
						2022-03-19 02:00:53 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1901a471e4 
					 
					
						
						
							
							feat: minor performance improvements  
						
						
						
						
					 
					
						2022-03-18 09:49:49 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d61c0dba4 
					 
					
						
						
							
							feat: switch from BGR555 to RGBA8888  
						
						
						
						
					 
					
						2022-03-18 07:52:54 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						39ab363afa 
					 
					
						
						
							
							fix: improve perf of instructions w/ rotr  
						
						
						
						
					 
					
						2022-03-16 22:56:37 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1921218c7b 
					 
					
						
						
							
							fix: improve frame limiting and fps counting  
						
						
						
						
					 
					
						2022-03-16 21:25:32 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						40968f0990 
					 
					
						
						
							
							fix: implement proper SRAM mirroring and stub Flash  
						
						
						
						
					 
					
						2022-03-15 21:54:55 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						04d54ec97a 
					 
					
						
						
							
							chore: move DMA and Timers from io to bus  
						
						
						
						
					 
					
						2022-03-15 08:25:26 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1fd80c1c23 
					 
					
						
						
							
							feat: define APU registers  
						
						
						
						
					 
					
						2022-03-15 08:09:07 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						48679fa4ca 
					 
					
						
						
							
							fix: move code in scheduler to ppu  
						
						
						
						
					 
					
						2022-03-15 08:09:07 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bdea19f280 
					 
					
						
						
							
							chore: create different types of emuloops  
						
						
						
						
					 
					
						2022-03-15 03:46:33 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5579643d65 
					 
					
						
						
							
							fix: resolve relative sprite priority issues  
						
						
						
						
					 
					
						2022-03-15 00:37:29 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c6e6b42869 
					 
					
						
						
							
							chore: improve accuracy of frame limiter  
						
						
						
						
					 
					
						2022-03-14 20:38:29 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3623362f72 
					 
					
						
						
							
							chore: improve accuracy of thread sleep in emu thread  
						
						
						
						
					 
					
						2022-03-14 08:54:48 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c538079ad4 
					 
					
						
						
							
							feat: implement video sync  
						
						
						
						
					 
					
						2022-03-14 05:16:02 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8e3f48837d 
					 
					
						
						
							
							chore: organize io switch statements  
						
						
						
						
					 
					
						2022-03-13 07:50:19 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						025f295c08 
					 
					
						
						
							
							fix: mirror SRAM  
						
						... 
						
						
						
						SRAM is mirrored in 64K chunks
TODO: According to GBATEK SRAM chips are 32K and mirrored 
						
						
					 
					
						2022-03-13 05:53:32 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						017ec407f5 
					 
					
						
						
							
							chore: don't panic on unknown bus and io writes/reads  
						
						... 
						
						
						
						This will lead to emulation bugs due to devices I've yet to implement but by
doing this a lot of games become playable "by default" such as Doom or
Kirby: Nightmare in Dream Land.
When implementing feature and/or debuggin make sure to set:
panic_on_und_bus and panic_on_und_io to true so that the emu crashes
on unknown reads/writes 
						
						
					 
					
						2022-03-13 05:39:09 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4a76611fca 
					 
					
						
						
							
							feat: implement Timers  
						
						
						
						
					 
					
						2022-03-13 05:35:01 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb10dfbdfd 
					 
					
						
						
							
							fix: implement sprite coord overflow behaviour  
						
						
						
						
					 
					
						2022-03-12 03:46:41 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0c50ef1e6d 
					 
					
						
						
							
							fix: resolve issues with sprite mirroring  
						
						
						
						
					 
					
						2022-03-11 23:52:56 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05e67da181 
					 
					
						
						
							
							feat: Implement MVP of Mode 0 Sprites  
						
						
						
						
					 
					
						2022-03-11 01:43:47 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f1df3d6615 
					 
					
						
						
							
							chore: clean up io  
						
						
						
						
					 
					
						2022-03-04 22:55:04 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5b4b51ae0 
					 
					
						
						
							
							feat: fix tile flipping issue  
						
						
						
						
					 
					
						2022-03-03 03:08:35 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2e4854c2ff 
					 
					
						
						
							
							chore: add some type definitions for sprites  
						
						
						
						
					 
					
						2022-03-03 02:10:33 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						85f0b13f4a 
					 
					
						
						
							
							feat: improve DMA Transfer support  
						
						
						
						
					 
					
						2022-03-03 02:10:29 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dccd00782b 
					 
					
						
						
							
							chore(ppu): resolve integer overflow regression  
						
						
						
						
					 
					
						2022-03-02 23:15:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d8c944bcc 
					 
					
						
						
							
							feat(ppu): implement bg priority and transparency  
						
						
						
						
					 
					
						2022-03-02 01:39:05 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb4d3a9a51 
					 
					
						
						
							
							chore: replace unnecessarily complex sign extension implementation  
						
						
						
						
					 
					
						2022-02-28 20:38:50 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ddb68a7952 
					 
					
						
						
							
							feat: pass beeg yoshi  
						
						
						
						
					 
					
						2022-02-28 18:24:24 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						97de5d1a96 
					 
					
						
						
							
							fix: palette id is a u16 not a u8  
						
						
						
						
					 
					
						2022-02-28 17:32:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d6ef53fd67 
					 
					
						
						
							
							feat: DMA Transfer MVP  
						
						
						
						
					 
					
						2022-02-28 12:34:00 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b65f833b28 
					 
					
						
						
							
							feat(ppu): implement transparency + backdrop in mode 0  
						
						
						
						
					 
					
						2022-02-26 18:33:16 -06:00