Lines Matching defs:ncols
455 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2;
464 if (cpos < 0 || cpos >= type->nrows * type->ncols)
487 scr->pcs.cursorrow = cpos / type->ncols;
488 scr->pcs.cursorcol = cpos % type->ncols;
877 malloc(scr1->pcs.type->ncols * scr1->pcs.type->nrows * 2,
885 scr->pcs.mem = malloc(type->ncols * type->nrows * 2,
1039 oldtype->ncols * oldtype->nrows);
1057 scr->pcs.dispoffset, scr->pcs.mem, type->ncols * type->nrows);
1136 int ncols = scr->pcs.type->ncols;
1139 srcoff = srcrow * ncols + 0;
1140 dstoff = dstrow * ncols + 0;
1152 if ((scr->pcs.dispoffset + srcrow * ncols * 2)
1154 scr->pcs.dispoffset += srcrow * ncols * 2;
1158 memh, scr->mindispoffset, nrows * ncols);
1174 nrows * ncols);
1178 nrows * ncols * 2);
1471 int margin = scr->pcs.type->ncols * 2;
1474 vga_scr_end = (scr->pcs.dispoffset + scr->pcs.type->ncols *
1478 we = scr->vga_rollover + scr->pcs.type->ncols * 2;
1484 (scr->pcs.type->ncols * 2);