Lines Matching refs:mda_num_columns
53 static unsigned int mda_num_columns; /* Number of text columns */ variable
322 mda_num_columns = 80; in mdacon_startup()
361 c->vc_cols = mda_num_columns; in mdacon_init()
364 vc_resize(c, mda_num_columns, mda_num_lines); in mdacon_init()
427 return mda_vram_base + y * mda_num_columns + x; in mda_addr()
454 if (x==0 && width==mda_num_columns) { in mdacon_clear()
457 for (; height > 0; height--, dest+=mda_num_columns) in mdacon_clear()
493 mda_set_cursor(c->state.y * mda_num_columns * 2 + c->state.x * 2); in mdacon_cursor()
521 (b-t-lines)*mda_num_columns*2); in mdacon_scroll()
523 lines*mda_num_columns*2); in mdacon_scroll()
528 (b-t-lines)*mda_num_columns*2); in mdacon_scroll()
529 scr_memsetw(mda_addr(0, t), eattr, lines*mda_num_columns*2); in mdacon_scroll()