Underground Exploration 1982 I guess it the first JRPG as in RPG developed in Japan. It used text for commands tho most if not all JRPGs in the early 80s were considered ARPGs. The bump system was popular. Famously games like Hydlide and Ys were popular at the time.
Ultima 1981 is one of the earliest WRPGs in video game form and was turn based. Of course, It's heavily taken from DnD.