()
| 480 | } |
| 481 | |
| 482 | func (ppu *PPU) fetchHighTileByte() { |
| 483 | fineY := (ppu.v >> 12) & 7 |
| 484 | table := ppu.flagBackgroundTable |
| 485 | tile := ppu.nameTableByte |
| 486 | address := 0x1000*uint16(table) + uint16(tile)*16 + fineY |
| 487 | ppu.highTileByte = ppu.Read(address + 8) |
| 488 | } |
| 489 | |
| 490 | func (ppu *PPU) storeTileData() { |
| 491 | var data uint32 |