34 Commits (10172b3a195de57ac13d62434f9b0b00015cf184)

Author SHA1 Message Date
  Bryan Miller 2ebe99aa40 Lots of bug and general fixes. 5 years ago
  Bryan Miller ba63481879 Added access_offset_length to NESBank for informational purposes (for UI use). 5 years ago
  Bryan Miller 8835afd3ad Bug fixes for NESBank 5 years ago
  Bryan Miller 6af93698ae Huge rewrite to NESBank. Still some tweaking to be done 5 years ago
  Bryan Miller e2900290c6 Starting a rewrite of the NESBank class to support 1k, 2k, 4k, and the normal 8k access. 5 years ago
  Bryan Miller 7ba0c5f533 Fixed some confusion in NESBank and CTRLBankTools dealing with palette and side of bank. 5 years ago
  Bryan Miller 545329f804 NESBank will not emit 'data_changed' when the access mode has been changed. 5 years ago
  Bryan Miller 0d4808dbd4 Debounced the data_changed handler so as to not overload any listeners. Fixes sever slowdown in CTRLPainter. 5 years ago
  Bryan Miller e9b9f9eeff NESBank can now import/export to a base64 string. 5 years ago
  Bryan Miller 0b720d69d3 NESPalette updated to include a json parameter used for import and export. 5 years ago
  Bryan Miller 0d9058b70a Modified NESPalette to accept color indexes as two character hex strings. 5 years ago
  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. 5 years ago
  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! 5 years ago
  Bryan Miller 1623084afc NESBank uses 'access_mode' to determine if sprites, background tiles, or both should be accessed given a coordinate. 5 years ago
  Bryan Miller b6a3f83b50 NESTile now has width and height as parameters. 5 years ago
  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) 5 years ago
  Bryan Miller c0d02bd0af Another fix to NESBank.getColorIndex()... because, reasons. 5 years ago
  Bryan Miller 8d46e8a75f Fix to ISurface and NESBank .getColorIndex() method's return value. 5 years ago
  Bryan Miller 20fa69bcc3 Added .getColorIndex() method to ISurface and extending classes. 5 years ago
  Bryan Miller 82e88847df Renamed the ISurface file. NESBank now extends ISurface. 5 years ago
  Bryan Miller 77ffaf9449 Added several tile, color index, and color access modes to NESBank. 5 years ago
  Bryan Miller 57f2c716d9 Created the NESBank class, which handles multiple NESTiles and exports to full NES .chr format. 5 years ago
  Bryan Miller dc3397b4e8 Small tweak to NESTile.copy() and NESTile.clone() 5 years ago
  Bryan Miller 8d57f47874 NESTile .copy() will copy the data from a given NESTile to the current one. 5 years ago
  Bryan Miller d27d41b8e3 NESTile should now store pixel data in proper NES .chr format automatically. Some code cleanup as well. 5 years ago
  Bryan Miller 1b8eedede4 NESTile base64 value now includes paletteIndex value. 5 years ago
  Bryan Miller c800dd5a18 NESTile no longer needs a palette. That job is moving to the upcoming NESBank. 5 years ago
  Bryan Miller 657988781c Slight enhancement of the NESTile.isEq() method. 5 years ago
  Bryan Miller 451edac454 NESTile now uses the Utils.isInt() function. 5 years ago
  Bryan Miller 90ea91d3d3 Added array-like access to pixels. BROKEN atm. 5 years ago
  Bryan Miller 344ec3bda1 Bitwise access in NESTile should be fixed. *fingers crossed* 5 years ago
  Bryan Miller 33553b1667 Added NESTile model and tests in main. NESTile.flip() is not working ATM. 6 years ago
  Bryan Miller 95e479b81e NESPalette class now exported as default. Updated imports accordingly. 6 years ago
  Bryan Miller 6b15932ff0 Reorganized files. Adjusted imports to match new locations. 6 years ago