|
|
|
|
|
|
|
|
import CTRLPainter from "/app/js/ctrls/CTRLPainter.js"; |
|
|
import CTRLPainter from "/app/js/ctrls/CTRLPainter.js"; |
|
|
import NESPalette from "/app/js/models/NESPalette.js"; |
|
|
import NESPalette from "/app/js/models/NESPalette.js"; |
|
|
import NESTile from "/app/js/models/NESTile.js"; |
|
|
import NESTile from "/app/js/models/NESTile.js"; |
|
|
|
|
|
|
|
|
|
|
|
import NESBank from "/app/js/models/NESBank.js"; |
|
|
|
|
|
|
|
|
function on_palette_changed(e){ |
|
|
function on_palette_changed(e){ |
|
|
if (e.type == "ALL"){ |
|
|
if (e.type == "ALL"){ |
|
|
|
|
|
|
|
|
console.log(TileC); |
|
|
console.log(TileC); |
|
|
console.log(TileC.dataArray); |
|
|
console.log(TileC.dataArray); |
|
|
console.log(TileC.pixels[7]); |
|
|
console.log(TileC.pixels[7]); |
|
|
|
|
|
|
|
|
|
|
|
var bnk = new NESBank(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|