| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ac0486be1b
					 | 
					
						
						
							
							chore(io): replace some bitfields with enums
						
						
						
						
						
						
					 | 
					
						2022-02-24 17:20:23 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						441ebc38c7
					 | 
					
						
						
							
							fix: better emulate behaviour of IO reads
						
						
						
						
						
						
					 | 
					
						2022-02-24 17:20:20 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						be2dfb379a
					 | 
					
						
						
							
							chore: document select unimplmented I/O registers
						
						
						
						
						
						
						
						These registers are written to / read from Kirby: Nightmare in Dream Land 
						
						
					 | 
					
						2022-02-22 17:14:30 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bc66be6c06
					 | 
					
						
						
							
							feat: impelement a barebones SRAM
						
						
						
						
						
						
					 | 
					
						2022-02-22 17:14:26 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5368ff912d
					 | 
					
						
						
							
							feat: pass retAddr.gba
						
						
						
						
						
						
					 | 
					
						2022-02-21 15:34:46 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c2cf2d2965
					 | 
					
						
						
							
							feat: implement Hblank and Vcount Interrupts
						
						
						
						
						
						
						
						Also implemented unique behaviour when writing to IF 
						
						
					 | 
					
						2022-02-21 14:45:47 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e5ab8b51a9
					 | 
					
						
						
							
							chore: improve Bus log + panic messages
						
						
						
						
						
						
					 | 
					
						2022-02-19 11:48:43 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c767e88e8d
					 | 
					
						
						
							
							chore: improve io.zig
						
						
						
						
						
						
					 | 
					
						2022-02-19 11:48:17 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9e2e8c3d1a
					 | 
					
						
						
							
							feat: implement mirroring for IWRAM EWRAM, OAM and PALRAM
						
						
						
						
						
						
						
						Also realized I confused IWRAM and EWRAM. This is also fixed
