Most likely a one off custom made bike, using a old engine and modern parts (inverted forks, disc brakes, etc.). Definately a XS 650 engine (4 stroke), not a RD (2 stroke), which Yamaha made for over 20 years, the engine in the picture appears to be a early version since it has a kickstarter on...