Added external SDRAM driver, added some code for horizontal register reading