// Test setting the program PC through a #pc directive

#pragma pc(0x1000)

const byte* BGCOL = 0xd021;
const byte* RASTER = 0xd012;

void main() {
    asm { sei }
    while(true) {
        byte col = *RASTER;
        *BGCOL = col;
    }
}

