Improved A20 code. More formatting and comments.