Trying to convert a 40 year old ZX80 program.