Treasure of the rudras (EDIT: This is a Japanese SNES game. The Japanese title is Rudra no Hihou) has a spelling based magic system.
Every word you can think of is a spell, even random alphabetic...