MCPcopy Create free account
hub / github.com/TASEmulators/fceux / DECLFW

Function DECLFW

src/ppu.cpp:848–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848static DECLFW(B2000) {
849 FCEUPPU_LineUpdate();
850 PPUGenLatch = V;
851
852 if (!(PPU[0] & 0x80) && (V & 0x80) && (PPU_status & 0x80))
853 TriggerNMI2();
854
855 PPU[0] = V;
856 TempAddr &= 0xF3FF;
857 TempAddr |= (V & 3) << 10;
858
859 ppur._h = V & 1;
860 ppur._v = (V >> 1) & 1;
861 ppur.s = (V >> 4) & 1;
862}
863
864static DECLFW(B2001) {
865 FCEUPPU_LineUpdate();

Callers 1

cart.hFile · 0.70

Calls 7

FCEUPPU_LineUpdateFunction · 0.85
TriggerNMI2Function · 0.85
X6502_DMWFunction · 0.85
X6502_DMRFunction · 0.85
install_latchesMethod · 0.80
get_2007accessMethod · 0.80
increment2007Method · 0.80

Tested by

no test coverage detected