All the females had white eyes. All the white eyed flies were males. Nothing was unusual. That the gene for eye color is on a chromosome. That the gene for eye color is on the X chromosome in Drosophila.
Chromosomes are unrelated to eye color in Drosophila.
The law of independent assortment 12 . Both are located on Chromosome 6 which is a long chromosome. A is at one end of 6 and B is at the other end of 6. Genes on the same chromosome do not follow the Law of Independent Assortment. The distance between X and B is 5 map units.