The Legend of Zelda was inspired by old-school Western RPGs, which weren't popular in Japan at the time. Taking inspiration from these foreign '80s PC games, and wanting to create a non-linear title that could use a save system, Nintendo fellow Shigeru Miyamoto came up with the idea for Link's adventure in Hyrule.
In an interview with Famitsu, that's been translated by GamesRadar+, Miyamoto talks about Nintendo's inspiration for both The Legend of Zelda and the Famicom Disc System. An add-on for Japan's version of the NES, the Famicom, the Disc System could play games that required more data via rewritable floppy discs. However, the hardware sadly never made its way over to the West.