improve code for ppu, implement lazy load for reg 2001.