// GUI-specific
// updates font cache by converting bits to bytes
// position - position of indyvidual byte in font bank
// val      - particular value
GUI-specific
updates font cache by converting bits to bytes
position - position of indyvidual byte in font bank
val      - particular value
// GUI - specific // updates font cache by converting bits to bytes // position - position of indyvidual byte in font bank // val - particular value
func updateFontCache(pos uint32, val byte) {
	pos = pos * 8
	for j := uint32(8); j > 0; j = j - 1 {		
		if (val & 1) == 1 {
			font[pos + j - 1] = 1
		} else {
			font[pos + j - 1] = 0
		}
		val = val >> 1
	}
}
func updateFontCache ( pos uint32 , val byte ) { pos = pos * 8 for j := uint32 ( 8 ) ; j > 0 ; j = j - 1 { if ( val & 1 ) == 1 { font [ pos + j - 1 ] = 1 } else { font [ pos + j - 1 ] = 0 } val = val >> 1 } }
GUI-specific
updates font cache by converting bits to bytes
position - position of indyvidual byte in font bank
val      - particular value
GUI - specific updates font cache by converting bits to bytes position - position of indyvidual byte in font bank val - particular value
// counting down spares from shifting val left