use correct value for stack pointer initialization
extract color palette values from memory
cache tile values to simplify rendering
keep gpu tile cache in sync with memory
replace bios with cartridge on unload
determine tile map based on mask