{
V&=PRGmask2[r];
setpageptr(2,A,PRGptr[r]?(&PRGptr[r][V<<11]):0,PRGram[r]);
+ X6502_Rebase();
}
void FASTAPASS(2) setprg2(uint32 A, uint32 V)
{
V&=PRGmask4[r];
setpageptr(4,A,PRGptr[r]?(&PRGptr[r][V<<12]):0,PRGram[r]);
+ X6502_Rebase();
}
void FASTAPASS(2) setprg4(uint32 A, uint32 V)
for(x=0;x<4;x++)
setpageptr(2,A+(x<<11),PRGptr[r]?(&PRGptr[r][((VA+x)&PRGmask2[r])<<11]):0,PRGram[r]);
}
+ X6502_Rebase();
}
void FASTAPASS(2) setprg8(uint32 A, uint32 V)
for(x=0;x<8;x++)
setpageptr(2,A+(x<<11),PRGptr[r]?(&PRGptr[r][((VA+x)&PRGmask2[r])<<11]):0,PRGram[r]);
}
+ X6502_Rebase();
}
void FASTAPASS(2) setprg16(uint32 A, uint32 V)
for(x=0;x<16;x++)
setpageptr(2,A+(x<<11),PRGptr[r]?(&PRGptr[r][((VA+x)&PRGmask2[r])<<11]):0,PRGram[r]);
}
+ X6502_Rebase();
}
void FASTAPASS(2) setprg32(uint32 A, uint32 V)