- unsigned long a =
- (unsigned long) fb->fbaddr +
- ((y+ass[p][1]*8) * fb->curmode.xres + ass[p][0]*8 + x) * 4;
- if ((a & ~4095) != (lasta & ~4095))
- {
- lastmap = (unsigned long *)((unsigned long)p2v(a) & ~4095);
- lasta = a;
- }
- lastmap[(a & 4095) / 4] = 0xFF0000FF;