GHOST KING is the first entry in the fictitious Scott Adams Literary Adventure Diversions (S.A.L.A.D.) series, not-actually-launched in 1980 to adapt classic tales to 8-bit microcomputer adventures. Based on Hamlet by William Shakespeare and the style of Scott Adams and Adventure International. —IFDB
Further details, plus an in-browser-playable DOS version, are at GhostKing.netlify.app.
See also the entry for Ghost King at the Interactive Fiction Database.
Ghost King was converted for use with BeebScott in 2021 by lurkio @ Stardot / ahope1 @ IntFiction.org.