Rewrite to be more friendly. Uses directly a continus chunk of address space, and redefined color palette. Added explicit formulas for setting pixels, attributes, etc...