// XXX - change it to new model (no recalculate text_cols without color change)
change it to new model (no recalculate text_cols without color change)
// XXX - change it to new model ( no recalculate text_cols without color change )
func (v *Vicky) recalculateScreen() {
	v.starting_fb_row_pos = v.x_res * uint32(v.Border_y_size) + uint32(v.Border_x_size)
	v.text_cols = (v.x_res - (uint32(v.Border_x_size) * 2)) / (v.pixel_size * 8)
	v.text_rows = (v.y_res - (uint32(v.Border_y_size) * 2)) / (v.pixel_size * 8)
                fmt.Printf("text_rows: %d\n", v.text_rows)
                fmt.Printf("text_cols: %d\n", v.text_cols)
}
func ( v * Vicky ) recalculateScreen ( ) { v . starting_fb_row_pos = v . x_res * uint32 ( v . Border_y_size ) + uint32 ( v . Border_x_size ) v . text_cols = ( v . x_res - ( uint32 ( v . Border_x_size ) * 2 ) ) / ( v . pixel_size * 8 ) v . text_rows = ( v . y_res - ( uint32 ( v . Border_y_size ) * 2 ) ) / ( v . pixel_size * 8 ) fmt . Printf ( " \n " , v . text_rows ) fmt . Printf ( " \n " , v . text_cols ) }
change it to new model (no recalculate text_cols without color change)
change it to new model ( no recalculate text_cols without color change )
//v.text_cols = (640 - (uint32(v.Border_x_size) * 2)) / 8 // xxx - parametrize screen width //v.text_rows = (480 - (uint32(v.Border_y_size) * 2)) / 8 // xxx - parametrize screen height //if debug.gui { //}