INTC_REG
#define INTC_REG(d, x, c) (d->reg[(x)] + ((d->smp[(x)] & 0xff) * c))
#define INTC_REG(d, x, c) (d->reg[(x)])