keyboard handler stub and i/o registers and memory layout