had mkoptbl generate a unit
re-arranged memory so you can read/write the io buffer
got a simple bios working (it prints the letter 'A'! :)