TODO: Implemnt Mirroring for VRRAM 
						
						
					 | 
					
						2022-02-19 10:08:31 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e426f2459e
					 | 
					
						
						
							
							fix: resolve integer overflow in BG0 Drawing
						
						
						
						
						
						
					 | 
					
						2022-02-19 06:55:30 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3746cf6025
					 | 
					
						
						
							
							chore: don't panic on 32-bit I/O
						
						
						
						
						
						
					 | 
					
						2022-02-19 06:45:39 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f6c8d7ca07
					 | 
					
						
						
							
							chore: stub CPU HALTing
						
						
						
						
						
						
					 | 
					
						2022-02-17 00:27:34 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						07343efdf3
					 | 
					
						
						
							
							chore: correct logic errors in map size 1 and 3
						
						
						
						
						
						
					 | 
					
						2022-02-16 23:49:08 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4018f3875b
					 | 
					
						
						
							
							chore: properly write to VOFS and HOFS in 32-bit bus
						
						
						
						
						
						
					 | 
					
						2022-02-16 23:23:41 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						034f2e8d1d
					 | 
					
						
						
							
							feat: implement hofs and vofs on io bus
						
						
						
						
						
						
					 | 
					
						2022-02-16 04:29:04 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d275a4890f
					 | 
					
						
						
							
							feat: implement scrolling
						
						
						
						
						
						
					 | 
					
						2022-02-16 03:37:25 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ce97a52868
					 | 
					
						
						
							
							feat: add support for multiple BGs in Mode 0
						
						
						
						
						
						
					 | 
					
						2022-02-16 03:27:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d2d4667f7b
					 | 
					
						
						
							
							feat: document mode 0
						
						
						
						
						
						
					 | 
					
						2022-02-16 03:05:19 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5835b509e4
					 | 
					
						
						
							
							feat: Mode 0 MVP
						
						
						
						
						
						
					 | 
					
						2022-02-16 02:27:15 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						338122ed43
					 | 
					
						
						
							
							chore: use zig slices for fun
						
						
						
						
						
						
					 | 
					
						2022-02-13 05:28:56 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e5a76a3c02
					 | 
					
						
						
							
							chore: give DISPCNT DISPSTAT and VCOUNT to PPU struct
						
						
						
						
						
						
					 | 
					
						2022-02-13 04:28:15 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						31fa06ac4a
					 | 
					
						
						
							
							chore: give io read/write functions access to the entire Bus
						
						
						
						
						
						
					 | 
					
						2022-02-13 04:13:06 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ec25a9aae4
					 | 
					
						
						
							
							feat: implement BG Scrolling Registers
						
						
						
						
						
						
					 | 
					
						2022-02-13 04:04:10 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b238a3e8f3
					 | 
					
						
						
							
							feat: impelemnt BG0,1,2CNT and IF
						
						
						
						
						
						
					 | 
					
						2022-02-13 03:23:09 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						aca7fc9a60
					 | 
					
						
						
							
							feat: implement OAM
						
						
						
						
						
						
					 | 
					
						2022-02-13 02:30:02 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d2740e30d9
					 | 
					
						
						
							
							chore: squash bugs preventing swi_demo.gba from working
						
						
						
						
						
						
					 | 
					
						2022-02-13 02:29:53 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8ab7a178c1
					 | 
					
						
						
							
							chore(cpu): reimplement bank switching logic
						
						
						
						
						
						
					 | 
					
						2022-02-12 04:33:32 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d897c2fdcc
					 | 
					
						
						
							
							fix: don't mask away MSB in THUMB.5 add
						
						
						
						
						
						
					 | 
					
						2022-02-12 03:23:55 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						783706193b
					 | 
					
						
						
							
							fix: properly decode format 11 instructions
						
						
						
						
						
						
					 | 
					
						2022-02-12 03:13:38 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b93bd53529
					 | 
					
						
						
							
							chore: make use of scoped logging
						
						
						
						
						
						
					 | 
					
						2022-02-11 01:33:33 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ee27053db3
					 | 
					
						
						
							
							chore: remove TODOs and some useless imports
						
						
						
						
						
						
					 | 
					
						2022-02-06 19:07:23 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7441dd151c
					 | 
					
						
						
							
							fix: improper condition check and initialization of register
						
						
						
						
						
						
					 | 
					
						2022-02-06 18:41:16 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bbd4447734
					 | 
					
						
						
							
							fix(cpu): force align thumb and arm block data transfers
						
						
						
						
						
						
					 | 
					
						2022-02-06 17:08:12 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						225c0f7d55
					 | 
					
						
						
							
							feat: pass arm.gba
						
						
						
						
						
						
					 | 
					
						2022-02-06 05:06:25 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fcde905ae1
					 | 
					
						
						
							
							chore: reimplement ARM LDM/STM
						
						
						
						
						
						
					 | 
					
						2022-02-06 04:34:45 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						798987eba0
					 | 
					
						
						
							
							chore: improve arm ldm/stm
						
						
						
						
						
						
					 | 
					
						2022-02-05 23:29:34 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						adfd501fc4
					 | 
					
						
						
							
							fix(cpu): force-align SWP reads and writes
						
						
						
						
						
						
					 | 
					
						2022-02-05 23:18:23 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9581e3b3cb
					 | 
					
						
						
							
							fix: force-align ARM STRH reads
						
						
						
						
						
						
					 | 
					
						2022-02-05 23:09:13 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1b9ab1f1d7
					 | 
					
						
						
							
							fix: implement the same LDRSH logic as THUMB LDRSH
						
						
						
						
						
						
					 | 
					
						2022-02-05 23:09:02 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c52dc5adb1
					 | 
					
						
						
							
							fix: PC is 12 ahead when it is rd in str and strb
						
						
						
						
						
						
					 | 
					
						2022-02-05 21:42:04 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7bfb87a859
					 | 
					
						
						
							
							fix: listen to my past self
						
						
						
						
						
						
						
						By deleting this line I go from test 234 to test 355 in arm.gba 
						
						
					 | 
					
						2022-02-05 21:35:26 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0aece06107
					 | 
					
						
						
							
							chore: dont use std.mem.bytesToValue
						
						
						
						
						
						
						
						the stdlib accounts for endianness, which isn't something we want. 
						
						
					 | 
					
						2022-02-05 21:05:08 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2842345111
					 | 
					
						
						
							
							chore: remove unnecessary @as calls
						
						
						
						
						
						
					 | 
					
						2022-02-05 21:01:39 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						aa6f3c7a92
					 | 
					
						
						
							
							feat: pass thumb.gba
						
						
						
						
						
						
					 | 
					
						2022-02-05 20:39:15 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3ae24d6977
					 | 
					
						
						
							
							chore: account for empty rlist in THUMB LDM/STM
						
						
						
						
						
						
					 | 
					
						2022-02-05 18:03:39 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0a22730479
					 | 
					
						
						
							
							fix(cpu): handle edge case in LDRSH
						
						
						
						
						
						
					 | 
					
						2022-02-05 17:12:25 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bf4207ba8c
					 | 
					
						
						
							
							chore: reorganize util.zig
						
						
						
						
						
						
					 | 
					
						2022-02-05 15:55:12 -04:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |