Bryan Miller
								
							
						 | 
						
							
								8835afd3ad
								
							
						 | 
						
							
								
								Bug fixes for NESBank
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6af93698ae
								
							
						 | 
						
							
								
								Huge rewrite to NESBank. Still some tweaking to be done
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e2900290c6
								
							
						 | 
						
							
								
								Starting a rewrite of the NESBank class to support 1k, 2k, 4k, and the normal 8k access.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								7ba0c5f533
								
							
						 | 
						
							
								
								Fixed some confusion in NESBank and CTRLBankTools dealing with palette and side of bank.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								545329f804
								
							
						 | 
						
							
								
								NESBank will not emit 'data_changed' when the access mode has been changed.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0d4808dbd4
								
							
						 | 
						
							
								
								Debounced the data_changed handler so as to not overload any listeners. Fixes sever slowdown in CTRLPainter.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e9b9f9eeff
								
							
						 | 
						
							
								
								NESBank can now import/export to a base64 string.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0b720d69d3
								
							
						 | 
						
							
								
								NESPalette updated to include a json parameter used for import and export.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0d9058b70a
								
							
						 | 
						
							
								
								Modified NESPalette to accept color indexes as two character hex strings.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								16df3f71d1
								
							
						 | 
						
							
								
								NESTile and ISurface are now event emitters. NESTile and by extension NESBank will emit 'data_changed' when there's a change to the data. CTRLPainter updated to utilize the new events.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b7957267eb
								
							
						 | 
						
							
								
								Fixed a bug in NESBank. Color Index values are now being stored in the correct location. Rendering palette colors now works correctly!
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1623084afc
								
							
						 | 
						
							
								
								NESBank uses 'access_mode' to determine if sprites, background tiles, or both should be accessed given a coordinate.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b6a3f83b50
								
							
						 | 
						
							
								
								NESTile now has width and height as parameters.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								958450729e
								
							
						 | 
						
							
								
								NESPalette now has a static .Default[] array containing a system-wide palette. This is now used by NESBank instead of __default_pi (which is also removed from ISurface)
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c0d02bd0af
								
							
						 | 
						
							
								
								Another fix to NESBank.getColorIndex()... because, reasons.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								8d46e8a75f
								
							
						 | 
						
							
								
								Fix to ISurface and NESBank .getColorIndex() method's return value.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								20fa69bcc3
								
							
						 | 
						
							
								
								Added .getColorIndex() method to ISurface and extending classes.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								82e88847df
								
							
						 | 
						
							
								
								Renamed the ISurface file. NESBank now extends ISurface.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								77ffaf9449
								
							
						 | 
						
							
								
								Added several tile, color index, and color access modes to NESBank.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								57f2c716d9
								
							
						 | 
						
							
								
								Created the NESBank class, which handles multiple NESTiles and exports to full NES .chr format.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								dc3397b4e8
								
							
						 | 
						
							
								
								Small tweak to NESTile.copy() and NESTile.clone()
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								8d57f47874
								
							
						 | 
						
							
								
								NESTile .copy() will copy the data from a given NESTile to the current one.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d27d41b8e3
								
							
						 | 
						
							
								
								NESTile should now store pixel data in proper NES .chr format automatically. Some code cleanup as well.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1b8eedede4
								
							
						 | 
						
							
								
								NESTile base64 value now includes paletteIndex value.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c800dd5a18
								
							
						 | 
						
							
								
								NESTile no longer needs a palette. That job is moving to the upcoming NESBank.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								657988781c
								
							
						 | 
						
							
								
								Slight enhancement of the NESTile.isEq() method.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								451edac454
								
							
						 | 
						
							
								
								NESTile now uses the Utils.isInt() function.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								90ea91d3d3
								
							
						 | 
						
							
								
								Added array-like access to pixels. BROKEN atm.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								344ec3bda1
								
							
						 | 
						
							
								
								Bitwise access in NESTile should be fixed. *fingers crossed*
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								33553b1667
								
							
						 | 
						
							
								
								Added NESTile model and tests in main. NESTile.flip() is not working ATM.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								95e479b81e
								
							
						 | 
						
							
								
								NESPalette class now exported as default. Updated imports accordingly.
							
							
							
							
						 | 
						6 år sedan | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6b15932ff0
								
							
						 | 
						
							
								
								Reorganized files. Adjusted imports to match new locations.
							
							
							
							
						 | 
						6 år sedan |