When we purchased our home, we asked the builder to build an extra room for us in the attic. He had already installed 1/2" OSB in part of this space to be used for storage. From the looks of it, he laid 2x4s on top of the 1/2" OSB, then installed the 3/4" sub floor.
The walls were not built...