fixed obvious bug, redmine issue #539

fromRam == false should result in a pgm_read_byte, not the other way around.